]> pd.if.org Git - pdclib/blobdiff - functions/stdio/fclose.c
Removed SVN keyword tags.
[pdclib] / functions / stdio / fclose.c
index bc8d852e4d378f4ceb8d154cba1cc18c4e5852aa..8808171e745f84c67c28ed2b7f97316d65dbda92 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* fclose( FILE * )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -56,7 +54,7 @@ int fclose( FILE * stream )
                 remove( stream->filename );
             }
             /* Free user buffer (SetVBuf allocated) */
-            if ( ! ( stream->status & _PDCLIB_FREEBUFFER ) )
+            if ( stream->status & _PDCLIB_FREEBUFFER )
             {
                 free( stream->buffer );
             }