summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/external.cc
diff options
context:
space:
mode:
authorPierre Humblet <phumblet@phumblet.no-ip.org>2004-10-06 01:33:39 +0000
committerPierre Humblet <phumblet@phumblet.no-ip.org>2004-10-06 01:33:39 +0000
commitb0637a519141d657c25eb08dd80dd8ad05df6a4e (patch)
treef7622d609c11acbbfaa43811691533cfd063d498 /winsup/cygwin/external.cc
parent49a8b8f05cc85693a05dede399f4dfa5a829b718 (diff)
downloadcygnal-b0637a519141d657c25eb08dd80dd8ad05df6a4e.tar.gz
cygnal-b0637a519141d657c25eb08dd80dd8ad05df6a4e.tar.bz2
cygnal-b0637a519141d657c25eb08dd80dd8ad05df6a4e.zip
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.
Diffstat (limited to 'winsup/cygwin/external.cc')
-rw-r--r--winsup/cygwin/external.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc
index c6694fa93..c0cad365f 100644
--- a/winsup/cygwin/external.cc
+++ b/winsup/cygwin/external.cc
@@ -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