4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-18 04:19:21 +08:00
Corinna Vinschen 67e628fa33 newlib: vfwscanf: fix negation bug in %[ conversion
Old BSD bug:  While ^ is recognized and the set of matching characters
is negated, the code neglects to increment the pointer pointing to the
matching characters.  Thus, on a negation expression like %[^xyz], the
matching doesn't only stop at x, y, or z, but incorrectly also on ^.

Fix this by setting the start pointer after recognizing the ^.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-12-04 17:05:11 +01:00
..
2016-07-04 17:13:55 +01:00
2017-12-01 03:41:50 -06:00
2016-07-04 17:13:55 +01:00
2017-12-01 03:41:50 -06:00
2017-12-01 03:41:50 -06:00
2017-12-01 03:41:50 -06:00
2017-12-01 03:41:50 -06:00
2017-12-01 03:41:50 -06:00
2017-12-01 03:41:51 -06:00
2017-12-01 03:41:51 -06:00
2017-12-01 03:41:51 -06:00
2017-12-01 03:41:51 -06:00
2017-12-01 03:41:52 -06:00
2017-12-01 03:41:52 -06:00
2017-12-01 03:41:52 -06:00
2016-07-04 17:13:55 +01:00
2017-12-01 03:41:53 -06:00
2017-12-01 03:41:53 -06:00
2016-07-04 17:13:55 +01:00
2017-11-29 11:25:46 -06:00
2017-11-29 11:25:46 -06:00
2017-11-29 11:25:45 -06:00
2017-11-29 11:25:45 -06:00
2017-11-29 11:25:46 -06:00
2017-11-29 11:25:46 -06:00