diff options
author | pme <pme@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-20 00:51:37 +0000 |
---|---|---|
committer | pme <pme@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-20 00:51:37 +0000 |
commit | 28d1822f98e2c7abd93ddd1b09804beb48a4fd07 (patch) | |
tree | c09ea194b64b4912fc54020b98174c0a8abf27bb /libstdc++-v3/testsuite | |
parent | 97445bdc146407bbcbbd45b630e19e67c806dc42 (diff) |
2001-11-19 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/Intro.3: More notes.
* docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
* include/bits/stl_algobase.h: Add doxygen hooks for functions.
* include/ext/hash_map: Add @file hook.
* include/ext/hash_set: Likewise.
* include/ext/rope: Likewise.
* include/ext/ropeimpl.h: Likewise.
* include/ext/slist: Likewise.
* include/ext/stl_hash_fun.h: Likewise.
* include/ext/stl_hashtable.h: Likewise.
* include/ext/stl_rope.h: Likewise.
* docs/html/17_intro/license.html: Remove "experimental" sentence.
* docs/html/19_diagnostics/howto.html: Document new verbose
terminate handler.
* testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
to more visible (closer to description) position.
* libsupc++/eh_type.cc: Formatting tweak.
* libsupc++/exception: Likewise.
* src/vterminate.cc: Likewise.
* docs/html/17_intro/porting.html: Regenerate.
* docs/html/faq/index.txt: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47193 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite')
-rw-r--r-- | libstdc++-v3/testsuite/27_io/filebuf.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libstdc++-v3/testsuite/27_io/filebuf.cc b/libstdc++-v3/testsuite/27_io/filebuf.cc index d6f9ddb14b0..5b7f086b45c 100644 --- a/libstdc++-v3/testsuite/27_io/filebuf.cc +++ b/libstdc++-v3/testsuite/27_io/filebuf.cc @@ -19,12 +19,16 @@ // USA. // NB: this test assumes that _M_buf_size == 40, and not the usual -// buffer_size length of 8092, so that overflow/underflow can be +// buffer_size length of BUFSIZ (8192), so that overflow/underflow can be // simulated a bit more readily. +// NRB (Nota Really Bene): setting it to 40 breaks the test, as intended. // @require@ %-*.tst %-*.txt // @diff@ %-*.tst %*.txt +const int buffer_size = 8192; +//const int buffer_size = 40; + #include <fstream> #include <iostream> #include <testsuite_hooks.h> @@ -46,8 +50,6 @@ derived_filebuf fb_01; // in derived_filebuf fb_02; // out derived_filebuf fb_03; // in | out -const int buffer_size = 8192; - // initialize filebufs to be the same size regardless of platform void test00() |