+2004-04-09 Corinna Vinschen <corinna@vinschen.de>
+
+ * security.cc (get_file_attribute): Fix conditional.
+
2004-04-08 Christopher Faylor <cgf@bosbc.com>
* child_info.h: Update CHILD_INFO_MAGIC after 2004-04-03 change.
if (use_ntsec && allow_ntsec && wincap.has_security ())
{
- if (handle && get_nt_object_attribute (handle, SE_FILE_OBJECT,
- attribute, uidret, gidret))
+ if (!handle || get_nt_object_attribute (handle, SE_FILE_OBJECT,
+ attribute, uidret, gidret))
get_nt_attribute (file, attribute, uidret, gidret);
return 0;
}