aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-07-31 13:56:14 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2024-07-31 17:07:11 +0100
commitee4cc961ce399f2f3ac92fd711551677d61771da (patch)
treef02cbab56ef7f43647f64da5651fd08e22e4300d /gcc
parent5dd1f0d69f51dc6b290977503dcfb7734948e841 (diff)
downloadgcc-ee4cc961ce399f2f3ac92fd711551677d61771da.zip
gcc-ee4cc961ce399f2f3ac92fd711551677d61771da.tar.gz
gcc-ee4cc961ce399f2f3ac92fd711551677d61771da.tar.bz2
libstdc++: Handle strerror returning null
The linux man page for strerror says that some systems return NULL for an unknown error number. That violates the C and POSIX standards, but we can esily handle it to avoid a segfault. libstdc++-v3/ChangeLog: * src/c++11/system_error.cc (strerror_string): Handle non-conforming NULL return from strerror.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions