* 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:
Corinna Vinschen
2007-08-02 10:33:28 +00:00
parent b6c2b7cc73
commit 98144884f8
3 changed files with 10 additions and 17 deletions

View File

@@ -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 */