libstdc++/9024: Input fails after call to basic_filebuf<>::pubsetbuf(0, 0)
Paolo Carlini
pcarlini@unitus.it
Sun Mar 2 21:26:00 GMT 2003
The following reply was made to PR libstdc++/9024; it has been noted by GNATS.
From: Paolo Carlini <pcarlini@unitus.it>
To: gcc-gnats@gcc.gnu.org, peturr02@ru.is, gcc-bugs@gcc.gnu.org,
paolo@gcc.gnu.org, gcc-prs@gcc.gnu.org
Cc: bkoz <bkoz@redhat.com>
Subject: Re: libstdc++/9024: Input fails after call to basic_filebuf<>::pubsetbuf(0,
0)
Date: Sun, 02 Mar 2003 22:16:30 +0100
A memo: while working on a fix for libstdc++/9423 (quite easy by itself),
finally seems obvious how to fix 9024: in _M_underflow_common add a
separate case for !__testget && !__testinit, which simply calls
_M_file.xsgetn(&__c, 1) and returns __ret = traits_type::to_int_type(__c).
Stay tuned!
Paolo.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9024
More information about the Gcc-prs
mailing list