projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix dlsym RTLD_NEXT support
[oweals/musl.git]
/
src
/
stdio
/
fclose.c
diff --git
a/src/stdio/fclose.c
b/src/stdio/fclose.c
index ee772fbb4708a6319d0911552d83ad7a27a07f66..373a2c76cc5b71b872817bf4735c7369a6bc4f82 100644
(file)
--- a/
src/stdio/fclose.c
+++ b/
src/stdio/fclose.c
@@
-9,7
+9,7
@@
int fclose(FILE *f)
OFLLOCK();
if (f->prev) f->prev->next = f->next;
if (f->next) f->next->prev = f->prev;
- if (
ofl_head == f)
ofl_head = f->next;
+ if (
libc.ofl_head == f) libc.
ofl_head = f->next;
OFLUNLOCK();
}