diff options
author | Nikolaus Schulz <microschulz@web.de> | 2009-03-03 04:33:09 +0100 |
---|---|---|
committer | Nikolaus Schulz <microschulz@web.de> | 2010-07-19 01:13:25 +0200 |
commit | d706409c595a5994371d2b238b2a5e77be171f13 (patch) | |
tree | c875598f9e6a88274d195c1f50d257434fbabe2a /TODO | |
parent | d7265894143f3d6d5a23c5d4f8342957316b3c8d (diff) | |
download | archivemail-d706409c595a5994371d2b238b2a5e77be171f13.tar.gz archivemail-d706409c595a5994371d2b238b2a5e77be171f13.tar.bz2 archivemail-d706409c595a5994371d2b238b2a5e77be171f13.zip |
Switch mbox locking from flock(2) to posix lockf(2)
flock() locks aren't portable; lockf() locks are.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -6,12 +6,6 @@ Gracefully close IMAP connection upon unexptected error (currently archivemail just terminates). LOCKING & Co: -* switch to or add fcntl() locking; when combining with flock, be careful not to - break on Solaris/FreeBSD, where flock() is just fcntl() so using both would - block. -* Ensure that we don't accidently lose fcntl locks when closing some file - descriptor; this applies even for flock, since again, it might be emulated - with fcntl * Block signals while writing changed mailbox back. Also, we probably shouldn't use shutil.copy2() for this; at least we have to handle symlinked targets in a sane way, see Debian bug #349068. mbox_sync_mailbox() in the mutt code might |