summaryrefslogtreecommitdiff
path: root/packages/busybox/busybox-1.00/xargs-double-size.patch
blob: c7dc900cdd7fd8e68b432dc17ef9e33ac6baae66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- busybox-1.00/findutils/xargs.c.org	2006-09-19 18:18:17.084592997 +0200
+++ busybox-1.00/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);