Fix slash collapsing in etags on MS-Windows
commite1890e3e829665a54f04284f4e23bd0fd37de06b
authorEli Zaretskii <eliz@gnu.org>
Wed, 20 May 2015 15:18:33 +0000 (20 18:18 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 20 May 2015 15:18:33 +0000 (20 18:18 +0300)
tree1e752c8c1b671a728c03d18418e32a56a6d66c85
parent1a17b775b6bd476c051ae5ef00b752aacb6cf103
Fix slash collapsing in etags on MS-Windows

* lib-src/etags.c (canonicalize_filename) [DOS_NT]: Separate the
MS-Windows code from the Posix code, and support collapsing both
forward- and back-slashes on MS-Windows.  Fixes a regression found
by the test suite.
lib-src/etags.c