fix fnmatch corner cases related to escaping
authorRich Felker <dalias@aerifal.cx>
Sun, 1 Dec 2013 19:36:22 +0000 (14:36 -0500)
committerRich Felker <dalias@aerifal.cx>
Sun, 1 Dec 2013 19:36:22 +0000 (14:36 -0500)
commit6ec82a3b58ee1b873ff0dfad8fa9d41c3d25dcc0
tree0bcd19e8e3428bf9cb5ffa91ff9b12b21e526643
parentda0fcdb8e913ca7cdf8931328f2b37e93309b2c5
fix fnmatch corner cases related to escaping

the FNM_PATHNAME logic for advancing by /-delimited components was
incorrect when the / character was escaped (i.e. \/), and a final \ at
the end of pattern was not handled correctly.
src/regex/fnmatch.c