]> git.ipfire.org Git - thirdparty/make.git/commit
Fix $abspath on Cygwin when HAVE_DOS_PATHS is in effect.
authorEli Zaretskii <eliz@gnu.org>
Wed, 2 Oct 2013 16:39:53 +0000 (19:39 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 2 Oct 2013 16:39:53 +0000 (19:39 +0300)
commitf8786092ad753e75021db36a5a4daeca7f2b77e7
treea29cee81e07c0816d42420da1f9fac7ce840907e
parent1d4c15b4e16cca40d238bff3e8ff2d0e2d0e2ca2
Fix $abspath on Cygwin when HAVE_DOS_PATHS is in effect.

 function.c (IS_ABSOLUTE) [__CYGWIN__]: Special definition for Cygwin.
 (abspath) [__CYGWIN__]: Reset root_len to 1 if the absolute file name
 has the Posix /foo/bar form.
 [HAVE_DOS_PATHS]: Use root_len instead of hard-coded 2.
ChangeLog
function.c