Blame SOURCES/0022-libstdc++-revert-behavior.patch

31df50
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get_date/char/12791.cc b/libstdc++-v3/testsuite/22_locale/time_get/get_date/char/12791.cc
31df50
index fa740b42b88..5d808ee51ee 100644
31df50
--- a/libstdc++-v3/testsuite/22_locale/time_get/get_date/char/12791.cc
31df50
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get_date/char/12791.cc
31df50
@@ -39,14 +39,14 @@ void test01()
31df50
   const ios_base::iostate good = ios_base::goodbit;
31df50
   ios_base::iostate errorstate = good;
31df50
 
31df50
-  iss.str("62/04/71");
31df50
+  iss.str("60/04/71");
31df50
   iterator_type is_it01(iss);
31df50
   tm time01;
31df50
   errorstate = good;
31df50
   iterator_type ret01 = tim_get.get_date(is_it01, end, iss, errorstate,
31df50
 					 &time01);
31df50
   VERIFY( errorstate == ios_base::failbit );
31df50
-  VERIFY( *ret01 == '2' );
31df50
+  VERIFY( *ret01 == '6' );
31df50
 
31df50
   iss.str("04/38/71");
31df50
   iterator_type is_it02(iss);
31df50
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get_date/wchar_t/12791.cc b/libstdc++-v3/testsuite/22_locale/time_get/get_date/wchar_t/12791.cc
31df50
index 07f4c369e58..c975c8523d8 100644
31df50
--- a/libstdc++-v3/testsuite/22_locale/time_get/get_date/wchar_t/12791.cc
31df50
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get_date/wchar_t/12791.cc
31df50
@@ -40,14 +40,14 @@ void test01()
31df50
   const ios_base::iostate good = ios_base::goodbit;
31df50
   ios_base::iostate errorstate = good;
31df50
 
31df50
-  iss.str(L"62/04/71");
31df50
+  iss.str(L"60/04/71");
31df50
   iterator_type is_it01(iss);
31df50
   tm time01;
31df50
   errorstate = good;
31df50
   iterator_type ret01 = tim_get.get_date(is_it01, end, iss, errorstate,
31df50
 					 &time01);
31df50
   VERIFY( errorstate == ios_base::failbit );
31df50
-  VERIFY( *ret01 == L'2' );
31df50
+  VERIFY( *ret01 == L'6' );
31df50
 
31df50
   iss.str(L"04/38/71");
31df50
   iterator_type is_it02(iss);
31df50
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get_year/char/1.cc b/libstdc++-v3/testsuite/22_locale/time_get/get_year/char/1.cc
31df50
index e6f53de4a55..c9d9896a6c0 100644
31df50
--- a/libstdc++-v3/testsuite/22_locale/time_get/get_year/char/1.cc
31df50
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get_year/char/1.cc
31df50
@@ -76,8 +76,8 @@ void test01()
31df50
   errorstate = good;
31df50
   iterator_type ret03 = tim_get.get_year(is_it03, end, iss, errorstate,
31df50
 					 &time03);
31df50
-  VERIFY( time03.tm_year == 197 - 1900 );
31df50
-  VERIFY( errorstate == good );
31df50
+  VERIFY( time03.tm_year == 3 );
31df50
+  VERIFY( errorstate == ios_base::failbit );
31df50
   VERIFY( *ret03 == 'd' );
31df50
 
31df50
   iss.str("71d71");
31df50
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get_year/wchar_t/1.cc b/libstdc++-v3/testsuite/22_locale/time_get/get_year/wchar_t/1.cc
31df50
index ba95fb91520..e17712098f4 100644
31df50
--- a/libstdc++-v3/testsuite/22_locale/time_get/get_year/wchar_t/1.cc
31df50
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get_year/wchar_t/1.cc
31df50
@@ -76,8 +76,8 @@ void test01()
31df50
   errorstate = good;
31df50
   iterator_type ret03 = tim_get.get_year(is_it03, end, iss, errorstate,
31df50
 					 &time03);
31df50
-  VERIFY( time03.tm_year == 197 - 1900 );
31df50
-  VERIFY( errorstate == good );
31df50
+  VERIFY( time03.tm_year == 3 );
31df50
+  VERIFY( errorstate == ios_base::failbit );
31df50
   VERIFY( *ret03 == L'd' );
31df50
 
31df50
   iss.str(L"71d71");