diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index f64fbb92e..7ae7f9f3a 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2002-01-15 Corinna Vinschen + + * path.cc (fchdir): Call chdir with full windows path. + 2002-01-14 Corinna Vinschen * dir.cc: Use INVALID_FILE_ATTRIBUTES instead of "(DWORD) -1" diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 6b8a71e49..cfdd3aeda 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;