stack overflow bug in ofstream::operator<

2005-06-28 Thread Scott McPeak
I believe there is a bug in the cygwin DLL that causes a stack overflow segmentation fault when ofstream::operator<< is used to write a string that is longer than 2MB. Attached is a simple program, writen.cc, that will create an ofstream and write a string of user-specified length to it. When tha

stack overflow bug in ofstream::operator<

2005-06-28 Thread Scott McPeak
I believe there is a bug in the cygwin DLL that causes a stack overflow segmentation fault when ofstream::operator<< is used to write a string that is longer than 2MB. Attached is a simple program, writen.cc, that will create an ofstream and write a string of user-specified length to it. When tha