5.cc: Make buf static.
* 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. From-SVN: r94719
This commit is contained in:
parent
231b2fccf5
commit
a47add838e
@ -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.
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user