[dovecot/core] 96df49: fs-posix: mkdir missing directory if it's changed ...

GitHub noreply at github.com
Thu May 3 17:00:20 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 96df493d6f72009927fbf25b1f26a9e2e663e7cc
      https://github.com/dovecot/core/commit/96df493d6f72009927fbf25b1f26a9e2e663e7cc
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-05-03 (Thu, 03 May 2018)

  Changed paths:
    M src/lib-fs/fs-posix.c

  Log Message:
  -----------
  fs-posix: mkdir missing directory if it's changed by FS_METADATA_WRITE_FNAME

The temp file is created to the initial directory. If the directory is
changed by FS_METADATA_WRITE_FNAME, the new destination directory didn't
necessarily exist. If the link() or rename() fails with ENOENT, try to
mkdir the missing directories.



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the dovecot-cvs mailing list