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:
authorCorinna Vinschen <corinna@vinschen.de>2004-04-15 01:11:45 +0400
committerCorinna Vinschen <corinna@vinschen.de>2004-04-15 01:11:45 +0400
commite84c7766c37ce6d04606825188257ea6c35e8e11 (patch)
tree06a6a2390896e68cfab37214b4731875d9a60a65 /winsup/cygwin/sec_acl.cc
parenta653f600f5dd6a6d7ede4b2969659f500804233d (diff)
* ntdll.h: Fix copyright date.
* sec_acl.cc (acl_worker): delete allocated fhandler. * syscalls.cc (chown_worker): Ditto. (chmod): Ditto. (stat_worker): Use get_namehash instead of hash_path_name.
Diffstat (limited to 'winsup/cygwin/sec_acl.cc')
-rw-r--r--winsup/cygwin/sec_acl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/sec_acl.cc b/winsup/cygwin/sec_acl.cc
index ed1446e2e..0e20a9fc5 100644
--- a/winsup/cygwin/sec_acl.cc
+++ b/winsup/cygwin/sec_acl.cc
@@ -421,6 +421,8 @@ acl_worker (const char *path, int cmd, int nentries, __aclent32_t *aclbufp,
}
else
res = fh->facl (cmd, nentries, aclbufp);
+
+ delete fh;
syscall_printf ("%d = acl (%s)", res, path);
return res;
}