summaryrefslogtreecommitdiff
path: root/recipes/busybox/busybox-1.16.2/xargs-double-size.patch
diff options
context:
space:
mode:
authorDirk Opfer <dirk@opfer-online.de>2010-06-28 13:37:51 +0200
committerDirk Opfer <dirk@opfer-online.de>2010-07-01 09:48:25 +0200
commit6b32b377524cb51907c12686a7babda685be52d8 (patch)
tree113a6d982742da43cda702aa504737610e933d36 /recipes/busybox/busybox-1.16.2/xargs-double-size.patch
parente3d8e1b3bb3f16e97e8af10aa9a8c46b83e4a3fc (diff)
busybox: 1.16.1 -> 1.16.2 (new stable)
Diffstat (limited to 'recipes/busybox/busybox-1.16.2/xargs-double-size.patch')
-rw-r--r--recipes/busybox/busybox-1.16.2/xargs-double-size.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/busybox/busybox-1.16.2/xargs-double-size.patch b/recipes/busybox/busybox-1.16.2/xargs-double-size.patch
new file mode 100644
index 0000000000..df64554ffc
--- /dev/null
+++ b/recipes/busybox/busybox-1.16.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);