]> pd.if.org Git - pdclib.old/blobdiff - functions/stdio/fgets.c
* Change the style of inclusion of the internal/ headers. Modern preprocessors
[pdclib.old] / functions / stdio / fgets.c
index 1afd79f6ed7ed50426dadd32414d3a5c1f851df3..44518a3e0b0f2552a8d5b1a47c81fb7fd3bf37f0 100644 (file)
@@ -10,7 +10,6 @@
 
 #ifndef REGTEST
 
-#define _PDCLIB_GLUE_H _PDCLIB_GLUE_H
 #include <_PDCLIB_glue.h>
 
 char * fgets( char * _PDCLIB_restrict s, int size, struct _PDCLIB_file_t * _PDCLIB_restrict stream )
@@ -82,7 +81,7 @@ int main( void )
     TESTCASE( fgets( buffer, 2, fh ) == NULL );
     TESTCASE( feof( fh ) );
     TESTCASE( fclose( fh ) == 0 );
-    remove( testfile );
+    TESTCASE( remove( testfile ) == 0 );
     return TEST_RESULTS;
 }