Add workaround for non-unique errno values on AIX
authorJonathan Wakely <jwakely@redhat.com>
Fri, 3 Aug 2018 12:53:34 +0000 (13:53 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 3 Aug 2018 12:53:34 +0000 (13:53 +0100)
commitd7487e2ae8666f071cb841a845e1e8770b4f9f67
treebbd49f77d9f7a7cb2957bf0f4730414eb945cace
parentc9f8fca6d677b01bd622b17a2a7acb2938a69e0a
Add workaround for non-unique errno values on AIX

* src/c++11/system_error.cc
(system_error_category::default_error_condition): Add workaround for
ENOTEMPTY and EEXIST having the same value on AIX.
* testsuite/19_diagnostics/error_category/system_category.cc: Add
extra testcases for EDOM, EILSEQ, ERANGE, EEXIST and ENOTEMPTY.

From-SVN: r263289
libstdc++-v3/ChangeLog
libstdc++-v3/src/c++11/system_error.cc
libstdc++-v3/testsuite/19_diagnostics/error_category/system_category.cc