bin/91002: [calendar] funky sorting when going around the end of year

Edwin Groothuis edwin at mavetju.org
Wed Dec 28 00:50:05 PST 2005


>Number:         91002
>Category:       bin
>Synopsis:       [calendar] funky sorting when going around the end of year
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 28 08:50:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD k7.mavetju 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root at x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386

>Description:

Running calendar(1) over the end-of-the-year gives a funny sorting issue:

>How-To-Repeat:

    [~] edwin at k7>calendar -A 3 -f /usr/share/calendar/calendar.freebsd 
    Jan  1  Alexander Langer <alex at FreeBSD.org> born in Duesseldorf, Nordrhein-Westfalen, Germany, 1981
    Dec 28  Soren Schmidt <sos at FreeBSD.org> born in Maribo, Denmark, 1960
    Dec 28  Marius Strobl <marius at FreeBSD.org> born in Cham, Bavaria, Germany, 1978
    Dec 31  Edwin Groothuis <edwin at FreeBSD.org> born in Geldrop, the Netherlands, 1970

Expected behaviour was

    Dec 28  Soren Schmidt <sos at FreeBSD.org> born in Maribo, Denmark, 1960
    Dec 28  Marius Strobl <marius at FreeBSD.org> born in Cham, Bavaria, Germany, 1978
    Dec 31  Edwin Groothuis <edwin at FreeBSD.org> born in Geldrop, the Netherlands, 1970
    Jan  1  Alexander Langer <alex at FreeBSD.org> born in Duesseldorf, Nordrhein-Westfalen, Germany, 1981

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list