This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Fw: fwrite/fread problem


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]