]> pd.if.org Git - pdclib/blobdiff - functions/stdio/fopen.c
Comment cleanups.
[pdclib] / functions / stdio / fopen.c
index 32a66a1fa13053a149e493ae779164cbbd0014d0..c69a60541e3f57059e778dbbd3283408cc2f497e 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* fopen( const char *, const char * )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -94,7 +92,7 @@ int main( void )
     TESTCASE_NOREG( fopen( testfile, "wr" ) == NULL ); /* Undefined mode */
     TESTCASE( ( fh = fopen( testfile, "w" ) ) != NULL );
     TESTCASE( fclose( fh ) == 0 );
-    remove( testfile );
+    TESTCASE( remove( testfile ) == 0 );
     return TEST_RESULTS;
 }