GNU bug report logs - #18141
24.4.50; saving .gz file breaks file coding

Previous Next

Package: emacs;

Reported by: Katsumi Yamaoka <yamaoka <at> jpl.org>

Date: Tue, 29 Jul 2014 07:01:02 UTC

Severity: important

Found in version 24.4.50

Fixed in version 24.3.93

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #76 received at 18141 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: rgm <at> gnu.org, 18141 <at> debbugs.gnu.org, vincent <at> vinc17.net, yamaoka <at> jpl.org
Subject: Re: bug#18141: 24.4.50; saving .gz file breaks file coding
Date: Fri, 08 Aug 2014 08:51:52 +0300
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: rgm <at> gnu.org,  18141 <at> debbugs.gnu.org,  vincent <at> vinc17.net,  yamaoka <at> jpl.org
> Date: Thu, 07 Aug 2014 16:43:05 -0400
> 
> > I think users generally expect this to be a transaction.  And at least
> > on Posix platforms, where rename is an atomic operation, we can
> > achieve this, or come pretty close.
> 
> I think the time-window is inevitable as long as we do "move first, then
> write the new file".  Of course, we could do it the "precious"
> way instead (i.e. write the new file first and then do the needed
> link&unlink to move it into place).

Yes, I meant the latter method.




This bug report was last modified 10 years and 347 days ago.

Previous Next


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