[Cyrus-CVS] src/cyrus/imap by murch
murch at andrew.cmu.edu
murch at andrew.cmu.edu
Tue Sep 23 12:19:43 EDT 2008
Update of /afs/andrew/system/cvs/src/cyrus/imap
In directory unix12.andrew.cmu.edu:/var/tmp/cvs-serv6428
Modified Files:
append.c
Log Message:
Always unlink files.
>From Bron Gondwanda <brong at fastmail.fm>:
I did an audit of the uses of "open" where a file might still exist from a
previous crash and be hardlinked somewhere we care about. There was one more
location.
This patch just adds an unlink before the stage file gets created during
append_newstage. It's trivial and boring, but makes me feel safer about the
integrity of my possibly-hardlinked spool files!
--- links to diffs follow ---
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/append.c.diff?r1=1.114&r2=1.115
More information about the Cyrus-cvs
mailing list