* [Bug libstdc++/38678] istream::read() calls streambuf::xsgetn()
2008-12-30 22:24 [Bug libstdc++/38678] New: istream::read() calls streambuf::xsgetn() sebor at roguewave dot com
@ 2008-12-31 0:08 ` paolo dot carlini at oracle dot com
2008-12-31 17:46 ` [Bug libstdc++/38678] istream::read() calls streambuf::sgetn() paolo dot carlini at oracle dot com
` (9 subsequent siblings)
10 siblings, 0 replies; 16+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-12-31 0:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from paolo dot carlini at oracle dot com 2008-12-31 00:06 -------
Ok, thanks.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle
|dot org |dot com
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-12-31 00:06:28
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38678
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libstdc++/38678] istream::read() calls streambuf::sgetn()
2008-12-30 22:24 [Bug libstdc++/38678] New: istream::read() calls streambuf::xsgetn() sebor at roguewave dot com
2008-12-31 0:08 ` [Bug libstdc++/38678] " paolo dot carlini at oracle dot com
@ 2008-12-31 17:46 ` paolo dot carlini at oracle dot com
2009-01-01 10:10 ` paolo at gcc dot gnu dot org
` (8 subsequent siblings)
10 siblings, 0 replies; 16+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-12-31 17:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from paolo dot carlini at oracle dot com 2008-12-31 17:44 -------
Note, istream::read currently calls streambuf::sgetn *not* streambuf::xsgetn,
because the latter is protected and in general would be incorrect calling it
anyway.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|istream::read() calls |istream::read() calls
|streambuf::xsgetn() |streambuf::sgetn()
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38678
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libstdc++/38678] istream::read() calls streambuf::sgetn()
2008-12-30 22:24 [Bug libstdc++/38678] New: istream::read() calls streambuf::xsgetn() sebor at roguewave dot com
2008-12-31 0:08 ` [Bug libstdc++/38678] " paolo dot carlini at oracle dot com
2008-12-31 17:46 ` [Bug libstdc++/38678] istream::read() calls streambuf::sgetn() paolo dot carlini at oracle dot com
@ 2009-01-01 10:10 ` paolo at gcc dot gnu dot org
2009-01-01 10:12 ` paolo dot carlini at oracle dot com
` (7 subsequent siblings)
10 siblings, 0 replies; 16+ messages in thread
From: paolo at gcc dot gnu dot org @ 2009-01-01 10:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from paolo at gcc dot gnu dot org 2009-01-01 10:09 -------
Subject: Bug 38678
Author: paolo
Date: Thu Jan 1 10:08:31 2009
New Revision: 142994
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142994
Log:
2009-01-01 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/38678
* include/std/istream (basic_istream<>::_M_read): New.
* include/bits/istream.tcc (basic_istream<>::_M_read): Define.
(basic_istream<>::read, basic_istream<>::readsome): Use it.
* include/std/ostream (basic_ostream<>::_M_write_): New.
(basic_ostream<>::_M_write): Adjust.
* include/bits/ostream.tcc (basic_ostream<>::_M_write_): Define.
* testsuite/27_io/basic_istream/read/char/38678.cc: New.
* testsuite/27_io/basic_istream/read/wchar_t/38678.cc: Likewise.
* testsuite/27_io/basic_ostream/write/char/38678.cc: Likewise.
* testsuite/27_io/basic_ostream/write/wchar_t/38678.cc: Likewise.
Added:
trunk/libstdc++-v3/testsuite/27_io/basic_istream/read/char/38678.cc
trunk/libstdc++-v3/testsuite/27_io/basic_istream/read/wchar_t/38678.cc
trunk/libstdc++-v3/testsuite/27_io/basic_ostream/write/char/38678.cc
trunk/libstdc++-v3/testsuite/27_io/basic_ostream/write/wchar_t/38678.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/istream.tcc
trunk/libstdc++-v3/include/bits/ostream.tcc
trunk/libstdc++-v3/include/std/istream
trunk/libstdc++-v3/include/std/ostream
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38678
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libstdc++/38678] istream::read() calls streambuf::sgetn()
2008-12-30 22:24 [Bug libstdc++/38678] New: istream::read() calls streambuf::xsgetn() sebor at roguewave dot com
` (2 preceding siblings ...)
2009-01-01 10:10 ` paolo at gcc dot gnu dot org
@ 2009-01-01 10:12 ` paolo dot carlini at oracle dot com
2009-01-03 22:37 ` [Bug libstdc++/38678] [DR XXX] " paolo dot carlini at oracle dot com
` (6 subsequent siblings)
10 siblings, 0 replies; 16+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-01-01 10:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from paolo dot carlini at oracle dot com 2009-01-01 10:10 -------
Fixed for 4.4.0.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38678
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libstdc++/38678] [DR XXX] istream::read() calls streambuf::sgetn()
2008-12-30 22:24 [Bug libstdc++/38678] New: istream::read() calls streambuf::xsgetn() sebor at roguewave dot com
` (3 preceding siblings ...)
2009-01-01 10:12 ` paolo dot carlini at oracle dot com
@ 2009-01-03 22:37 ` paolo dot carlini at oracle dot com
2009-01-03 22:37 ` paolo dot carlini at oracle dot com
` (5 subsequent siblings)
10 siblings, 0 replies; 16+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-01-03 22:37 UTC (permalink / raw)
To: gcc-bugs
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |SUSPENDED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38678
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libstdc++/38678] [DR XXX] istream::read() calls streambuf::sgetn()
2008-12-30 22:24 [Bug libstdc++/38678] New: istream::read() calls streambuf::xsgetn() sebor at roguewave dot com
` (4 preceding siblings ...)
2009-01-03 22:37 ` [Bug libstdc++/38678] [DR XXX] " paolo dot carlini at oracle dot com
@ 2009-01-03 22:37 ` paolo dot carlini at oracle dot com
2009-04-21 16:02 ` jakub at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 16+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-01-03 22:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from paolo dot carlini at oracle dot com 2009-01-03 22:37 -------
Changes reverted for now, consistently with the discussion:
http://gcc.gnu.org/ml/gcc-patches/2009-01/msg00004.html
Waiting for the resolution of a new DR (# to be added Summary).
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
Summary|istream::read() calls |[DR XXX] istream::read()
|streambuf::sgetn() |calls streambuf::sgetn()
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38678
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libstdc++/38678] [DR XXX] istream::read() calls streambuf::sgetn()
2008-12-30 22:24 [Bug libstdc++/38678] New: istream::read() calls streambuf::xsgetn() sebor at roguewave dot com
` (5 preceding siblings ...)
2009-01-03 22:37 ` paolo dot carlini at oracle dot com
@ 2009-04-21 16:02 ` jakub at gcc dot gnu dot org
2009-07-22 10:35 ` jakub at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-04-21 16:02 UTC (permalink / raw)
To: gcc-bugs
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.4.0 |4.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38678
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libstdc++/38678] [DR XXX] istream::read() calls streambuf::sgetn()
2008-12-30 22:24 [Bug libstdc++/38678] New: istream::read() calls streambuf::xsgetn() sebor at roguewave dot com
` (6 preceding siblings ...)
2009-04-21 16:02 ` jakub at gcc dot gnu dot org
@ 2009-07-22 10:35 ` jakub at gcc dot gnu dot org
2009-10-15 12:58 ` jakub at gcc dot gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-07-22 10:35 UTC (permalink / raw)
To: gcc-bugs
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.4.1 |4.4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38678
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libstdc++/38678] [DR XXX] istream::read() calls streambuf::sgetn()
2008-12-30 22:24 [Bug libstdc++/38678] New: istream::read() calls streambuf::xsgetn() sebor at roguewave dot com
` (7 preceding siblings ...)
2009-07-22 10:35 ` jakub at gcc dot gnu dot org
@ 2009-10-15 12:58 ` jakub at gcc dot gnu dot org
2010-01-21 13:16 ` jakub at gcc dot gnu dot org
2010-04-30 8:59 ` jakub at gcc dot gnu dot org
10 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-10-15 12:58 UTC (permalink / raw)
To: gcc-bugs
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.4.2 |4.4.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38678
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libstdc++/38678] [DR XXX] istream::read() calls streambuf::sgetn()
2008-12-30 22:24 [Bug libstdc++/38678] New: istream::read() calls streambuf::xsgetn() sebor at roguewave dot com
` (8 preceding siblings ...)
2009-10-15 12:58 ` jakub at gcc dot gnu dot org
@ 2010-01-21 13:16 ` jakub at gcc dot gnu dot org
2010-04-30 8:59 ` jakub at gcc dot gnu dot org
10 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-01-21 13:16 UTC (permalink / raw)
To: gcc-bugs
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.4.3 |4.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38678
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libstdc++/38678] [DR XXX] istream::read() calls streambuf::sgetn()
2008-12-30 22:24 [Bug libstdc++/38678] New: istream::read() calls streambuf::xsgetn() sebor at roguewave dot com
` (9 preceding siblings ...)
2010-01-21 13:16 ` jakub at gcc dot gnu dot org
@ 2010-04-30 8:59 ` jakub at gcc dot gnu dot org
10 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-04-30 8:59 UTC (permalink / raw)
To: gcc-bugs
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.4.4 |4.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38678
^ permalink raw reply [flat|nested] 16+ messages in thread