projects
/
fw
/
pdclib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed broken filename handling in freopen().
[fw/pdclib]
/
functions
/
stdio
/
fclose.c
diff --git
a/functions/stdio/fclose.c
b/functions/stdio/fclose.c
index 5c1e4d44d96c0b44e44a990468f25b32c3159769..456acc171656a015487466a57eb9a1d8c0ddd7a5 100644
(file)
--- a/
functions/stdio/fclose.c
+++ b/
functions/stdio/fclose.c
@@
-49,7
+49,7
@@
int fclose( struct _PDCLIB_file_t * stream )
remove( stream->filename );
}
/* Free stream */
- if ( !
stream->status & _PDCLIB_STATIC
)
+ if ( !
( stream->status & _PDCLIB_STATIC )
)
{
free( stream );
}