[dovecot/core] 0a814f: fs-posix: Strip trailing "/" from filenames
GitHub
noreply at github.com
Wed May 16 14:30:13 EEST 2018
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 0a814fb856924ca26abbbd79fe1c9fcfceb0c318
https://github.com/dovecot/core/commit/0a814fb856924ca26abbbd79fe1c9fcfceb0c318
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-05-16 (Wed, 16 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.
**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