delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/03/06/19:40:03

From: rminnich AT sarnoff DOT com ("Ron G. Minnich")
Subject: Re: gcc for WinNT
6 Mar 1997 19:40:03 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <Pine.SUN.3.91.970306124349.26909B-100000.cygnus.gnu-win32@terra>
Mime-Version: 1.0
X-Sender: rminnich AT terra
Original-To: Leong Kok Yong <kokyong AT irdu DOT nus DOT sg>
Original-cc: gnu-win32 AT cygnus DOT com
In-Reply-To: <Pine.SOL.3.95.970306155508.11730P-100000@mirage>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

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.

ron

Ron Minnich                |"Failure is not an option" -- Gene Kranz
rminnich AT sarnoff DOT com       | -- except, of course, on Microsoft products
(609)-734-3120             |
ftp://ftp.sarnoff.com/pub/mnfs/www/docs/cluster.html 


-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019