This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Fw: fwrite/fread problem
- To: "Mitch English" <i166224 at thegrid dot net>
- Subject: Re: Fw: fwrite/fread problem
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Tue, 12 May 1998 14:36:43 -0500
- Cc: gnu-win32 at cygnus dot com
Mitch,
You need to specify the binary flag to get things to work correctly.
ReaderBinary should be "rb", WriterBinary "wb+" etc.
OpenNT quite possibly forces all I/O to be binary, so it works correctly.
I know UWIN does it that way.
Mumit
ps: It whould be nice if you could keep your email free of the HTML crud
which is unnecessary and quite annoying.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".