-/* $Id$ */
-
/* fclose( FILE * )
This file is part of the Public Domain C Library (PDCLib).
#include <errno.h>
#ifndef REGTEST
-#include <_PDCLIB_io.h>
+#include "_PDCLIB_io.h"
#include <threads.h>
extern FILE * _PDCLIB_filelist;
remove( stream->filename );
}
/* Free user buffer (SetVBuf allocated) */
- if ( ! ( stream->status & _PDCLIB_FREEBUFFER ) )
+ if ( stream->status & _PDCLIB_FREEBUFFER )
{
free( stream->buffer );
}
#endif
#ifdef TEST
-#include <_PDCLIB_test.h>
+#include "_PDCLIB_test.h"
int main( void )
{