]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/testsuite/19_diagnostics/system_error/what-1.cc
system_error (system_error::system_error(error_code), [...]): Fix for what() to retur...
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 16 Sep 2010 14:55:37 +0000 (14:55 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 16 Sep 2010 14:55:37 +0000 (14:55 +0000)
commitb5fbd147fe61d53f46dbf60fc1103ec01409c8b4
tree62c67233a98b4b2f7d6e793a4fc989df02ce2345
parent7d58b9e77aab0f4c8cd8f6eb4dc618b240325099
system_error (system_error::system_error(error_code), [...]): Fix for what() to return the NBTS recommended in the Note in 19.5.6.2/14.

2010-09-16  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/system_error (system_error::system_error(error_code),
system_error(error_code, const string&), system_error(int, const
error_category&), system_error(int, const error_category&,
const string&)): Fix for what() to return the NBTS recommended in
the Note in 19.5.6.2/14.
* testsuite/19_diagnostics/system_error/cons-1.cc: Adjust.
* testsuite/19_diagnostics/system_error/what-1.cc: Likewise.
* testsuite/19_diagnostics/system_error/what-2.cc: Likewise.
* testsuite/19_diagnostics/system_error/what-big.cc: Likewise.
* testsuite/19_diagnostics/system_error/what-3.cc: Likewise.

* testsuite/19_diagnostics/system_error/what-4.cc: Tidy includes.

From-SVN: r164339
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/system_error
libstdc++-v3/testsuite/19_diagnostics/system_error/cons-1.cc
libstdc++-v3/testsuite/19_diagnostics/system_error/what-1.cc
libstdc++-v3/testsuite/19_diagnostics/system_error/what-2.cc
libstdc++-v3/testsuite/19_diagnostics/system_error/what-3.cc
libstdc++-v3/testsuite/19_diagnostics/system_error/what-4.cc
libstdc++-v3/testsuite/19_diagnostics/system_error/what-big.cc