Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2008-12-15 23:53:18 +0300
committerCorinna Vinschen <corinna@vinschen.de>2008-12-15 23:53:18 +0300
commit1348f65bb94a4b0af58f2c6c842d18a6435a8996 (patch)
tree1da856867ef2a0b19d6a2e7efd179b26ff9e5037 /winsup/cygwin/syscalls.cc
parentcdb0b90956b8a09b80fffecdd3e84ac6cd68b1f8 (diff)
* syscalls.cc (gen_full_path_at): Use isabspath instead of isdirsep
to recognize absolute path.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r--winsup/cygwin/syscalls.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc
index 5b632f03d..7100ce36b 100644
--- a/winsup/cygwin/syscalls.cc
+++ b/winsup/cygwin/syscalls.cc
@@ -3610,7 +3610,7 @@ gen_full_path_at (char *path_ret, int dirfd, const char *pathname,
return -1;
}
}
- if (pathname && isdirsep (*pathname))
+ if (pathname && isabspath (pathname))
stpcpy (path_ret, pathname);
else
{