diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-02-03 09:37:30 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-02-03 09:38:24 +0100 |
commit | ee9941f94ea838774c34f60b3397fba07a803d92 (patch) | |
tree | 082d81424de2bb74bd63f0087869c956ea437ad7 /libio/vwscanf.c | |
parent | c70824b9a4645c0ecd049da8cfdb2c28ae7ada23 (diff) | |
download | glibc-ee9941f94ea838774c34f60b3397fba07a803d92.tar glibc-ee9941f94ea838774c34f60b3397fba07a803d92.tar.gz glibc-ee9941f94ea838774c34f60b3397fba07a803d92.tar.bz2 glibc-ee9941f94ea838774c34f60b3397fba07a803d92.zip |
libio: Use stdin consistently for input functions [BZ #24153]
The internal _IO_stdin_ variable is not updated when the application
assigns to stdin, which is a GNU extension.
Diffstat (limited to 'libio/vwscanf.c')
-rw-r--r-- | libio/vwscanf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/vwscanf.c b/libio/vwscanf.c index 696e4c5c99..7b1903c71d 100644 --- a/libio/vwscanf.c +++ b/libio/vwscanf.c @@ -35,6 +35,6 @@ int __vwscanf (const wchar_t *format, va_list args) { - return __vfwscanf_internal (_IO_stdin, format, args, 0); + return __vfwscanf_internal (stdin, format, args, 0); } ldbl_strong_alias (__vwscanf, vwscanf) |