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 |
To: | cygwin AT cygwin DOT com |
X-Injected-Via-Gmane: | http://gmane.org/ |
Path: | not-for-mail |
From: | Andrew DeFaria <Andrew AT DeFaria DOT com> |
Subject: | Re: File reading problem with -mno-cygwin |
Date: | Wed, 04 Sep 2002 08:25:22 -0700 |
Lines: | 15 |
Message-ID: | <3D7625E2.8040109@DeFaria.com> |
References: | <200209041400 DOT g84E0T2H015234 AT im1 DOT sec DOT tds DOT net> |
NNTP-Posting-Host: | dsl-64-195-250-225.telocity.com |
Mime-Version: | 1.0 |
X-Trace: | main.gmane.org 1031153162 32420 64.195.250.225 (4 Sep 2002 15:26:02 GMT) |
X-Complaints-To: | usenet AT main DOT gmane DOT org |
NNTP-Posting-Date: | Wed, 4 Sep 2002 15:26:02 +0000 (UTC) |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 |
X-Accept-Language: | en,ru |
jdhagen AT chorus DOT net wrote: > 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. Thanks. Actually I figured this out about 1 - 2 hours after I posted. I still have some other problems in my process but this one that I isolated has been resolved. -- 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 |