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/vfwscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/vfwscanf.c')
-rw-r--r--src/stdio/vfwscanf.c 2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stdio/vfwscanf.c b/src/stdio/vfwscanf.c
index f8f4b70f..ac5c2c24 100644
--- a/src/stdio/vfwscanf.c
+++ b/src/stdio/vfwscanf.c
@@ -104,6 +104,8 @@ int vfwscanf(FILE *restrict f, const wchar_t *restrict fmt, va_list ap)
FLOCK(f);
+ f->mode |= f->mode+1;
+
for (p=fmt; *p; p++) {
alloc = 0;
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月04日 09:44:49 +0000

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