Browse Source

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

unlabeled-1.22.4
Corinna Vinschen 22 years ago
parent
commit
694a67c4e1
  1. 4
      winsup/cygwin/ChangeLog
  2. 2
      winsup/cygwin/path.cc

4
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

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

Loading…
Cancel
Save