[patch] libstdc++/67173 Fix filesystem::canonical for Solaris 10.
Jonathan Wakely
jwakely@redhat.com
Wed Sep 16 22:50:00 GMT 2015
On 16/09/15 19:58 +0100, Jonathan Wakely wrote:
>commit ef25038796485298ff8f040bc79e0d9a371171fa
>Author: Jonathan Wakely <jwakely@redhat.com>
>Date: Wed Sep 16 18:07:32 2015 +0100
>
> 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.
Committed to trunk.
More information about the Libstdc++
mailing list