projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acfd06d
)
fix crash in dns code with new stdio locking code
author
Rich Felker
<dalias@aerifal.cx>
Mon, 1 Aug 2011 04:03:50 +0000
(
00:03
-0400)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 1 Aug 2011 04:03:50 +0000
(
00:03
-0400)
src/stdio/__fopen_rb_ca.c
patch
|
blob
|
history
diff --git
a/src/stdio/__fopen_rb_ca.c
b/src/stdio/__fopen_rb_ca.c
index 4ba50d61470311ca28fa3f6370f0a70552765ff7..89ccbc374b513095f6cb6521d40f3128590ed6ef 100644
(file)
--- a/
src/stdio/__fopen_rb_ca.c
+++ b/
src/stdio/__fopen_rb_ca.c
@@
-13,6
+13,7
@@
FILE *__fopen_rb_ca(const char *filename, FILE *f, unsigned char *buf, size_t le
f->read = __stdio_read;
f->seek = __stdio_seek;
f->close = __stdio_close;
+ f->lock = -1;
return f;
}