Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 1997 12:35:45 -0700 (PDT)
From:      imp@village.org
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   bin/4629: calendar doesn't print all dates sometimes
Message-ID:  <199709251935.MAA07975@hub.freebsd.org>
Resent-Message-ID: <199709251940.MAA08192@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4629
>Category:       bin
>Synopsis:       calendar doesn't print all dates sometimes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 25 12:40:00 PDT 1997
>Last-Modified:
>Originator:     Warner Losh
>Organization:
The Village
>Release:        FreeBSD 3.0-current (Sept 21)
>Environment:
FreeBSD harmony.village.org 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Fri Aug 29 00:04:41 MDT 1997     imp@harmony.village.org:/home/imp/FreeBSD/src/sys/compile/GENERIC  i386

>Description:
Given a calendar file that is as follows
/* ------------- */
Thursday	Eat at Jordan's
/* ------------- */

calendar -B 20 will list only one day, rather than two or three.  Like
wise it will only list this entry once for -A xxx as well.  Recurring
events don't repeat properly.
>How-To-Repeat:
See description.

>Fix:
Sadly, the fix is somewhat hard because the loop that prints out the
dates will print the line in question once and then go onto the next
line w/o seeing if there are other instances of this event in the
range of dates given.

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709251935.MAA07975>