diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index daf1b7bec45..e7106a9f46f 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2001-09-25 Phil Edwards + + * testsuite/21_strings/c_strings.cc (test01, test02): Increase + `carray' size. + 2001-09-25 Phil Edwards * docs/html/20_util/howto.html: Add anchor name. diff --git a/libstdc++-v3/testsuite/21_strings/c_strings.cc b/libstdc++-v3/testsuite/21_strings/c_strings.cc index 82f3f8fa6c0..63041779a83 100644 --- a/libstdc++-v3/testsuite/21_strings/c_strings.cc +++ b/libstdc++-v3/testsuite/21_strings/c_strings.cc @@ -33,7 +33,7 @@ void test01() const char* cc1 = &cc; const char* ccarray1 = "san francisco roof garden inspectors"; const char* ccarray2 = "san francisco sunny-day park inspectors"; - char carray[30]; + char carray[50]; std::strcpy(carray, ccarray1); void* v = carray; const void* cv = ccarray1; @@ -70,7 +70,7 @@ void test02() const char* ccarray1 = "san francisco roof garden inspectors"; const char* ccarray2 = "san francisco sunny-day park inspectors"; - char carray[30]; + char carray[50]; strcpy(carray, ccarray1); void* v = carray; const void* cv = ccarray1;