From 44e2ebadb2582936e4d6608e50ef234e22c89f87 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Tue, 21 Jun 2016 22:42:42 +0000 Subject: Implement LWG issue 2720. Replace perms::resolve_symlinks with perms::symlink_nofollow. This changes how filesystem::permissions(p, perms) handles symlinks. Previously symlinks were not resolved by default instead only getting resolved when "perms::resolve_symlinks" was used. After this change symlinks are resolved by default and perms::symlink_nofollow must be given to change this. This issue has not yet been moved to Ready status, and I will revert if it doesn't get moved at the current meeting. However I feel confident that it will and it's nice to have implementations when moving issues. llvm-svn: 273328 --- libcxx/test/std/experimental/filesystem/fs.enum/enum.perms.pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcxx/test/std/experimental/filesystem/fs.enum/enum.perms.pass.cpp') diff --git a/libcxx/test/std/experimental/filesystem/fs.enum/enum.perms.pass.cpp b/libcxx/test/std/experimental/filesystem/fs.enum/enum.perms.pass.cpp index a3589eb291f..c0b14ba4b9b 100644 --- a/libcxx/test/std/experimental/filesystem/fs.enum/enum.perms.pass.cpp +++ b/libcxx/test/std/experimental/filesystem/fs.enum/enum.perms.pass.cpp @@ -63,6 +63,6 @@ int main() { E::unknown == ME(0xFFFF) && E::add_perms == ME(0x10000) && E::remove_perms == ME(0x20000) && - E::resolve_symlinks == ME(0x40000), + E::symlink_nofollow == ME(0x40000), "Expected enumeration values do not match"); } -- cgit v1.2.3