summaryrefslogtreecommitdiff
path: root/meta/packages/busybox/busybox-1.01/xargs-double-size.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-11-21 10:02:56 +0000
committerRichard Purdie <richard@openedhand.com>2006-11-21 10:02:56 +0000
commit03c40cce7cf5c9791661544da396ab61e396ad8a (patch)
treea0a0a4e984152f1dac0d40ffb559441a5d605d84 /meta/packages/busybox/busybox-1.01/xargs-double-size.patch
parentdce65a1c29315c28044e7a50a1bd328b32cbcc6d (diff)
downloadopenembedded-core-03c40cce7cf5c9791661544da396ab61e396ad8a.tar.gz
openembedded-core-03c40cce7cf5c9791661544da396ab61e396ad8a.tar.bz2
openembedded-core-03c40cce7cf5c9791661544da396ab61e396ad8a.tar.xz
openembedded-core-03c40cce7cf5c9791661544da396ab61e396ad8a.zip
busybox: Sync with OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@902 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/busybox/busybox-1.01/xargs-double-size.patch')
-rw-r--r--meta/packages/busybox/busybox-1.01/xargs-double-size.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/packages/busybox/busybox-1.01/xargs-double-size.patch b/meta/packages/busybox/busybox-1.01/xargs-double-size.patch
new file mode 100644
index 000000000..218d6c0d1
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/xargs-double-size.patch
@@ -0,0 +1,13 @@
+--- busybox-1.01/findutils/xargs.c.org 2006-09-19 18:18:17.084592997 +0200
++++ busybox-1.01/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);