projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
another return value fix for mktemp...
[musl]
/
src
/
stdio
/
fclose.c
diff --git
a/src/stdio/fclose.c
b/src/stdio/fclose.c
index
9481470
..
ee772fb
100644
(file)
--- a/
src/stdio/fclose.c
+++ b/
src/stdio/fclose.c
@@
-13,7
+13,8
@@
int fclose(FILE *f)
OFLUNLOCK();
}
OFLUNLOCK();
}
- r = -(fflush(f) || f->close(f));
+ r = fflush(f);
+ r |= f->close(f);
if (!perm) free(f);
if (!perm) free(f);