fix failure to distinguish input/match failure in wide %[ scanf
authorRich Felker <dalias@aerifal.cx>
Wed, 18 Apr 2012 03:08:58 +0000 (23:08 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 18 Apr 2012 03:08:58 +0000 (23:08 -0400)
commita12aa2918535fd370419bd24b50a33974091c5a7
tree1a3f5c791708fcbd89f15248e57f8d24bff9004d
parent2dd5dc78d4502381e2933137ed525acf339cb383
fix failure to distinguish input/match failure in wide %[ scanf

this also includes a related fix for vswscanf's read function, which
was returning a spurious (uninitialized) character for empty strings.
src/stdio/vfwscanf.c
src/stdio/vswscanf.c