[Patch] Fix libstdc++/11389

Paolo Carlini pcarlini@unitus.it
Tue Jul 1 15:58:00 GMT 2003


Hi,

in a sense this is a regression: the fix for 9178 made difficult
to read long encoding() == 0 files containing only single byte
chars. The below restores the previous behaviour for that case,
while keeping the possibility to read any encoding() > 0 file.

Of course much more work is needed in the area but this little
step doesn't hurt...

Tested x86-linux, ok with everyone?

Paolo.

//////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_11389
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20030701/26b2c550/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_11389
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20030701/26b2c550/attachment-0001.ksh>


More information about the Libstdc++ mailing list