aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/config/locale
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@suse.de>2004-04-07 23:14:08 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2004-04-07 23:14:08 +0000
commitba98a8d81a0f323dc4fc6186d81d11b10801c1de (patch)
tree2a2dcecccd3c9ac54d8db2799f98b76f8aff0ae5 /libstdc++-v3/config/locale
parent42b343d613c96ba2e8bd9bdcf6c8c56528a4154f (diff)
downloadgcc-ba98a8d81a0f323dc4fc6186d81d11b10801c1de.zip
gcc-ba98a8d81a0f323dc4fc6186d81d11b10801c1de.tar.gz
gcc-ba98a8d81a0f323dc4fc6186d81d11b10801c1de.tar.bz2
time_members.cc (__timepunct<char>::_M_initialize_timepunct, [...]): the correct _M_amonth07 in the "C" locale is "Jul" and L"Jul", respectively.
2004-04-07 Paolo Carlini <pcarlini@suse.de> * config/locale/generic/time_members.cc (__timepunct<char>::_M_initialize_timepunct, __timepunct<wchar_t>::_M_initialize_timepunct): the correct _M_amonth07 in the "C" locale is "Jul" and L"Jul", respectively. * config/locale/gnu/time_members.cc (__timepunct<char>::_M_initialize_timepunct, __timepunct<wchar_t>::_M_initialize_timepunct): Ditto. * testsuite/22_locale/time_get/get_monthname/char/4.cc: New. * testsuite/22_locale/time_get/get_monthname/wchar_t/4.cc: New. * testsuite/22_locale/time_get/date_order/char/1.cc: Remove junk. * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Ditto. * testsuite/22_locale/time_get/get_date/char/1.cc: Ditto. * testsuite/22_locale/time_get/get_date/char/2.cc: Ditto. * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Ditto. * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Ditto. * testsuite/22_locale/time_get/get_monthname/char/1.cc: Ditto. * testsuite/22_locale/time_get/get_monthname/char/2.cc: Ditto. * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Ditto. * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Ditto. * testsuite/22_locale/time_get/get_time/char/1.cc: Ditto. * testsuite/22_locale/time_get/get_time/char/2.cc: Ditto. * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Ditto. * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Ditto. * testsuite/22_locale/time_get/get_weekday/char/1.cc: Ditto. * testsuite/22_locale/time_get/get_weekday/char/2.cc: Ditto. * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Ditto. * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Ditto. * testsuite/22_locale/time_get/get_year/char/1.cc: Ditto. * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Ditto. * testsuite/22_locale/time_put/put/char/1.cc: Ditto. * testsuite/22_locale/time_put/put/char/2.cc: Ditto. * testsuite/22_locale/time_put/put/char/3.cc: Ditto. * testsuite/22_locale/time_put/put/char/4.cc: Ditto. * testsuite/22_locale/time_put/put/char/5.cc: Ditto. * testsuite/22_locale/time_put/put/char/6.cc: Ditto. * testsuite/22_locale/time_put/put/char/7.cc: Ditto. * testsuite/22_locale/time_put/put/char/8.cc: Ditto. * testsuite/22_locale/time_put/put/wchar_t/1.cc: Ditto. * testsuite/22_locale/time_put/put/wchar_t/2.cc: Ditto. * testsuite/22_locale/time_put/put/wchar_t/3.cc: Ditto. * testsuite/22_locale/time_put/put/wchar_t/4.cc: Ditto. * testsuite/22_locale/time_put/put/wchar_t/5.cc: Ditto. * testsuite/22_locale/time_put/put/wchar_t/6.cc: Ditto. * testsuite/22_locale/time_put/put/wchar_t/7.cc: Ditto. * testsuite/22_locale/time_put/put/wchar_t/8.cc: Ditto. * testsuite/22_locale/time_put/put/char/9780-1.cc: Fix typos. From-SVN: r80493
Diffstat (limited to 'libstdc++-v3/config/locale')
-rw-r--r--libstdc++-v3/config/locale/generic/time_members.cc6
-rw-r--r--libstdc++-v3/config/locale/gnu/time_members.cc6
2 files changed, 6 insertions, 6 deletions
diff --git a/libstdc++-v3/config/locale/generic/time_members.cc b/libstdc++-v3/config/locale/generic/time_members.cc
index 3574a84..6e2f755 100644
--- a/libstdc++-v3/config/locale/generic/time_members.cc
+++ b/libstdc++-v3/config/locale/generic/time_members.cc
@@ -1,6 +1,6 @@
// std::time_get, std::time_put implementation, generic version -*- C++ -*-
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -108,7 +108,7 @@ namespace std
_M_data->_M_amonth04 = "Apr";
_M_data->_M_amonth05 = "May";
_M_data->_M_amonth06 = "Jun";
- _M_data->_M_amonth07 = "July";
+ _M_data->_M_amonth07 = "Jul";
_M_data->_M_amonth08 = "Aug";
_M_data->_M_amonth09 = "Sep";
_M_data->_M_amonth10 = "Oct";
@@ -187,7 +187,7 @@ namespace std
_M_data->_M_amonth04 = L"Apr";
_M_data->_M_amonth05 = L"May";
_M_data->_M_amonth06 = L"Jun";
- _M_data->_M_amonth07 = L"July";
+ _M_data->_M_amonth07 = L"Jul";
_M_data->_M_amonth08 = L"Aug";
_M_data->_M_amonth09 = L"Sep";
_M_data->_M_amonth10 = L"Oct";
diff --git a/libstdc++-v3/config/locale/gnu/time_members.cc b/libstdc++-v3/config/locale/gnu/time_members.cc
index 62dc843..a8e9687 100644
--- a/libstdc++-v3/config/locale/gnu/time_members.cc
+++ b/libstdc++-v3/config/locale/gnu/time_members.cc
@@ -1,6 +1,6 @@
// std::time_get, std::time_put implementation, GNU version -*- C++ -*-
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -117,7 +117,7 @@ namespace std
_M_data->_M_amonth04 = "Apr";
_M_data->_M_amonth05 = "May";
_M_data->_M_amonth06 = "Jun";
- _M_data->_M_amonth07 = "July";
+ _M_data->_M_amonth07 = "Jul";
_M_data->_M_amonth08 = "Aug";
_M_data->_M_amonth09 = "Sep";
_M_data->_M_amonth10 = "Oct";
@@ -265,7 +265,7 @@ namespace std
_M_data->_M_amonth04 = L"Apr";
_M_data->_M_amonth05 = L"May";
_M_data->_M_amonth06 = L"Jun";
- _M_data->_M_amonth07 = L"July";
+ _M_data->_M_amonth07 = L"Jul";
_M_data->_M_amonth08 = L"Aug";
_M_data->_M_amonth09 = L"Sep";
_M_data->_M_amonth10 = L"Oct";