[dovecot/core] 2eeca7: lib: file_create_locked() - Treat mkdir() EEXIST e...

GitHub noreply at github.com
Thu Jul 6 14:00:09 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 2eeca70fd1d9543ea856506e25ee9daf0efc33c7
      https://github.com/dovecot/core/commit/2eeca70fd1d9543ea856506e25ee9daf0efc33c7
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-07-06 (Thu, 06 Jul 2017)

  Changed paths:
    M src/lib/file-create-locked.c

  Log Message:
  -----------
  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.




More information about the dovecot-cvs mailing list