[Fakeroot-commits] [SCM] Debian packaging of fakeroot branch, upstream, updated. 63fbf30376b81f2d8a540d36cd3ab223a15c406f
Kyle J. McKay
mackyle at gmail.com
Fri May 17 00:11:17 UTC 2013
The following commit has been merged in the upstream branch:
commit 015168b73ada4094a105e4e2659637259d3f4ab2
Author: Kyle J. McKay <mackyle at gmail.com>
Date: Sat Nov 3 20:04:41 2012 -0700
Fix *xattr prototype mismatches
diff --git a/libfakeroot.c b/libfakeroot.c
index 79a0fca..8d191e5 100644
--- a/libfakeroot.c
+++ b/libfakeroot.c
@@ -1599,7 +1599,7 @@ static size_t common_listxattr(INT_STRUCT_STAT *st, char *list, size_t size)
return xattr.size;
}
-static size_t common_removexattr(INT_STRUCT_STAT *st, char *name)
+static size_t common_removexattr(INT_STRUCT_STAT *st, const char *name)
{
xattr_args xattr;
xattr.name = name;
@@ -1786,7 +1786,7 @@ ssize_t flistxattr(int fd, char *list, size_t size)
return common_listxattr(&st, list, size);
}
-ssize_t removexattr(const char *path, char *name)
+ssize_t removexattr(const char *path, const char *name)
{
INT_STRUCT_STAT st;
int r;
@@ -1805,7 +1805,7 @@ ssize_t removexattr(const char *path, char *name)
return common_removexattr(&st, name);
}
-ssize_t lremovexattr(const char *path, char *name)
+ssize_t lremovexattr(const char *path, const char *name)
{
INT_STRUCT_STAT st;
int r;
@@ -1824,7 +1824,7 @@ ssize_t lremovexattr(const char *path, char *name)
return common_removexattr(&st, name);
}
-ssize_t fremovexattr(int fd, char *name)
+ssize_t fremovexattr(int fd, const char *name)
{
INT_STRUCT_STAT st;
int r;
--
Debian packaging of fakeroot
More information about the Fakeroot-commits
mailing list