this break compilation of
libbb/sysconf.c

attached patch fixes it by following the logic in include/libbb.h

Regards

--
Gianluigi Tiesi <[email protected]>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?
diff --git a/libbb/sysconf.c b/libbb/sysconf.c
index 4dbffbe..bcf0f30 100644
--- a/libbb/sysconf.c
+++ b/libbb/sysconf.c
@@ -8,7 +8,7 @@
  */
 #include "libbb.h"
 
-#if defined _SC_ARG_MAX
+#if defined _SC_ARG_MAX && !defined ARG_MAX
 unsigned FAST_FUNC bb_arg_max(void)
 {
 	return sysconf(_SC_ARG_MAX);
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to