projects
/
pdclib.old
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
557f9ce
)
PDCLIB-27 #resolve fixed
author
Owen Shepherd
<owen.shepherd@e43.eu>
Tue, 7 Oct 2014 22:22:27 +0000
(23:22 +0100)
committer
Owen Shepherd
<owen.shepherd@e43.eu>
Tue, 7 Oct 2014 22:22:27 +0000
(23:22 +0100)
functions/stdio/fclose.c
patch
|
blob
|
history
diff --git
a/functions/stdio/fclose.c
b/functions/stdio/fclose.c
index bc8d852e4d378f4ceb8d154cba1cc18c4e5852aa..37349c06881b98291e8a824c30b6d3c808ba3c2a 100644
(file)
--- a/
functions/stdio/fclose.c
+++ b/
functions/stdio/fclose.c
@@
-56,7
+56,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 );
}