Mail Archives: djgpp/1994/01/18/07:18:58
I just installed the maint-2 stuff. A reported problem with fscanf
was not fixed. fscanf should return EOF (=-1) on an end of file
condition. (as per Kernighan & Ritchie, second edition, pg 245)
Instead it returns 0 items read (as per the info documentation).
This behaviour breaks f2c (among other things).
BTW - the linux gcc libraries work fine.
Is the fscanf behaviour acknowledged to be an error? When will it
be fixed?
------------------------------------------------------------------------------
Paul Kirschner #include <disclaimer.std>
pek AT logos DOT res DOT utc DOT com
United Technologies Research Center
- Raw text -