Subject: CVS commit: basesrc/usr.bin/calendar
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 12/04/2001 17:55:33
Module Name:	basesrc
Committed By:	christos
Date:		Tue Dec  4 15:55:33 UTC 2001

Modified Files:
	basesrc/usr.bin/calendar: Makefile calendar.c

Log Message:
- knf
- use cpp -traditional, since the default has now changed. We want to allow
  unmatched single quotes!
- use fparseln, instead of a fixed 2k buffer.
- make all locals static and move to the top. This is so we can eventually
  make calendar understand languages other than us_en
- add braces and continue's to clarify things.
- replace gratuitous fprintf uses with warnx.
- replace vforks() with forks() since we tried to print errors with stdio.
- add more warnings so that we know how things fail.

XXX: Eventually we'll have to remove the cpp dependency, and we should:
	- make it use m4 instead [bad, breaks compatibility]
    or
	- add a small cpp like parser for #include [bad, too much code]


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 basesrc/usr.bin/calendar/Makefile
cvs rdiff -r1.25 -r1.26 basesrc/usr.bin/calendar/calendar.c

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