This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

Similar problem with DJGPP


 I had similar problem with DJGPP where LF --> CR LF conversion is being done 
when outputting text file. Initially workarounded (for gcc-3.0.X) it by 
removing calls to seekoff() and seekpos() in sync() (file std_fstream.h).
Later modified _M_really_overflow() in fstream.tcc to have similar seekoff()
and seekpos() to restore position correctly after output correctly even when
data length written into file are not equal with one in memory. Unfortunatelly 
latest changes for 3.1 broke this latest workaround. I didn't have a time to 
look into that more detailed again.

Andris


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