performance/ifstream_getline.cc goes into endless loop?

Andreas Jaeger aj@suse.de
Sun Jun 22 05:05:00 GMT 2003


The file uses:
  const char* name = "/usr/share/dict/linux.words";

but this file does not exist on my system.  It seems that the test
goes into an endless loop if the file does not exist - can one of you
libstdc++ experts look whether we have a real bug in the library here?

Changing the name to a file that does exist (just words not
linux.words) the test passes in seconds,

Andreas
-- 
 Andreas Jaeger, SuSE Linux AG, aj@suse.de, http://www.suse.de/~aj
  GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20030622/d6b8ba65/attachment.sig>


More information about the Libstdc++ mailing list