diff options
author | Paolo Carlini <pcarlini@unitus.it> | 2003-06-02 17:53:14 +0200 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2003-06-02 15:53:14 +0000 |
commit | f275a768ab0643ce27b67ed90923848011a39bc3 (patch) | |
tree | 068a18d4cc199520d20c6318a98d4ee873ac09b0 | |
parent | 4d49ef0cc3b632cacd02f5d8e3adc3ec53c89ec9 (diff) | |
download | gcc-f275a768ab0643ce27b67ed90923848011a39bc3.zip gcc-f275a768ab0643ce27b67ed90923848011a39bc3.tar.gz gcc-f275a768ab0643ce27b67ed90923848011a39bc3.tar.bz2 |
3.cc: Tweak line spacing.
2003-06-02 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
line spacing.
From-SVN: r67336
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/3.cc | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 8667281..60347aa 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,10 @@ 2003-06-02 Paolo Carlini <pcarlini@unitus.it> + * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak + line spacing. + +2003-06-02 Paolo Carlini <pcarlini@unitus.it> + * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg instead of unnecessarily taking the address of _M_pback. (xsgetn): Simplify slightly for a single char pback buffer. 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 f0973b0..46cbced 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, |