projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
legacy japanese charset support in iconv (only from, not to)
[musl]
/
src
/
stdio
/
ext.c
diff --git
a/src/stdio/ext.c
b/src/stdio/ext.c
index
d5a403b
..
6b8ce91
100644
(file)
--- a/
src/stdio/ext.c
+++ b/
src/stdio/ext.c
@@
-14,7
+14,7
@@
int __fsetlocking(FILE *f, int type)
int __fwriting(FILE *f)
{
- return f->wend
> f->wpos
;
+ return f->wend
&& f->wpos > f->wbase
;
}
int __freading(FILE *f)