|
I tried to see if I could reproduce this problem on Cygwin. My version of Cygwin doesn't have any locales so I tried to generate the en_US.UTF-8 locale using the stdcxx localedef program. I got this error:
nls$ ../bin/localedef -c -f /home/mbrown/stdcxx/etc/nls/charmaps/UTF-8 -i /home/mbrown/stdcxx/etc/nls/src/en_US en_US.UTF-8 This is specific to Linux (couldn't reproduce on Cygwin or Solaris).
Martin Sebor made changes - 19/Feb/07 11:24 PM
Reproduced reliably with gcc 4.1.1 on Linux/x86_64.
Martin Sebor made changes - 04/Jun/07 11:42 PM
Martin Sebor made changes - 04/Jun/07 11:42 PM
Martin Sebor made changes - 23/Aug/07 10:14 PM
Set Severity to Incorrect Behavior.
Martin Sebor made changes - 10/Dec/07 07:10 AM
I can't reproduce this with gcc 4.1.2 on Fedora Core 6, x86.
Couldn't reproduce with gcc 3.2.3-56 (tried 15s and 15S) on Red Hat EL 3 (Taroon Update 8) but reproduced it in a 15D buiold with gcc 4.1.0 on SuSE 10.0.
Next time though, before chasing this down, look at Disabled formatting and set Affects and Fix Version/s.
Martin Sebor made changes - 12/Mar/08 12:02 AM
Fixed by resolving
Martin Sebor made changes - 12/Mar/08 11:07 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
$ while [ $? -eq 0 ]; do ./t; done; true; while [ $? -eq 0 ]; do ./t; done
97 -1
97 -1
97 -1
97 -1
97 8
t: t.cpp:21: int main(): Assertion `std::wfilebuf::traits_type::eof () == c [1]' failed.
Aborted
97 -1
97 -1
97 -1
97 -1
97 -1
97 -1
97 104
: t.cpp:21: int main(): Assertion `std::wfilebuf::traits_type::eof () == c [1]' failed.
Aborted