diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2015-09-16 23:50:28 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2015-09-16 23:50:28 +0100 |
commit | 30362998612b17c3e016d0fc8f0b3b2ead666927 (patch) | |
tree | 3efd38e818c1d151333d9c0bfb7b3869ca9cec23 /gcc | |
parent | 4ec39494ac756ee9525371d2225f55f18200d8e0 (diff) | |
download | gcc-30362998612b17c3e016d0fc8f0b3b2ead666927.zip gcc-30362998612b17c3e016d0fc8f0b3b2ead666927.tar.gz gcc-30362998612b17c3e016d0fc8f0b3b2ead666927.tar.bz2 |
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.
From-SVN: r227836
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions