diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-08-02 10:33:28 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-08-02 10:33:28 +0000 |
commit | 98144884f8e6d46732f8d02f82ac08ec90b53e5c (patch) | |
tree | 6bb16a23095ebbbae0b6c4207caaf756bedfe063 /winsup/cygwin/syscalls.cc | |
parent | b6c2b7cc73d9b622e895a9d3ad852a1d438ea54e (diff) | |
download | cygnal-98144884f8e6d46732f8d02f82ac08ec90b53e5c.tar.gz cygnal-98144884f8e6d46732f8d02f82ac08ec90b53e5c.tar.bz2 cygnal-98144884f8e6d46732f8d02f82ac08ec90b53e5c.zip |
* path.h (struct fs_info): Drop root_len and name_hash members.
(fsinfo::length): Remove.
(path_conv::rootdir): Remove.
* syscalls.cc (try_to_bin): Use rootdir function instead of
path_conv::rootdir method.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r-- | winsup/cygwin/syscalls.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 2aeaa3fcb..35be660b2 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -146,7 +146,8 @@ try_to_bin (path_conv &win32_path, HANDLE h) IO_STATUS_BLOCK io; char recycler[CYG_MAX_PATH + 20]; - char *c = recycler + win32_path.rootdir (recycler); + rootdir (win32_path, recycler); + char *c = recycler + strlen (recycler); if (wincap.has_recycle_dot_bin ()) { strcpy (c, "$Recycle.Bin"); /* NTFS and FAT since Vista */ |