musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/stdio/fgetwc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/fgetwc.c')
-rw-r--r--src/stdio/fgetwc.c 1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdio/fgetwc.c b/src/stdio/fgetwc.c
index e455cfec..a00c1a86 100644
--- a/src/stdio/fgetwc.c
+++ b/src/stdio/fgetwc.c
@@ -22,6 +22,7 @@ static wint_t __fgetwc_unlocked_internal(FILE *f)
f->rpos++;
return WEOF;
}
+ f->rpos = f->rend;
} else l = -2;
/* Convert character byte-by-byte */
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月08日 13:36:39 +0000

AltStyle によって変換されたページ (->オリジナル) /