------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-09-03 
10:15 -------
OK, it's worse than I thought. When you open a file with O_BINARY, it is opened
using Unix conventions, and you need to add yourself the \r in the right places.

Otherwise, you can use the Windows CRLF convention, but then lseek and ftruncate
are *not* usable. Not at all.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23262

Reply via email to