diff options
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/5.cc | 2 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 15e9405..24aaa2c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2005-02-07 Loren J. Rittle <ljrittle@acm.org> + + * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static. + * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and + src static. + 2005-02-02 Brad Spencer <spencer@infointeractive.com> * debug.html: Fix broken tags. diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/5.cc b/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/5.cc index 999befe..f83ce05 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/5.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/5.cc @@ -44,7 +44,7 @@ check(wistream& stream, const wstring& str, unsigned nchunks, wchar_t delim) { bool test __attribute__((unused)) = true; - wchar_t buf[1000000]; + static wchar_t buf[1000000]; wstring::size_type index = 0, index_new = 0; unsigned n = 0; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc index e0eb8de..ad78df2 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc @@ -30,10 +30,10 @@ void test01() const unsigned max_size = 1 << 18; - wchar_t ref[max_size]; + static wchar_t ref[max_size]; wmemset(ref, L'\0', max_size); - wchar_t src[max_size * 2]; + static wchar_t src[max_size * 2]; wmemset(src, L'\1', max_size * 2); for (unsigned i = 128; i <= max_size; i *= 2) |