Mail Archives: cygwin/1997/02/13/04:52:16
Andres Takach wrote:
>
> There seems to be a problem in the read() (getc etc.) when
> reading binary files. A character 1A can confuse the read
> to think that it has found the end of file.
> fp = fopen("temp","w");
>
> fp = fopen("temp","r");
You should open binary files with "wb"/"rb" mode flags.
--
Sergey Okhapkin
Moscow, Russia
Looking for a job.
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -