Re: [Mingw-w64-public] Short read mystery

2013-10-15 Thread Ozkan Sezer
On 10/16/13, Edscott Wilson edscott.wilson.gar...@gmail.com wrote: I've been banging my head against the monitor for the past nine hours and narrowed a problem down to the following. I've found that for certain data, the read() function will return a short byte count. Take the following

Re: [Mingw-w64-public] Short read mystery

2013-10-15 Thread niXman
Edscott Wilson писал 2013-10-16 03:07: I've been banging my head against the monitor for the past nine hours and narrowed a problem down to the following. I've found that for certain data, the read() function will return a short byte count. Take the following test file:

Re: [Mingw-w64-public] Short read mystery

2013-10-15 Thread マーズ
Greetings Edscott Wilson, In Unix, \r\n for a newline, versus '\n' in Windows? Maybe a unix2dos the file would put everything in perspective? Edscott Wilson wrote: I've been banging my head against the monitor for the past nine hours and narrowed a problem down to the following. I've found