[dovecot/core] e1ec9e: fs-posix: Strip trailing "/" from filenames

GitHub noreply at github.com
Fri May 18 10:30:24 EEST 2018


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

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

  Log Message:
  -----------
  fs-posix: Strip trailing "/" from filenames

This is mainly because "doveadm fs delete -R" adds it to indicate to the
fs-driver that the whole directory is wanted to be deleted. This change
fixes fs-posix to work with NFS, where otherwise unlink("symlink-to-dir/")
fails with ENOTDIR. Without NFS the same call succeeds.


  Commit: 2351d4aeff7933652c599569e0b03f1cb9153182
      https://github.com/dovecot/core/commit/2351d4aeff7933652c599569e0b03f1cb9153182
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-05-18 (Fri, 18 May 2018)

  Changed paths:
    M src/lib-sql/sql-api.h

  Log Message:
  -----------
  lib-sql: Add comments about NULL values.


  Commit: 6a99a899b1da09ab20d0493f1a548a2b1c4369cc
      https://github.com/dovecot/core/commit/6a99a899b1da09ab20d0493f1a548a2b1c4369cc
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-05-18 (Fri, 18 May 2018)

  Changed paths:
    M src/lib-dict/dict-sql.c

  Log Message:
  -----------
  dict-sql: dict doesn't support NULL values, so convert SQL NULLs to ""


Compare: https://github.com/dovecot/core/compare/d507390d9942...6a99a899b1da
      **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