Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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 4b80cb786..429a2875a 100644
--- a/winsup/cygwin/external.cc
+++ b/winsup/cygwin/external.cc
@@ -123,9 +123,9 @@ static DWORD
check_ntsec (const char *filename)
{
if (!filename)
- return allow_ntsec;
+ return true;
path_conv pc (filename);
- return allow_ntsec && pc.has_acls ();
+ return pc.has_acls ();
}
/* Copy cygwin environment variables to the Windows environment. */