]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/config.h.in
Implement filesystem::canonical() without realpath
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Sep 2015 22:50:28 +0000 (22:50 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Sep 2015 22:50:28 +0000 (22:50 +0000)
commitfc466aaf502c24648003a55c0f7a30ff56fdc420
tree3efd38e818c1d151333d9c0bfb7b3869ca9cec23
parent22c5bcc6d784aa4a4d392ce319ddee5e90d6be79
Implement filesystem::canonical() without realpath

PR libstdc++/67173
* acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check _XOPEN_VERSION
and PATH_MAX for _GLIBCXX_USE_REALPATH.
* config.h.in: Regenerate.
* configure: Regenerate.
* src/filesystem/ops.cc: (canonical) [!_GLIBCXX_USE_REALPATH]: Add
alternative implementation.
* testsuite/experimental/filesystem/operations/canonical.cc: New.
* testsuite/experimental/filesystem/operations/exists.cc: Add more
tests.
* testsuite/experimental/filesystem/operations/absolute.cc: Add test
variables.
* testsuite/experimental/filesystem/operations/copy.cc: Likewise.
* testsuite/experimental/filesystem/operations/current_path.cc:
Likewise.
* testsuite/experimental/filesystem/operations/file_size.cc: Likewise.
* testsuite/experimental/filesystem/operations/status.cc: Likewise.
* testsuite/experimental/filesystem/operations/temp_directory_path.cc:
Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227836 138bc75d-0d04-0410-961f-82ee72b054a4
13 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/acinclude.m4
libstdc++-v3/config.h.in
libstdc++-v3/configure
libstdc++-v3/src/filesystem/ops.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/absolute.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/filesystem/operations/copy.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/current_path.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/exists.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/file_size.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/status.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/temp_directory_path.cc