* 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.
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user