aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/xargs.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-10-28 17:06:29 -0500
committerRob Landley <rob@landley.net>2019-10-28 17:06:29 -0500
commitf95d580892e253655cd8298ad03d0fed65ca5026 (patch)
tree5c4e7e3a5521d31dad0cf9c9b2e0bc3686fb145a /toys/posix/xargs.c
parent3a26d89b6d54e0b44457a788e5126c1ef2eee24b (diff)
downloadtoybox-f95d580892e253655cd8298ad03d0fed65ca5026.tar.gz
Switch the fudge factor from 2048 to 4096 to unblock android build.
Diffstat (limited to 'toys/posix/xargs.c')
-rw-r--r--toys/posix/xargs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/xargs.c b/toys/posix/xargs.c
index 11cc56ee..367f2297 100644
--- a/toys/posix/xargs.c
+++ b/toys/posix/xargs.c
@@ -103,7 +103,7 @@ void xargs_main(void)
// that the invoked utility has room to modify its environment variables
// and command line arguments and still be able to invoke another utility",
// though obviously that's not really something you can guarantee.
- if (!FLAG(s)) TT.s = sysconf(_SC_ARG_MAX) - environ_bytes() - 2048;
+ if (!FLAG(s)) TT.s = sysconf(_SC_ARG_MAX) - environ_bytes() - 4096;
TT.delim = '\n'*!FLAG(0);