bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18141: 24.4.50; saving .gz file breaks file coding


From: Eli Zaretskii
Subject: bug#18141: 24.4.50; saving .gz file breaks file coding
Date: Fri, 08 Aug 2014 08:51:52 +0300

> From: Stefan Monnier <address@hidden>
> Cc: address@hidden,  address@hidden,  address@hidden,  address@hidden
> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]