* path.cc (fchdir): Call chdir with full windows path.

This commit is contained in:
Corinna Vinschen 2002-01-15 20:29:09 +00:00
parent a240c5e773
commit 9a7e156253
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-01-15 Corinna Vinschen <corinna@vinschen.de>
* path.cc (fchdir): Call chdir with full windows path.
2002-01-14 Corinna Vinschen <corinna@vinschen.de>
* dir.cc: Use INVALID_FILE_ATTRIBUTES instead of "(DWORD) -1"

View File

@ -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;