[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[debian-hurd-Patches][301252] #299094: FTBFS - attr-2.4.21



Patches item #301252, was opened at 11/03/2005 19:06
>Status: Closed
Priority: 3
Submitted By: Barry deFreese (bddebian-guest)
Assigned to: Nobody (None)
Summary: #299094: FTBFS - attr-2.4.21 
Category: linuxism
Group: submitted
>Resolution: Fixed


Initial Comment:
Author: Barry deFreese <bddebian@comcast.net>
Source: attr
Status: unreviewed
Categories: linuxism
Strip-Level: -p1 

The usualy ugly PATH_MAX fix.  Probably not necessary in this instance but I was testing the xattr stuff from Roland.

Also needs an upstream patch to remove syscall.h to use libc calls instead of GNU/Linux system calls.

diff -urp setfattr.org/setfattr.c setfattr/setfattr.c
--- setfattr.org/setfattr.c	2005-03-11 07:49:57.000000000 -0500
+++ setfattr/setfattr.c	2005-03-11 07:50:32.000000000 -0500
@@ -33,6 +33,10 @@
 #include "config.h"
 #include "misc.h"
 
+#ifndef PATH_MAX
+# define PATH_MAX 4096
+#endif
+
 #define CMD_LINE_OPTIONS "n:x:v:h"
 #define CMD_LINE_SPEC1 "{-n name} [-v value] [-h] file..."
 #define CMD_LINE_SPEC2 "{-x name} [-h] file..."


----------------------------------------------------------------------

Comment By: Barry deFreese (bddebian-guest)
Date: 11/03/2005 19:23

Message:
Logged In: YES 
user_id=11521

Submitted to BTS

----------------------------------------------------------------------

You can respond by visiting: 
http://alioth.debian.org/tracker/?func=detail&atid=410472&aid=301252&group_id=30628



Reply to: