diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2004-06-08 07:20:04 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2004-06-08 07:20:04 +0000 |
commit | 694a67c4e1ce86435d3fd0f1d5559db9dcd28eef (patch) | |
tree | ce2e708d81fa86bbf292ea74f4049306e84612c4 | |
parent | beffbc5efd36a3103c1c8b27202c9d97621f961b (diff) | |
download | newlib-694a67c4e1ce86435d3fd0f1d5559db9dcd28eef.zip newlib-694a67c4e1ce86435d3fd0f1d5559db9dcd28eef.tar.gz newlib-694a67c4e1ce86435d3fd0f1d5559db9dcd28eef.tar.bz2 |
* path.cc (fchdir): Pass the Posix path to chdir.
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/path.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 83316d5..f21252c 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 105092e..23bf2c2 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; |