aboutsummaryrefslogtreecommitdiff
path: root/coreutils/printf.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2025-11-13 07:50:50 +0000
committerDenys Vlasenko <vda.linux@googlemail.com>2026-03-05 21:46:04 +0100
commitea01f254b4e0dc2f59db4cba9dd4fa98e9f5b2e5 (patch)
treecce0009e2d1ade4f28a32c9e23709dc20ede2d80 /coreutils/printf.c
parentb59b00323181d5d450a92959b9bbfe3585c6786b (diff)
downloadbusybox-w32-ea01f254b4e0dc2f59db4cba9dd4fa98e9f5b2e5.tar.gz
busybox-w32-ea01f254b4e0dc2f59db4cba9dd4fa98e9f5b2e5.tar.bz2
busybox-w32-ea01f254b4e0dc2f59db4cba9dd4fa98e9f5b2e5.zip
paste: fix output when file lengths differ
If the files being pasted had different numbers of lines the output was incorrect. Rewrite the loop over all lines to allow for this. Add tests for such conditions. function old new delta paste_main 458 526 +68 Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/printf.c')
0 files changed, 0 insertions, 0 deletions