X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Fclearerr.c;h=af50f14f49531523784496424da245fec0c8c81f;hp=af25029032f1fc4d79ec89654bb4bd690a81592e;hb=a7a8d2f1c85c2d7760d4d3479e90466cc3a81b04;hpb=afde3daa4992d49e190a6e8677e7317e0d367c59 diff --git a/functions/stdio/clearerr.c b/functions/stdio/clearerr.c index af25029..af50f14 100644 --- a/functions/stdio/clearerr.c +++ b/functions/stdio/clearerr.c @@ -28,6 +28,7 @@ int main( void ) TESTCASE( ! ferror( fh ) ); TESTCASE( ! feof( fh ) ); /* Reading from input stream - should provoke error */ + /* FIXME: Apparently glibc disagrees on this assumption. How to provoke error on glibc? */ TESTCASE( fgetc( fh ) == EOF ); TESTCASE( ferror( fh ) ); TESTCASE( ! feof( fh ) );