]> git.ipfire.org Git - thirdparty/util-linux.git/commit
column: inform user when multibyte conversion error occurs
authorSami Kerola <kerolasa@iki.fi>
Sun, 4 May 2014 15:39:38 +0000 (16:39 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 7 May 2014 09:28:48 +0000 (11:28 +0200)
commitacb5f9b56e14db9b684e245bfdf647522c9a57b4
treef6f3a855706b0bde4d7d0ba1133d3c3dd32197dd
parentc571e61969ec1e38b9aa84a1871c7e2266123ad4
column: inform user when multibyte conversion error occurs

The column(1) read input until conversion error, and used incomplete
input when outputing, that made at least me to wonder where the rest
disappeared without explanation.  IMHO it is better to fail immediately
rather than do only half of the task.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
tests/expected/column/invalid-multibyte [new file with mode: 0644]
tests/ts/column/invalid-multibyte [new file with mode: 0755]
text-utils/column.c