X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Ffclose.c;h=9ddff44de929f52442d3cdc3a967954fcd0373ca;hb=22b64ead4cdb08b34e3db82fa1fb1c6095f6b0e9;hp=f633de3e8cf1364cf7583dfa52e635e600fe4d58;hpb=789218b93f437f45f094de13584c7bb20fdf5628;p=pdclib.old diff --git a/functions/stdio/fclose.c b/functions/stdio/fclose.c index f633de3..9ddff44 100644 --- a/functions/stdio/fclose.c +++ b/functions/stdio/fclose.c @@ -51,7 +51,6 @@ int fclose( struct _PDCLIB_file_t * stream ) int main( void ) { #ifndef REGTEST - /* FIXME: This is basically fopen() checking. Flushing and buffer-freeing is not checked. */ struct _PDCLIB_file_t * file1; struct _PDCLIB_file_t * file2; TESTCASE( _PDCLIB_filelist == NULL ); @@ -66,7 +65,7 @@ int main( void ) TESTCASE( fclose( file1 ) == 0 ); TESTCASE( _PDCLIB_filelist == file2 ); TESTCASE( fclose( file2 ) == 0 ); - TESTCASE( _PDCLIB_filelist == NULL ); /* FIXME: fails */ + TESTCASE( _PDCLIB_filelist == NULL ); system( "rm testfile1 testfile2" ); #else puts( " NOTEST fclose() test driver is PDCLib-specific." );