From 9a7e156253da727f082219f3ca0eb7b7212cf030 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 15 Jan 2002 20:29:09 +0000 Subject: [PATCH] * path.cc (fchdir): Call chdir with full windows path. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/path.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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;