bug-coreutils
[Top][All Lists]
Advanced

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

bug#12366: [gnu-prog-discuss] Writing unwritable files


From: Paolo Bonzini
Subject: bug#12366: [gnu-prog-discuss] Writing unwritable files
Date: Thu, 06 Sep 2012 18:38:46 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0

Il 06/09/2012 18:35, Paul Eggert ha scritto:
>> > A program that reads the target file will never
>> > be able to observe an intermediate result. 
> Sure, but that doesn't fix the race condition I
> mentioned.  If some other process is writing F
> while I run 'sed -i F', F is not replaced atomically.

How not so?

Paolo

> That's true even if the other process is another
> instance of 'sed'.






reply via email to

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