fix failure of wide printf/scanf functions to set wide orientation
authorRich Felker <dalias@aerifal.cx>
Wed, 2 Jul 2014 16:09:48 +0000 (12:09 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 28 Jul 2014 04:27:58 +0000 (00:27 -0400)
commit7bbf7c12548fef40a0872e32d5c6f0903c5ea147
tree44d543da2e775b1dc850fb0bb6182da1418f0a27
parent797cf20a0e490d56a80f8df483ca28db1e1f368d
fix failure of wide printf/scanf functions to set wide orientation

in some cases, these functions internally call a byte-based input or
output function before calling getwc/putwc, so they cannot rely on the
latter to set the orientation.

(cherry picked from commit 984c25b74da085c6ae6b44a87bbd5f8afc9be331)
src/stdio/vfwprintf.c
src/stdio/vfwscanf.c