filename. Check wincap.is_security() additionally.
+2003-04-03 Corinna Vinschen <corinna@vinschen.de>
+
+ * external.cc (check_ntsec): Return general ntsec state on NULL
+ filename. Check wincap.is_security() additionally.
+
2003-04-02 Christopher Faylor <cgf@redhat.com>
* Makefile.in (EXTRA_OFILES): Remove debugging object.
static DWORD
check_ntsec (const char *filename)
{
+ if (!filename)
+ return wincap.has_security () && allow_ntsec;
path_conv pc (filename);
- return allow_ntsec && pc.has_acls ();
+ return wincap.has_security () && allow_ntsec && pc.has_acls ();
}
extern "C" unsigned long