Mail Archives: djgpp/1996/12/11/21:24:29
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 -