aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/path.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2002-01-15 20:29:09 +0000
committerCorinna Vinschen <corinna@vinschen.de>2002-01-15 20:29:09 +0000
commit9a7e156253da727f082219f3ca0eb7b7212cf030 (patch)
tree1e4eab1ee6bbe3a4bb72530781ee5880a4c90249 /winsup/cygwin/path.cc
parenta240c5e773eff1eb325f8c51187ec0e1f97462de (diff)
downloadnewlib-9a7e156253da727f082219f3ca0eb7b7212cf030.zip
newlib-9a7e156253da727f082219f3ca0eb7b7212cf030.tar.gz
newlib-9a7e156253da727f082219f3ca0eb7b7212cf030.tar.bz2
* path.cc (fchdir): Call chdir with full windows path.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 6b8a71e..cfdd3ae 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -3275,7 +3275,7 @@ fchdir (int fd)
cygheap_fdget cfd (fd);
if (cfd >= 0)
- res = chdir (cfd->get_name ());
+ res = chdir (cfd->get_win32_name ());
else
res = -1;