This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] To filebuf::underflow vs codecvt::in
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>, Michael Matz <matz at suse dot de>
- Date: Tue, 27 Mar 2007 11:31:25 +0200
- Subject: Re: [Patch] To filebuf::underflow vs codecvt::in
- References: <4608E1F7.60203@suse.de>
this issue has been reported to the Novell Bugzilla: the fix seems easy,
just don't call codecvt::in when eof is reached and there are no chars
to convert. Apparently this kind of behavior can be seen also in other
implementations. Tested x86-linux, will wait till the endo of today
before committing to mainline.
Thanks for this.
Looks good to me!
-benjamin