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>2004-06-08 11:20:04 +0400
committerCorinna Vinschen <corinna@vinschen.de>2004-06-08 11:20:04 +0400
commit694a67c4e1ce86435d3fd0f1d5559db9dcd28eef (patch)
treece2e708d81fa86bbf292ea74f4049306e84612c4
parentbeffbc5efd36a3103c1c8b27202c9d97621f961b (diff)
* path.cc (fchdir): Pass the Posix path to chdir.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/path.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 83316d5f3..f21252c76 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2004-06-08 Pierre Humblet <pierre.humblet@ieee.org>
+
+ * path.cc (fchdir): Pass the Posix path to chdir.
+
2004-06-07 Christopher Faylor <cgf@alum.bu.edu>
* dtable.cc (dtable::find_fifo): Release lock after fifo found (still
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 105092e58..23bf2c207 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -3358,7 +3358,7 @@ fchdir (int fd)
int res;
cygheap_fdget cfd (fd);
if (cfd >= 0)
- res = chdir (cfd->get_win32_name ());
+ res = chdir (cfd->get_name ());
else
res = -1;