X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Ffreopen.c;h=c4bb34c497eff22b04c4102f17120282e9a363e5;hb=3ffa88d3e16e7564ff81bf3650b5afa113caac97;hp=2d900fd510dfeab1cc26ca1ea9d046bef2b10f78;hpb=d451ae8a715aa5fe6f2fb6f4d2494b11f4d11f2f;p=pdclib diff --git a/functions/stdio/freopen.c b/functions/stdio/freopen.c index 2d900fd..c4bb34c 100644 --- a/functions/stdio/freopen.c +++ b/functions/stdio/freopen.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* freopen( const char *, const char *, FILE * ) This file is part of the Public Domain C Library (PDCLib). @@ -10,7 +8,7 @@ #ifndef REGTEST -#include <_PDCLIB_glue.h> +#include "_PDCLIB_glue.h" #include #include @@ -77,7 +75,7 @@ struct _PDCLIB_file_t * freopen( const char * _PDCLIB_restrict filename, const c #endif #ifdef TEST -#include <_PDCLIB_test.h> +#include "_PDCLIB_test.h" int main( void ) { @@ -96,8 +94,8 @@ int main( void ) TESTCASE( fclose( fin ) == 0 ); TESTCASE( fclose( fout ) == 0 ); - remove( testfile1 ); - remove( testfile2 ); + TESTCASE( remove( testfile1 ) == 0 ); + TESTCASE( remove( testfile2 ) == 0 ); return TEST_RESULTS; }