diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 86672813d1e..60347aa9acd 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2003-06-02 Paolo Carlini + + * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak + line spacing. + 2003-06-02 Paolo Carlini * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/3.cc index f0973b073e3..46cbcedf547 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/3.cc @@ -32,6 +32,7 @@ void test01() strb_01.sputn("broken peak", 11); pos_type pt_1 = strb_01.pubseekoff(0, ios_base::end, ios_base::out); + // In general, according to 27.7.1.3,14, the below has undefined // behaviour since pt_1 + off_type(1) doesn't come from a // previous pubseekpos or pubseekoff. However, given v3 implementation,