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

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