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:
Pierre Humblet
2004-10-06 01:33:39 +00:00
parent 49a8b8f05c
commit b0637a5191
4 changed files with 12 additions and 5 deletions

View File

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