]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib: file_create_locked() - Treat mkdir() EEXIST error as success
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 6 Jul 2017 10:24:31 +0000 (13:24 +0300)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Wed, 16 Aug 2017 07:57:50 +0000 (10:57 +0300)
commit6b0afefa3c57d09f6f8ef615873b2c5c366c20bf
tree731754b6b24d0d5b4dfa6e7283e44d5209c46cec
parenta9fc39fe95941be50c721f4f52163f318d83d483
lib: file_create_locked() - Treat mkdir() EEXIST error as success

This can happen in race conditions when multiple processes are mkdir()ing
the same directory. It shouldn't result in failure.
src/lib/file-create-locked.c