From 1613de85d9203fa8628569e8e722899b184b24d8 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 13 Jun 2010 03:44:27 +0200 Subject: xargs: make -s NUM accept practically unlimited range Signed-off-by: Denys Vlasenko --- findutils/xargs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'findutils') diff --git a/findutils/xargs.c b/findutils/xargs.c index 25a7853..9ee5833 100644 --- a/findutils/xargs.c +++ b/findutils/xargs.c @@ -454,7 +454,7 @@ int xargs_main(int argc, char **argv) if (opt & OPT_UPTO_SIZE) { int i; size_t n_chars = 0; - n_max_chars = xatoul_range(max_chars, 1, n_max_chars); + n_max_chars = xatoul_range(max_chars, 1, INT_MAX); for (i = 0; argv[i]; i++) { n_chars += strlen(argv[i]) + 1; } -- cgit v1.1