Date: Wed, 11 Dec 1996 08:00:56 +0200 (IST) From: Eli Zaretskii To: dik kettenis cc: djgpp AT delorie DOT com Subject: Re: A problem with binary I/O In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.