OSDN Git Service

* path.cc (close_user_proc_parms_cwd_handle): Remove.
authorcorinna <corinna>
Tue, 27 Feb 2007 18:38:21 +0000 (18:38 +0000)
committercorinna <corinna>
Tue, 27 Feb 2007 18:38:21 +0000 (18:38 +0000)
commit1ec2179bfc81360a5d26df361dd6d0312b86bd75
treee5e5704c81ef381620b1ddcb5a29633d8bef4c3a
parent783ed74934972b442e4737ca02623770647740ef
* path.cc (close_user_proc_parms_cwd_handle): Remove.
(cwdstuff::init): Don't call close_user_proc_parms_cwd_handle.
Call set to set cwd with all-sharing handle.
(cwdstuff::set): Fix comment.  Don't close cwd handle.  Set in
user parameter block instead and close old cwd handle.
* syscalls.cc (rename): Call unlink_nt instead of RemoveDirectory or
DeleteFile to allow deleting shared files/directories.
winsup/cygwin/ChangeLog
winsup/cygwin/path.cc
winsup/cygwin/syscalls.cc