2004-10-05 Pierre Humblet <pierre.humblet@ieee.org>
* external.cc (check_ntsec): Do not call wincap.has_security. * path.cc (path_conv::check): Ditto. * security.cc (get_object_attribute): Ditto. (get_file_attribute): Ditto.
This commit is contained in:
@@ -125,9 +125,9 @@ static DWORD
|
||||
check_ntsec (const char *filename)
|
||||
{
|
||||
if (!filename)
|
||||
return wincap.has_security () && allow_ntsec;
|
||||
return allow_ntsec;
|
||||
path_conv pc (filename);
|
||||
return wincap.has_security () && allow_ntsec && pc.has_acls ();
|
||||
return allow_ntsec && pc.has_acls ();
|
||||
}
|
||||
|
||||
extern "C" unsigned long
|
||||
|
Reference in New Issue
Block a user