Subject: CVS commit: src/usr.bin/calendar
To: None <source-changes@NetBSD.org>
From: Jed Davis <jld@netbsd.org>
List: source-changes
Date: 03/24/2006 23:30:08
Module Name:	src
Committed By:	jld
Date:		Fri Mar 24 23:30:08 UTC 2006

Modified Files:
	src/usr.bin/calendar: calendar.c

Log Message:
Correct logic error in wildcard handling, which was causing the
day-of-month on normal entries to always be treated as a wildcard.

Specifically, "if (x&(y|z))" is equivalent to "if ((x&y)||(x&z))", not
"if ((x&y)&&(x&z))", which latter is clearly what was intended.


To generate a diff of this commit:
cvs rdiff -r1.38 -r1.39 src/usr.bin/calendar/calendar.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.