[Bug libstdc++/38476] SIGSEGV on istream::read() in unbuffered mode
paolo dot carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Sat Dec 27 09:22:00 GMT 2008
------- Comment #2 from paolo dot carlini at oracle dot com 2008-12-27 09:21 -------
To clarify: I don't see anything in the Standard forbidding the use of
rdbuf()->sgetn in the implementation of istream::read. Actually, I would argue
is the natural choice for carrying out the core work. Then, however, everything
bis equivalent per the Standard to a series of sbumpc and uflow (not underflow)
must be provided by the user.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38476
More information about the Gcc-bugs
mailing list