projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update release info for 0.9.0
[musl]
/
src
/
stdio
/
funlockfile.c
diff --git
a/src/stdio/funlockfile.c
b/src/stdio/funlockfile.c
index
d69f68e
..
f8a2a07
100644
(file)
--- a/
src/stdio/funlockfile.c
+++ b/
src/stdio/funlockfile.c
@@
-3,5
+3,5
@@
void funlockfile(FILE *f)
{
-
FUNLOCK
(f);
+
if (!--f->lockcount) __unlockfile
(f);
}