incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Farid Zaripov <>
Subject RE: test for
Date Wed, 12 Jul 2006 16:26:26 GMT
 > -----Original Message-----
 > From: Martin Sebor []
 > Sent: Wednesday, July 12, 2006 3:39 AM
 > To:
 > Subject: Re: test for
 > With the patch applied I get 120 failed assertions out of the
 > io test, all of them on lines 872 through 886. They all look
 > like they are due to the test expecting failbit for
 > insertions into the stream buffer that fail and the library
 > setting badbit. I think the library does the right thing and
 > the standard needs to be fixed to say that
 > operator<<(ostream&, string) a) is a Formatted Output
 > Function and b) should behave according to the requirements
 > on such functions and thus should set badbit and not failbit
 > when it fails to produce the expected output.

   I updated the test (failbit checking is replaced to the badbit 
checking). The updated diff in attach.


View raw message