projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5fa1a0
)
xargs: make -s NUM accept practically unlimited range
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 13 Jun 2010 01:44:27 +0000
(
03:44
+0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 13 Jun 2010 01:44:27 +0000
(
03:44
+0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
findutils/xargs.c
patch
|
blob
|
history
diff --git
a/findutils/xargs.c
b/findutils/xargs.c
index 25a785336f23bf09bee43770728a791e8e6026c4..9ee5833e5020b3ab641bf474fc16a419da57935a 100644
(file)
--- 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;
}