This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: gcc for WinNT
- To: "Ron G. Minnich" <rminnich at sarnoff dot com>
- Subject: Re: gcc for WinNT
- From: Jim Balter <jqb at netcom dot com>
- Date: Thu, 06 Mar 1997 20:10:45 -0800
- CC: Leong Kok Yong <kokyong at irdu dot nus dot sg>, gnu-win32 at cygnus dot com
- Organization: JQB Enterprises
- References: <Pine.SUN.3.91.970306124349.26909B-100000@terra>
Ron G. Minnich wrote:
>
> One thing I have seen: file i/o does not always works as it does on unix.
> For example, reading from a file, 1024 bytes at a time, with a file of
> 65536 bytes, will get me return values of:
> 1023, 1021, 1015, etc. Almost always 1024, but enough of these oddballs
> to cause trouble for programs that don't carefully check return values
> from read() (there are some of these ...). I had to fix the rtsp ref.
> port from realaudio to accomodate this strange read(2) behavior.
When reading in text mode, cygwin deletes CRs but neglects to read
more to fill out the buffer.
The chances are good that you don't want to be reading in text mode
in the first place.
--
<J Q B>
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".