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 f

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: http://

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

2013-10-15 Thread Ozkan Sezer
On 10/16/13, 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 that for certain data, the read() function will return a short > byte count. > > Take the following test file: http://xffm.org/te

[Mingw-w64-public] Short read mystery

2013-10-15 Thread Edscott Wilson
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: http://xffm.org/test.dbh and compile and execute the following pr