From f192e653963344fdffa88d47bb16d40d6e63081f Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Sat, 5 Jan 2019 21:48:44 +0000 Subject: xargs: fix 'xargs -sNUM' tests The tests for 'xargs -sNUM' fail due to a missing newline unless it's output using fprintf rather than bb_putchar_stderr. --- findutils/xargs.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/findutils/xargs.c b/findutils/xargs.c index 2ce5634ca..6df8a035d 100644 --- a/findutils/xargs.c +++ b/findutils/xargs.c @@ -821,7 +821,11 @@ int xargs_main(int argc UNUSED_PARAM, char **argv) fmt = " %s"; } if (!(opt & OPT_INTERACTIVE)) +#if !ENABLE_PLATFORM_MINGW32 bb_putchar_stderr('\n'); +#else + fprintf(stderr, "\n"); +#endif } if (!(opt & OPT_INTERACTIVE) || xargs_ask_confirmation()) { -- cgit v1.2.3-55-g6feb