c_strings.cc (test01, test02): Increase `carray' size.
authorPhil Edwards <pme@gcc.gnu.org>
Wed, 26 Sep 2001 01:45:49 +0000 (01:45 +0000)
committerPhil Edwards <pme@gcc.gnu.org>
Wed, 26 Sep 2001 01:45:49 +0000 (01:45 +0000)
2001-09-25  Phil Edwards  <pme@gcc.gnu.org>

* testsuite/21_strings/c_strings.cc (test01, test02):  Increase
`carray' size.

From-SVN: r45817

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/21_strings/c_strings.cc

index daf1b7bec4540ebc634f9433687cfcf5fec750a5..e7106a9f46f4c900c09af20a95762aad88d9e566 100644 (file)
@@ -1,3 +1,8 @@
+2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
+
+       * testsuite/21_strings/c_strings.cc (test01, test02):  Increase
+       `carray' size.
+
 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
 
        * docs/html/20_util/howto.html:  Add anchor name.
index 82f3f8fa6c037a6b3b589f98f479af592aa8c76f..63041779a83422c11a5dddfa7dc237b5c004cb41 100644 (file)
@@ -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;