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: [Patch] Fix libstdc++/9826


On Tue, 25 Feb 2003 22:04:52 +0100
Paolo Carlini <pcarlini at unitus dot it> wrote:

>... sorry: the previous patch has a typo in the 3rd testcase.

2003-02-25  Paolo Carlini  <pcarlini at unitus dot it>

	PR libstdc++/9826
	* include/bits/istream.tcc (operator>>(_CharT*),
	operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
	* testsuite/27_io/stringstream.cc (test02): Add.

	* include/bits/istream.tcc (operator>>(_CharT*)):
	Assign a char_type to *__s.


Looks great, thanks Paolo. Please put this in both branches.  

I thought all the char_traits fixes were in, but apparently a couple
places were missed. (I'm not quite sure how, as all these classes are
checked for instantiating POD traits classes in the testsuite....)

-benjamin


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