delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/03/07/00:40:49

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: gcc for WinNT
7 Mar 1997 00:40:49 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <01BC2AE7.32AD2030.cygnus.gnu-win32@gater.krystalbank.msk.ru>
Original-To: "'Ron G. Minnich'" <rminnich AT sarnoff DOT com>
Original-Cc: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>
Encoding: 13 TEXT
Original-Sender: owner-gnu-win32 AT cygnus DOT com

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 

You should open the file in binary mode.

-- 
Sergey Okhapkin
Moscow, Russia
Looking for a job.


-
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