]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Fix filesystem::temp_directory_path [PR101709]
authorJonathan Wakely <jwakely@redhat.com>
Mon, 2 Aug 2021 14:52:41 +0000 (15:52 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 2 Aug 2021 15:33:44 +0000 (16:33 +0100)
commit38fb24ba4d67254cea78731fc8d961903dad9646
treeecfe14aa82cb148abde2bc5e562d8e4571d9cd81
parent2aaf69133f39f2409baa146e755a6c52eee4452f
libstdc++: Fix filesystem::temp_directory_path [PR101709]

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/ChangeLog:

PR libstdc++/101709
* src/filesystem/ops-common.h (get_temp_directory_from_env):
Add error_code parameter.
* src/c++17/fs_ops.cc (fs::temp_directory_path): Pass error_code
argument to get_temp_directory_from_env and check it.
* src/filesystem/ops.cc (fs::temp_directory_path): Likewise.
libstdc++-v3/src/c++17/fs_ops.cc
libstdc++-v3/src/filesystem/ops-common.h
libstdc++-v3/src/filesystem/ops.cc
This page took 0.059043 seconds and 5 git commands to generate.