[Patch] Fix istream::ignore + minor things

Paolo Carlini pcarlini@suse.de
Tue May 25 13:02:00 GMT 2004


Paolo Carlini wrote:

> Took the occasion to tweak a few other bits, tighten some testcases
> and add a new one.

Sorry, the patch as posted would fix a subtle corner case in getline...
but would cause regression on another ;) : in the computation of the
std::min, __n - _M_gcount must be __n - _M_gcount - 1.

The below is the correct one, that I would like to apply on mainline
tomorrow morning.

Paolo.

/////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_istream_2
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040525/96da8b1e/attachment.ksh>


More information about the Libstdc++ mailing list