delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/11/21:16:10

Date: Wed, 11 Dec 2002 21:15:58 -0500
Message-Id: <200212120215.gBC2FwY21888@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <000501c2a17a$cffad700$2601a8c0@pianodisc.com>
(pclift AT pianodisc DOT com)
Subject: Re: windows EOF before EOF
References: <000501c2a17a$cffad700$2601a8c0 AT pianodisc DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> How do I fix this?

Open the file in binary mode, either with "rb" for fopen, or O_BINARY
for open.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019