TString::Readline crashes

From: mayer@ik1.fzk.de
Date: Wed Oct 28 1998 - 13:50:41 MET


Dear rooters ..

Whats wrong with the following test program? It crashes under DEC/OSF (root 2.012) 
after having read the first line of an arbitrary ascii file. Hitting the return key
again, or starting it a second time, it runs.

Regards      Hajo

{
gROOT.Reset();
G__loadfile("iostream.h");
TString buffer;
  ifstream crif("text.car");

  while (!crif.eof()) {
  
    buffer.ReadLine(crif);
    printf(" %s\n",buffer.Data());

  }
}



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:39 MET