diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-10-03 19:02:14 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-10-03 19:02:14 +0300 |
commit | f96c114e22c26dbcd18b7c16590b5e0ef0c58fe9 (patch) | |
tree | 1c9b0325a98b9d3b86a446204b792ff41ab4b4d3 | |
parent | 98197303b145c488740b93fb45d2d72cde243dcc (diff) | |
download | gunmake-f96c114e22c26dbcd18b7c16590b5e0ef0c58fe9.tar.gz |
function.c (abspath): Reset root_len to one for Cygwin only when
HAVE_DOS_PATHS is defined. Suggested by Christopher Faylor.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | function.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2013-10-03 Eli Zaretskii <eliz@gnu.org> + + * function.c (abspath): Reset root_len to one for Cygwin only when + HAVE_DOS_PATHS is defined. Suggested by Christopher Faylor. + 2013-10-02 Eli Zaretskii <eliz@gnu.org> * w32/compat/posixfcn.c (tmpfile): New function, a replacement for @@ -2005,7 +2005,7 @@ abspath (const char *name, char *apath) } else { -#ifdef __CYGWIN__ +#if defined(__CYGWIN__) && defined(HAVE_DOS_PATHS) if (STOP_SET (name[0], MAP_PATHSEP)) root_len = 1; #endif |