* globals.cc (ro_u_volume): New R/O unicode string.

* path.cc (symlink_info::check_reparse_point): Fix check for volume
	mount points to work on Vista and later as well.
This commit is contained in:
Corinna Vinschen
2009-08-24 11:14:30 +00:00
parent 84acd4c989
commit 11788f8ce0
3 changed files with 16 additions and 2 deletions

View File

@@ -100,6 +100,7 @@ UNICODE_STRING _RDATA ro_u_ntfs = _ROU (L"NTFS");
UNICODE_STRING _RDATA ro_u_sunwnfs = _ROU (L"SUNWNFS");
UNICODE_STRING _RDATA ro_u_udf = _ROU (L"UDF");
UNICODE_STRING _RDATA ro_u_unixfs = _ROU (L"UNIXFS");
UNICODE_STRING _RDATA ro_u_volume = _ROU (L"\\??\\Volume{");
#undef _RDATA
#undef _ROU