This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Strategy for 9533


Pétur Runólfsson wrote:

Excellent, except I think III should be called from
filebuf::showmanyc, not filebuf::open so ifstream::readsome doesn't
stop after BUFSIZ characters, as in the original fix for 6746.

Specifically, when the testcase stops, in.rdbuf()->in_avail() is zero, therefore
there is nothing wrong with both the old and the new behaviour.


Otherwise, explain in better detail which alternate solution you are suggesting.

Paolo.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]