Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test that symbolic links can end in '/'
This is obscure, but it is harmless. It simply means that the target of the symlink must be a directory (or symlink to a directory), otherwise opening the symlink will fail with ENOTDIR. Allowing non-symlink paths to end in '/' is also harmless: opendir_safe() will set the last path component to the empty string, and attempting to create a file, symlink, or directory with the empty string as a name will fail with ENOENT. (cherry picked from commit 9f78bc4)
- Loading branch information