]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix typos in std::filesystem code
authorJonathan Wakely <jwakely@redhat.com>
Sat, 2 Oct 2021 20:18:19 +0000 (21:18 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 4 Oct 2023 11:10:03 +0000 (12:10 +0100)
commitf8d45f488c0b0c02eed6a1acb0386964b95189f8
tree192dd7bf1827b9dbf8359902684a39a7db6c6325
parent6ae7641a3e34dfb79f8538965b48e411d825b90f
libstdc++: Fix typos in std::filesystem code

There were a couple of typos in r12-4070 and r12-4071 which don't show
up when building for POSIX targets.

libstdc++-v3/ChangeLog:

* src/c++17/fs_ops.cc (create_directory): Fix typo in enum name.
* src/filesystem/ops-common.h (__last_system_error): Add
explicit cast to avoid narrowing conversion.
(do_space): Fix type in function name.

(cherry picked from commit b7848a2068b2579092e0b1bbe02bdb743eb7db26)
libstdc++-v3/src/c++17/fs_ops.cc
libstdc++-v3/src/filesystem/ops-common.h