]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Print calendar entries in the order they occur
authorStefan Eßer <se@FreeBSD.org>
Fri, 30 Oct 2020 15:43:52 +0000 (15:43 +0000)
committerStefan Eßer <se@FreeBSD.org>
Fri, 30 Oct 2020 15:43:52 +0000 (15:43 +0000)
commitddad3a38757c8b80e062bff8824181fd9895b021
treeedc6d77f2f3d597af695e2f640f676e8bb95e051
parentcb895863ac2c48e14756fd2b621a8625f85b723f
Print calendar entries in the order they occur

The calendar program used to output entries in reverse order, due to the
way an internal linked list was built up.

A regression test with 2 entries for the same day has been adapted to the
now non-reversed order.

MFC after: 3 days
usr.bin/calendar/dates.c
usr.bin/calendar/tests/regress.s5.out