generic-poky/meta/packages/busybox/busybox-1.01/xargs-double-size.patch
Richard Purdie 03c40cce7c busybox: Sync with OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@902 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-21 10:02:56 +00:00

14 lines
544 B
Diff

--- 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);