]> 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>
Sat, 2 Oct 2021 20:20:05 +0000 (21:20 +0100)
commitb7848a2068b2579092e0b1bbe02bdb743eb7db26
treea305c3735b72a19fef11a014c3357c17c3bf7025
parent6c0dd02964a624c65859808f9a40721c3796319a
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.
libstdc++-v3/src/c++17/fs_ops.cc
libstdc++-v3/src/filesystem/ops-common.h