GNU bug report logs - #23397
25.0.92; assertion failure auto-reverting a file being overwritten

Previous Next

Package: emacs;

Reported by: Ken Raeburn <raeburn <at> permabit.com>

Date: Thu, 28 Apr 2016 22:07:01 UTC

Severity: normal

Tags: confirmed

Found in versions 26.1, 25.0.92

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ken Raeburn <raeburn <at> permabit.com>
Cc: 23397 <at> debbugs.gnu.org
Subject: bug#23397: 25.0.92; assertion failure auto-reverting a file being overwritten
Date: Tue, 03 May 2016 18:15:37 +0300
> From: Ken Raeburn <raeburn <at> permabit.com>
> Cc: 23397 <at> debbugs.gnu.org
> Date: Mon, 02 May 2016 16:43:12 -0400
> 
> > If so, perhaps we should call 'fstat' again each time we want to use
> > st.st_size, and retry from the beginning if we find a mismatch?
> 
> If the file is large, and being frequently updated in small increments,
> that could delay us considerably, as we restart the process multiple
> times.

That is still better than aborting, right?




This bug report was last modified 4 years and 340 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.