www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/11/01:15:34

Date: Wed, 11 Dec 1996 08:00:56 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: dik kettenis <Dik DOT Kettenis AT USERS DOT INFO DOT WAU DOT NL>
cc: djgpp AT delorie DOT com
Subject: Re: A problem with binary I/O
In-Reply-To: <vines.DX49+Ll,fmA@vines2.wau.nl>
Message-ID: <Pine.SUN.3.91.961211075629.8360C-100000@is>
MIME-Version: 1.0

On Mon, 9 Dec 1996, dik kettenis wrote:

> I encountered a problem with binary I/O using DJGPP for C. At this time I 
> cannot reach the website, and I am in a hurry to get an answer or an handle 
> where to look.

Your hurry notwithstanding, please post a code fragment that exhibits the 
problem.  What were the statements that you used to open the file and 
write to it?  It is impossible to help you otherwise, because I can right 
now think of an infinite number of possible ways to make a program NOT 
work in the way that you describe.

> The larger program works fine on a SUN workstation, so I guess my 
> problem has something to do with MS-DOS or the Gnu C compiler.

Most probably, your problem has something to do with a bug in the 
program.  Sun doesn't distinguish between text and binary files, so the 
fact that the program runs there proves nothing.

- Raw text -


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