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

GitHub noreply at github.com
Wed Jun 13 14:30:11 EEST 2018


  Branch: refs/heads/master-2.3
  Home:   https://github.com/dovecot/core
  Commit: cb1b482a45d844ce1815ad58e0a2dce01451bc3f
      https://github.com/dovecot/core/commit/cb1b482a45d844ce1815ad58e0a2dce01451bc3f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-06-13 (Wed, 13 Jun 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