]> git.ipfire.org Git - thirdparty/util-linux.git/commit
cal: fix multi-byte comment, explain in better way
authorKarel Zak <kzak@redhat.com>
Mon, 18 Dec 2017 11:44:03 +0000 (12:44 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 18 Dec 2017 11:44:03 +0000 (12:44 +0100)
commit6ce7eca36cdeb2e3608c1d967f8b945856d76980
tree4f2d5fc419602162155538de748c5ab4e4e2c5a7
parent7468a8d1060b2624c5d6077dc0dce3143a0586c0
cal: fix multi-byte comment, explain in better way

On Sun, Dec 17, 2017 at 07:47:49PM -0500, J William Piggott wrote
> * it contains multi-byte characters (which is what drew me to reading it).
> * it truncates one very important piece of the formula: ". . . (mod 7)."
> * it explains the values for 'e', but there is no 'e' in the code.
> * it doesn't include a row resolving 'e' in the table, so it is not
>    obvious what it relates to in the code.
> * without citing it as an external reference, the comment language is confusing.

Co-Author: J William Piggott <elseifthen@gmx.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/cal.c