projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
work around a nasty bug in linux readv syscall
[musl]
/
src
/
stdio
/
fgetwc.c
diff --git
a/src/stdio/fgetwc.c
b/src/stdio/fgetwc.c
index
77b30fd
..
5e42059
100644
(file)
--- a/
src/stdio/fgetwc.c
+++ b/
src/stdio/fgetwc.c
@@
-23,9
+23,9
@@
wint_t __fgetwc_unlocked(FILE *f)
}
} else l = -2;
- /* Convert character byte-by-byte
from __uflow
*/
+ /* Convert character byte-by-byte */
while (l == -2) {
- b = c =
__uflow
(f);
+ b = c =
getc_unlocked
(f);
if (c < 0) {
if (!mbsinit(&st)) errno = EILSEQ;
return WEOF;