OSDN Git Service

* autoload.cc (SHFileOperationA): Drop definition.
authorcorinna <corinna>
Sun, 10 Dec 2006 16:43:29 +0000 (16:43 +0000)
committercorinna <corinna>
Sun, 10 Dec 2006 16:43:29 +0000 (16:43 +0000)
commitecb36c6138e0a8a81b2c37d4009049c33fc71ca6
treef706824b701f82411154fa07895d3dd8271a3992
parent73b32401290932751c3dc16eafa53c8cf250c521
* autoload.cc (SHFileOperationA): Drop definition.
* ntdll.h (struct _FILE_RENAME_INFORMATION): Define.
* path.cc (fs_info::update): Note length of rootdir prefix in
root_len.
(get_nt_native_path): New function, taking over functionality of
path_conv::get_nt_native_path.
(path_conv::get_nt_native_path): Just call get_nt_native_path.
* path.h (get_nt_native_path): Declare.
(struct fs_info): New member root_len.
(fs_info::length): New inline method returning root_len.
(path_conv::rootdir): New inline method returning rootdir prefix.
* syscalls.cc (try_to_bin): Rewrite using only system calls.
(unlink_nt): Call try_to_bin with additional handle to open file
parameter.
(statvfs): Use path_conv::rootdir method.
* wincap.h: Define has_recycle_dot_bin throughout.
* wincap.cc: Ditto.
winsup/cygwin/ChangeLog
winsup/cygwin/autoload.cc
winsup/cygwin/ntdll.h
winsup/cygwin/path.cc
winsup/cygwin/path.h
winsup/cygwin/syscalls.cc
winsup/cygwin/wincap.cc
winsup/cygwin/wincap.h