This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/67173] experimental/filesystem/operations/current_path.cc FAILs
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 16 Sep 2015 22:51:00 +0000
- Subject: [Bug libstdc++/67173] experimental/filesystem/operations/current_path.cc FAILs
- Auto-submitted: auto-generated
- References: <bug-67173-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67173
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Sep 16 22:50:28 2015
New Revision: 227836
URL: https://gcc.gnu.org/viewcvs?rev=227836&root=gcc&view=rev
Log:
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.
Added:
trunk/libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc
- copied, changed from r227835,
trunk/libstdc++-v3/testsuite/experimental/filesystem/operations/status.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/acinclude.m4
trunk/libstdc++-v3/config.h.in
trunk/libstdc++-v3/configure
trunk/libstdc++-v3/src/filesystem/ops.cc
trunk/libstdc++-v3/testsuite/experimental/filesystem/operations/absolute.cc
trunk/libstdc++-v3/testsuite/experimental/filesystem/operations/copy.cc
trunk/libstdc++-v3/testsuite/experimental/filesystem/operations/current_path.cc
trunk/libstdc++-v3/testsuite/experimental/filesystem/operations/exists.cc
trunk/libstdc++-v3/testsuite/experimental/filesystem/operations/file_size.cc
trunk/libstdc++-v3/testsuite/experimental/filesystem/operations/status.cc
trunk/libstdc++-v3/testsuite/experimental/filesystem/operations/temp_directory_path.cc