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: performance/ifstream_getline.cc goes into endless loop?


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

Attachment: pgp00000.pgp
Description: PGP signature


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