]> git.ipfire.org Git - thirdparty/util-linux.git/commit - misc-utils/cal.c
cal: fix -y output for UTF8
authorKarel Zak <kzak@redhat.com>
Mon, 17 Jun 2013 16:08:01 +0000 (18:08 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 17 Jun 2013 16:09:49 +0000 (18:09 +0200)
commitadd1924d5b2a0936202a5d68074d3cf70bcafc8d
tree5b08e4528a3b0593772999cb215eb94b083c9af2
parent7ba207e781c7af3945d3a718651b87425685131e
cal: fix -y output for UTF8

... in the yearly() function is a static buffer where is not space for
multibyte headers. The patch also clean ups function where we
initialize headers.

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/cal.c