www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-Id: | <200209041400.g84E0T2H015234@im1.sec.tds.net> |
X-Originating-IP: | [64.238.239.186] |
From: | <jdhagen AT chorus DOT net> |
To: | cygwin AT cygwin DOT com |
Subject: | Re:File reading problem with -mno-cygwin |
Date: | Wed, 4 Sep 2002 9:00:34 -0500 |
MIME-Version: | 1.0 |
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- of-file. Joe -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |