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

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