LWG2720 implement filesystem::perms::symlink_nofollow
authorJonathan Wakely <jwakely@redhat.com>
Fri, 21 Oct 2016 17:01:05 +0000 (18:01 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 21 Oct 2016 17:01:05 +0000 (18:01 +0100)
commitd17f7088fbe9b7d159021d0442d174925df7b20d
tree8368472a50257c8a6a58991fb43b970d547507cc
parent2be921271333c81ec9fcf71ba49110bf23971d09
LWG2720 implement filesystem::perms::symlink_nofollow

* include/experimental/bits/fs_fwd.h (perms::resolve_symlinks):
Replace with symlink_nofollow (LWG 2720).
* src/filesystem/ops.cc (permissions(const path&, perms, error_code&)):
Handle symlink_nofollow.
* testsuite/experimental/filesystem/operations/create_symlink.cc: New
test.
* testsuite/experimental/filesystem/operations/permissions.cc: Test
overload taking error_code.

From-SVN: r241418
libstdc++-v3/ChangeLog
libstdc++-v3/include/experimental/bits/fs_fwd.h
libstdc++-v3/src/filesystem/ops.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/create_symlink.cc [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/filesystem/operations/permissions.cc