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

@ -840,7 +840,7 @@ out:
if (fs.update (path))
{
debug_printf ("this->path(%s), has_acls(%d)", path, fs.has_acls ());
if (fs.has_acls () && allow_ntsec && wincap.has_security ())
if (fs.has_acls () && allow_ntsec)
set_exec (0); /* We really don't know if this is executable or not here
but set it to not executable since it will be figured out
later by anything which cares about this. */