]> granicus.if.org Git - strace/commit
util: avoid double printing of ellipsis in print_array
authorEugene Syromyatnikov <evgsyr@gmail.com>
Fri, 4 Oct 2019 13:13:40 +0000 (15:13 +0200)
committerEugene Syromyatnikov <evgsyr@gmail.com>
Fri, 4 Oct 2019 13:16:33 +0000 (15:16 +0200)
commitad937e4b7e8bb8fc3e780b2e7cd8500ba6069b1f
treee9ab0e51fa4ed5c03c6f4fa17fa60bd48ed49902
parent04fdd048c37f752074a2647f72f6e4da3f1321b0
util: avoid double printing of ellipsis in print_array

When PAF_ARRAY_TRUNCATED flag is provided to print_array_ex.

* util.c (print_array_ex): Add truncated flag, set it when the output
is truncated, avoid explicit ellipsis printing when it is set.

Fixes: v5.3~14 "Add PAF_ARRAY_TRUNCATED flag for print_array_ex"
util.c