tags 299095 +patch
thanks

Hi,

attached is a patch which fixes the compilation of the ioctl syscalls on
hurd-i386 by essentially exempting that file.

A more elegant fix would be to check whether the *xattr are available in
glibc and use them rather than the syscalls.  Not sure how upstream
feels about this.


cheers,

Michael
--- libattr/syscalls.c  2002-09-06 05:15:41.000000000 +0200
+++ libattr/syscalls.c.new      2006-02-21 17:51:08.000000000 +0100
@@ -39,6 +39,7 @@
 #include <errno.h>
 #include <unistd.h>
 
+#ifndef __GNU__
 #if defined (__i386__)
 # define HAVE_XATTR_SYSCALLS 1
 # define __NR_setxattr         226
@@ -272,3 +273,4 @@
 {
        return SYSCALL(__NR_fremovexattr, filedes, name);
 }
+#endif /* __GNU__  */

Reply via email to