summaryrefslogtreecommitdiff
path: root/packages/busybox/busybox-1.2.2/xargs-double-size.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-10-28 16:46:42 +0000
committerKoen Kooi <koen@openembedded.org>2006-10-28 16:46:42 +0000
commit636c4d45c334995c2fa1bdbd72617bdfab30e850 (patch)
tree7e287d663575ea2594c10573bf24a31f6078e12a /packages/busybox/busybox-1.2.2/xargs-double-size.patch
parentd92174e738d4e8a0674a9bc7c2d5a0e777e9d936 (diff)
busybox: add support files for 1.2.2
Diffstat (limited to 'packages/busybox/busybox-1.2.2/xargs-double-size.patch')
-rw-r--r--packages/busybox/busybox-1.2.2/xargs-double-size.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/busybox/busybox-1.2.2/xargs-double-size.patch b/packages/busybox/busybox-1.2.2/xargs-double-size.patch
new file mode 100644
index 0000000000..df64554ffc
--- /dev/null
+++ b/packages/busybox/busybox-1.2.2/xargs-double-size.patch
@@ -0,0 +1,13 @@
+--- busybox-1.2.1/findutils/xargs.c.org 2006-09-19 18:18:17.084592997 +0200
++++ busybox-1.2.1/findutils/xargs.c 2006-09-19 18:18:09.820275793 +0200
+@@ -466,8 +466,8 @@
+ have it at 1 meg). Things will work fine with a large ARG_MAX but it
+ will probably hurt the system more than it needs to; an array of this
+ size is allocated. */
+- if (orig_arg_max > 20 * 1024)
+- orig_arg_max = 20 * 1024;
++ if (orig_arg_max > 40 * 1024)
++ orig_arg_max = 40 * 1024;
+ n_max_chars = orig_arg_max;
+ }
+ max_chars = xmalloc(n_max_chars);