]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Print calendar entries in the order they occur
authorse <se@FreeBSD.org>
Fri, 30 Oct 2020 15:43:52 +0000 (15:43 +0000)
committerse <se@FreeBSD.org>
Fri, 30 Oct 2020 15:43:52 +0000 (15:43 +0000)
commitdb2afa3310f5240c144ccdcd0c9e309e28f90ae6
treeedc6d77f2f3d597af695e2f640f676e8bb95e051
parent0356646eabb3e336e64d03024e540fe21d96a232
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