aboutsummaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-06-06 21:53:09 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-06-06 21:53:09 +0200
commit19ced5c4253bc154aa499a72b6343e01245c92c0 (patch)
treec1c148612896e748749ce882ed25ad5ffd74418c /findutils
parent5f3303712ef483d270097cae4ba0a559b1056121 (diff)
downloadbusybox-w32-19ced5c4253bc154aa499a72b6343e01245c92c0.tar.gz
busybox-w32-19ced5c4253bc154aa499a72b6343e01245c92c0.tar.bz2
busybox-w32-19ced5c4253bc154aa499a72b6343e01245c92c0.zip
pipe_progress: make it independent of printf machinery
function old new delta bb_putchar_stderr - 24 +24 ParseField 494 471 -23 progress_meter 212 188 -24 xargs_main 888 842 -46 pipe_progress_main 151 105 -46 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 0/4 up/down: 24/-139) Total: -115 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'findutils')
-rw-r--r--findutils/xargs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/findutils/xargs.c b/findutils/xargs.c
index 7db374c4a..9133b8f6c 100644
--- a/findutils/xargs.c
+++ b/findutils/xargs.c
@@ -529,11 +529,11 @@ int xargs_main(int argc, char **argv)
529 if (opt & (OPT_INTERACTIVE | OPT_VERBOSE)) { 529 if (opt & (OPT_INTERACTIVE | OPT_VERBOSE)) {
530 for (i = 0; args[i]; i++) { 530 for (i = 0; args[i]; i++) {
531 if (i) 531 if (i)
532 fputc(' ', stderr); 532 bb_putchar_stderr(' ');
533 fputs(args[i], stderr); 533 fputs(args[i], stderr);
534 } 534 }
535 if (!(opt & OPT_INTERACTIVE)) 535 if (!(opt & OPT_INTERACTIVE))
536 fputc('\n', stderr); 536 bb_putchar_stderr('\n');
537 } 537 }
538 if (!(opt & OPT_INTERACTIVE) || xargs_ask_confirmation()) { 538 if (!(opt & OPT_INTERACTIVE) || xargs_ask_confirmation()) {
539 child_error = xargs_exec(args); 539 child_error = xargs_exec(args);