* path.cc (fchdir): Pass the Posix path to chdir.

This commit is contained in:
Corinna Vinschen 2004-06-08 07:20:04 +00:00
parent beffbc5efd
commit 694a67c4e1
2 changed files with 5 additions and 1 deletions

View File

@ -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> 2004-06-07 Christopher Faylor <cgf@alum.bu.edu>
* dtable.cc (dtable::find_fifo): Release lock after fifo found (still * dtable.cc (dtable::find_fifo): Release lock after fifo found (still

View File

@ -3358,7 +3358,7 @@ fchdir (int fd)
int res; int res;
cygheap_fdget cfd (fd); cygheap_fdget cfd (fd);
if (cfd >= 0) if (cfd >= 0)
res = chdir (cfd->get_win32_name ()); res = chdir (cfd->get_name ());
else else
res = -1; res = -1;