Package: pdsh
Version: 2.16-1
Severity: normal
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu jaunty ubuntu-patch

Hi,

src/pdsh/xpopen.c include limits.h and states that it is for
the definition of ARG_MAX, when ARG_MAX is declared in
linux/limits.h.

Ubuntu's compiler is more strict about this, so it causes a
build failure there. The attached patch fixes it, please consider
applying it.

Thanks,

James
--- pdsh-2.16.orig/src/pdsh/xpopen.c
+++ pdsh-2.16/src/pdsh/xpopen.c
@@ -33,7 +33,7 @@
 #endif
 
 #include <stdio.h>
-#include <limits.h>             /* ARG_MAX */
+#include <linux/limits.h>             /* ARG_MAX */
 #include <sys/wait.h>           /* waitpid() */
 #include <string.h>             /* strcmp() */
 #include <stdlib.h>

Reply via email to