clone 503968 -1
reopen -1
reassign -1 trn4 4.0-test76-15
thanks

On Wed, Oct 29, 2008 at 10:56:05PM +0000, Ben Harris wrote:
> Trn's technique for rewriting a local KILL file (kfile.c::rewrite_kfile()) 
> is as follows:
> 
>  * unlink old KILL file (still open)
>  * open new KILL file
>  * read lines from old KILL file, writing into new KILL file
>  * close both files
> 
> This is unsafe, in that any crash between the first and last steps will 
> lose the contents of the file.

This appears to be the case in trn4 as well, although your patch would
need some reworking to apply there. I'll look at this and get it
upstream.

Thanks,

-- 
Colin Watson                                       [[email protected]]



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

Reply via email to