commit | 7ea928c452e2baaa929e5a078d796ece3720e765 | [log] [tgz] |
---|---|---|
author | Andrew M. Kuchling <amk@amk.ca> | Fri Nov 10 13:15:58 2006 +0000 |
committer | Andrew M. Kuchling <amk@amk.ca> | Fri Nov 10 13:15:58 2006 +0000 |
tree | 0fe66a8d275f0fd86ae1c9afd759b6fc530c3acf | |
parent | bb876b9c69f80c253621937ad734eafef3086e5f [diff] |
[Patch #1514543] mailbox (Maildir): avoid losing messages on name clash Two changes: Where possible, use link()/remove() to move files into a directory; this makes it easier to avoid overwriting an existing file. Use _create_carefully() to create files in tmp/, which uses O_EXCL.