Hi,

> > There seems to be a race condition between faked and the fakeroot script
> > that may lead to not updating the save-file when fakeroot is called
> > with a single command as argument (or for the first command in a
> > list of commands):
> 
> What do you suggest?
>
Don't 'kill' the faked subprocess from the fakeroot script since
that will discard any messages still in the msg queue.
Instead make the '--cleanup' option of 'faked' send a termination
message through the queue so that all previous messages will have
been processed, when the faked process terminates. This will work
for both the sysv and the tcp variants.


Lothar Wassmann


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to