Commit Graph

78 Commits

Author SHA1 Message Date
briggs ef852c60a0 Add option to remove escape character before comment character in
fparseln().  Add escape characters before comment characters in the
few places those appear in the calendar data files.
2003-09-30 15:00:18 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
minoura 9e27136527 Correct some Japanese entries.
- Add New Year's Day
  - Adults Day -> Coming-of-Age day
  - Girl's Day is not a holiday
  - Constitution Day is 5/3
  - There's no Boy's Day on 5/1; maybe 5/5? (which is now Children's Day)
  - Add Ocean Day (7/20)

Need sort?
2003-05-30 05:11:25 +00:00
kristerw a5348cc746 Remove a duplicated entry. 2003-05-28 23:14:03 +00:00
mjl f694ad9267 On second thought, move BSD to calendar.computer.
While there, spell Dijkstra correctly.
2003-04-24 13:36:19 +00:00
mjl 5082020546 Correct dates for Talbot and Zuse. Aristotle surely died only
once (though I have not been able to confirm the exact date).
Add NetBSD/FreeBSD birthday too for good measure.

Most of the changes from FreeBSD with corrections.
2003-04-24 13:29:23 +00:00
jdolecek 023b82a806 add Columbia tragedy
submitted in PR bin/20163
2003-02-03 17:03:27 +00:00
briggs a35f350a48 Remove a duplicate bank holiday entry for 12/26. 2002-12-26 19:17:23 +00:00
scw 4df9ab06e4 Add evbppc. 2002-12-09 13:00:05 +00:00
lukem d348d3d723 tweaks for fparseln(3) move from libutil to libc:
- remove #include <util.h> if nothing else needed it
- remove LDFLAGS+=-lutil if nothing else needed it
2002-11-30 03:10:53 +00:00
lukem bac7350bc5 whitespace consistency 2002-11-04 03:17:53 +00:00
wiz ac9ef76efe Add NetBSD calendar file.
Dates supplied by Hubert Feyrer, thanks!
2002-11-03 15:53:41 +00:00
briggs 53c52257e1 Comiskey Park was the host of the Disco Demolition in 1979. Home of the
Chicago White Sox for 81 seasons: 1910-1990.
2002-07-12 13:42:06 +00:00
jdolecek 54b42d3fa5 Add entries for Thomas Kelly and Queen Elizabeth
Provided by in bin/16219 by John Franklin.
2002-07-09 22:25:06 +00:00
itojun 2cdb2f419e japan fix due to emperor change (1988) - 4/29 is now called greenary day,
12/23 is the new emperor's birthday.
2002-07-04 14:16:56 +00:00
wiz 2ecc494864 Move LOTR dates to calendar.lotr. Add 09/11 terrorist attack.
Patch from John Franklin in misc/17461.
2002-07-04 14:09:59 +00:00
atatat 1ba0247f4a Lorian -> Lorien 2002-05-18 16:18:10 +00:00
mjl 72cfdcede0 Normalize BC year format, correct a few typos, remove duplicate Descartes.
Partly from FreeBSD.
2002-03-18 00:05:34 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
christos bb58ba64b2 - 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]
2001-12-04 15:55:32 +00:00
wiz 972bdd863c Use .Bd -literal instead of -unfilled. 2001-12-01 18:52:13 +00:00
wiz aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
wiz 397bf83de7 Fix description of Thanksgiving Day per misc/14519 by Lawrence Doan,
and add a '*' since it's a moving target.
2001-11-10 08:21:07 +00:00
wiz a9356936b4 seperate -> separate 2001-07-22 13:33:58 +00:00
mjl 134be573b3 Fix spelo: diffentiation -> differentiation 2001-06-29 23:33:02 +00:00
cgd a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
cgd 9725bb291b __CONCAT does token pasting, not string concatnation. if something like:
__CONCAT("foo","bar");
actually works to concantate strings, it's because the preprocessor expands
it into "foo""bar" as separate strings, and then ANSI string concatenation
is performed on that.  It's more straightforward to just use ANSI string
concatenation directly, and newer GCCs complain (rightly) about misuse
of token pasting.
2000-12-20 01:03:16 +00:00
christos e8048693f8 Open only plain files [please someone add O_REG_ONLY]. Since /etc/daily
runs calendar -a, a malicious user can put a fifo in his home directory
to prevent calendar from completing. Many thanks to: dynamo@ime.net
2000-11-29 15:29:51 +00:00
simonb 2c0eddaf19 Don't declare 'extern opt*' getopt variables.
Don't need to declare __progname in getmmdd() - it's already done earlier
in this file.
2000-04-14 06:07:14 +00:00
briggs ec0bcc8e62 Add entry for birthday of John Towner Williams (08 Feb 1932). He's most
well-known for his movie scores, which include Star Wars, E.T., Close
Encounters of the Third Kind, Schindler's List, Indiana Jones (all
three), and many, many more.  He was also the 19th conductor of the
Boston Pops.
2000-02-09 13:05:55 +00:00
mason 02a7de3c63 Fixed wording error. 1999-12-03 15:09:24 +00:00
drochner 85cbf55d16 Since our gcc doesn't warn about NULL format strings anymore, we can
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
1999-11-09 15:06:30 +00:00
lukem 3f8c4dac86 revert previous 1999-11-02 10:55:47 +00:00
lukem 0895d2339e remove superfluous '-' in getopt string 1999-11-02 10:52:49 +00:00
briggs 042ade9674 Get pedantic about Pioneer's achievements. It was Pioneer 10
in 1983 that past Neptune's orbit.  That does not, however, mean that it
left the solar system since the solar system is defined by the heliosphere.
1999-06-13 18:52:28 +00:00
kleink 5c1e52ca24 Fix spelling of Gauss' fist name. 1999-05-02 18:41:41 +00:00
hwr 3be15b9a38 Remove duplicated entry. 1999-04-11 12:56:15 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
christos 9b6b9cac77 - factor out common code
- char -> unsigned char
1998-11-06 22:56:38 +00:00
hwr 28a88d13b8 Typo *sigh* 1998-10-21 20:24:11 +00:00
hwr 1332e7b200 Jon Postel died ;-( 1998-10-21 17:44:05 +00:00
wsanchez 1426fb14d2 Use __CONCAT to concatenate strings "-I" and _PATH_CALENDARS. 1998-10-12 20:51:06 +00:00
wsanchez 76847494e0 Replace _PATH_INCLUE with _PATH_CALENDARS for clarity. 1998-10-12 20:38:55 +00:00
kleink 20eda71b18 It's sufficient to list Janis Joplin's death once only. 1998-10-02 18:19:05 +00:00
lukem 9dee5d2b46 don't install in /usr/share if NOSHARE is defined 1998-09-27 17:22:03 +00:00
mycroft 519d858510 __AUDIT__ cleanup. 1998-07-28 19:22:54 +00:00
mycroft f9f7e98dab const poisoning. 1998-07-27 07:41:31 +00:00
kleink c31696e747 Need <time.h> for time(), localtime(), strftim() and mktime() prototypes. 1998-04-01 20:50:17 +00:00
christos ae32ae7441 - Y2K fixes
- fix usage message
1998-02-04 15:19:50 +00:00
lukem 0b3de1cab3 WARNSify, fix .Nm usage, deprecate register 1997-10-18 12:27:31 +00:00