[Fakeroot-commits] [SCM] Debian packaging of fakeroot branch, upstream, updated. ed5c7914fc68e334cb57d57bac3eff28e36bdfd3

Clint Adams clint at debian.org
Mon Apr 29 15:03:29 UTC 2013


The following commit has been merged in the upstream branch:
commit ed5c7914fc68e334cb57d57bac3eff28e36bdfd3
Author: Clint Adams <clint at debian.org>
Date:   Mon Apr 29 11:02:52 2013 -0400

    Patch from David Bartley to wrap acl_get_fd and acl_get_file.  closes: #521178.

diff --git a/libfakeroot.c b/libfakeroot.c
index 79a0fca..7f07d66 100644
--- a/libfakeroot.c
+++ b/libfakeroot.c
@@ -1858,6 +1858,14 @@ int fakeroot_isdisabled(void)
 }
 
 #ifdef HAVE_ACL_T
+acl_t acl_get_fd(int fd) {
+  errno = ENOTSUP;
+  return (acl_t)NULL;
+}
+acl_t acl_get_file(const char *path_p, acl_type_t type) {
+  errno = ENOTSUP;
+  return (acl_t)NULL;
+}
 int acl_set_fd(int fd, acl_t acl) {
   errno = ENOTSUP;
   return -1;
diff --git a/wrapfunc.inp b/wrapfunc.inp
index cda578a..3b1511b 100644
--- a/wrapfunc.inp
+++ b/wrapfunc.inp
@@ -181,6 +181,8 @@ unlinkat;int;(int dir_fd, const char *pathname, int flags);(dir_fd, pathname, fl
 #endif /* HAVE_FSTATAT */
 
 #ifdef HAVE_ACL_T
+acl_get_fd;acl_t;(int fd);(fd)
+acl_get_file;acl_t;(const char *path_p, acl_type_t type);(path_p, type)
 acl_set_fd;int;(int fd, acl_t acl);(fd, acl)
 acl_set_file;int;(const char *path_p, acl_type_t type, acl_t acl);(path_p, type, acl)
 #endif /* HAVE_ACL_T */

-- 
Debian packaging of fakeroot



More information about the Fakeroot-commits mailing list