[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cyrus-cvs
Subject:    [Cyrus-CVS] src/cyrus/imap by murch
From:       murch () andrew ! cmu ! edu
Date:       2008-09-23 12:19:43
Message-ID: 200809231619.m8NGJh9L006433 () unix12 ! andrew ! cmu ! edu
[Download RAW message or body]

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@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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic