This is the mail archive of the
mailing list for the Cygwin project.
Re:File reading problem with -mno-cygwin
- From: <jdhagen at chorus dot net>
- To: cygwin at cygwin dot com
- Date: Wed, 4 Sep 2002 9:00:34 -0500
- Subject: Re:File reading problem with -mno-cygwin
As Corinna mentioned, opening the file in binary
mode would eliminate the problem.
The data file "sf" actually contains a byte 0x1A that
is interpreted in text mode on DOS / Windows
systems as end-of-file.
In binary mode, this won't be interpreted as end-
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html