From jhs@@@berklix.com Tue Nov 1 01:30:12 2011 Date: Tue, 1 Nov 2011 02:27:04 +0100 (CET) To: FreeBSD-gnats-submit@@@freebsd.org Subject: regression bug in calendar 8.2, 8-stable & current, OK in 8.1 & 7.4 & 6.4 From: "Julian H. Stacey" cc: "Julian H. Stacey" , edwin@@@freebsd.org Reply-To: "Julian H. Stacey" >Submitter-Id: current-users >Originator: Julian H. Stacey >Organization: http://berklix.com BSD Linux Unix Consultancy, Munich/Muenchen. >Confidential: no >Synopsis: regression bug in calendar 8.2, 8-stable & current, OK in 8.1 & 7.4 & 6.4 >Severity: serious >Priority: medium >Category: bin >Class: sw-bug >Release: FreeBSD 8.2-RELEASE amd64 >Environment: System: FreeBSD fire.js.berklix.net 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Jun 2 23:10:13 CEST 2011 jhs@@@blak.js.berklix.net:/ad6s4/release/8.2-RELEASE/src/sys/amd64/compile/FIRE64.small amd64 >Description: User groups rely on calendar meeting dates such as 1st Tuesday, 3rd Wednesday, Last Sunday each month. That broke in 8.2-RELEASE & 8-stable & current >How-To-Repeat: date # Tue Nov 1 ....... echo > ~/tmp/calendar_test_data << EOF /* caution tabs in here so do not mouse copy */ Tuesday+1 first Tuesday in month Wednesday Midweek Thursday-1 last Thursday in month EOF 7.4 & 8.1-RELEASE: calendar -f ~/tmp/calendar_test_data Nov 1* first Tuesday in month Nov 2* Midweek 8.2-RELEASE & 8-stable & current Unprocessed: ------- date: |Tuesday+1| flags: 10a - dayofweek modifierindex variable modifierindex: |+1| dayofweek: |Tuesday| (2) Ignored: Tuesday+1 first Tuesday in month Unprocessed: ------- date: |Thursday-1| flags: 10a - dayofweek modifierindex variable modifierindex: |-1| dayofweek: |Thursday| (4) Ignored: Thursday-1 last Thursday in month Nov 2* Midweek PS Some other good & bad patterns I tried : /* 8.2 * /Friday testtest Result: Emits nothing*/ /* 8.2 * /Friday-1 testtest Result: Emits nothing */ /* 8.2 * Friday testtest Result: OK Emits */ /* 8.2 * Friday-0 testtest Result: Emits nothing*/ /* 8.2 * Friday-1 testtest Result: Emits nothing*/ /* 8.2 * Friday-2 testtest Result: Emits nothing*/ /* 8.2 *''/Friday testtest Result: Emits nothing*/ /* 8.2 *''/Friday+1 testtest Result: Emits nothing*/ /* 8.2 *''/Friday-0 testtest Result: Emits nothing*/ /* 8.2 *''/Friday-1 testtest Result: Emits nothing*/ /* 8.2 2011/10/27 testtest Result: OK Emits */ /* 8.2 Friday testtest Result: OK Emits */ /* 8.2 Friday +1 testtest Result: Emits nothing*/ /* 8.2 Friday+1 testtest Result: Errors, and says Ignored*/ /* 6.4 Friday-1 testtest Result: OK Emits */ /* 8.2 Friday-1 testtest Result: Errors, and says Ignored*/ /* 8.2 Oct Friday -1 testtest Result: Emits nothing */ /* 8.2 Oct Friday-1 testtest Result: Emits nothing*/ >Fix: http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/calendar/calendar.c shows edwin@@@ was last person interested in calendar.c Mon Aug 23 22:09:25 2010 UTC ... r205821: Long awaited update to the calendar system: - Repeating events ... so FYI cc'd him as he's hopefully familiar with sources. =============================================================================== Subject: Re: bin/162211: regression bug in calendar 8.2, 8-stable & current, OK in 8.1 & 7.4 & 6.4 From: FreeBSD-gnats-submit@@@FreeBSD.org Date: Tue, 1 Nov 2011 02:00:24 GMT (03:00 CET) To: "Julian H. Stacey" Thank you very much for your problem report. It has the internal identification `bin/162211'. The individual assigned to look at your report is: freebsd-bugs. You can access the state of your problem report at any time via this link: http://www.freebsd.org/cgi/query-pr.cgi?pr=162211 >Category: bin >Responsible: freebsd-bugs >Synopsis: regression bug in calendar 8.2, 8-stable & current, OK in 8.1 & 7.4 & 6.4 >Arrival-Date: Tue Nov 01 02:00:24 UTC 2011