Mail Archives: djgpp/2000/07/30/02:45:41
On Sat, 29 Jul 2000, Jim Smith wrote:
> > Open with O_BINARY to circumvent.
>
> Thanks to those who replied with the above suggestion. However, it still
> does not work. As shown below, I simply added the O_BINARY word to the file
> open, but the extra bytes (0x0d) are still inserted into the output file.
I cannot reproduce this. The program you posted which uses O_BINARY
works correctly on my machine, and does not add the CR characters
(0x0d) to the output. Are you sure you are looking at the right file,
and invoking the correct program, after recompiling it?
- Raw text -