]> pd.if.org Git - pdclib/blobdiff - functions/stdio/fopen.c
System includes -> local includes.
[pdclib] / functions / stdio / fopen.c
index 32a66a1fa13053a149e493ae779164cbbd0014d0..fa0185f9f320b781c3dbff0565d3e08425eed0de 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* fopen( const char *, const char * )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -10,7 +8,7 @@
 #include <stdlib.h>
 
 #ifndef REGTEST
-#include <_PDCLIB_glue.h>
+#include "_PDCLIB_glue.h"
 #include <string.h>
 
 extern struct _PDCLIB_file_t * _PDCLIB_filelist;
@@ -75,7 +73,7 @@ struct _PDCLIB_file_t * fopen( const char * _PDCLIB_restrict filename, const cha
 #endif
 
 #ifdef TEST
-#include <_PDCLIB_test.h>
+#include "_PDCLIB_test.h"
 
 int main( void )
 {
@@ -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;
 }