Commit Graph

171 Commits

Author SHA1 Message Date
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
thorpej a73d0efd45 Enhancements from Ty Sarna <tsarna@endicor.com>, per PR #3935. Allow
user to:
- get entries from a file other than "calendar".
- get entries for a different date than today.
- get entries for a whole week in advance, or only one day.
1997-08-26 19:58:10 +00:00
fair 80b4ae52e8 fix PR#3278, add some other dates taken from historical sources available on the web 1997-08-14 11:28:07 +00:00
lukem 19474db41e Ensure calendar doesn't go past \0 in a string.
From Douglas Crosher <dtc@scrooge.ee.swin.oz.au> in [bin/1018]
1997-06-20 08:11:34 +00:00
christos 3917c3179d - Makefile cleanups 1997-03-24 21:57:01 +00:00
explorer ff34809355 Add Carl Sagan's death 1997-02-20 21:54:39 +00:00
perry 979eb7d04f close pr-2767 -- add German Reunification Day (from Heiko Rupp) 1997-01-17 15:24:51 +00:00
perry 93933ccd04 Close pr-3115 from stephen.ma@jtec.com.au. He claims:
Sydney was settled by the English on 26 Jan, 1788 not 1778
1997-01-17 05:35:10 +00:00
perry e1389b7341 Add David Packard & Konrad Zuse's deaths to calendar.birthday
submitted by Heiko W.Rupp.
closes pr-2448
Also, moved Alan Turing's birthday from calendar.computer to
calendar.birthday, removed duplicate Thoreau entry and cleaned up date
ordering in calendar.birthday
1997-01-17 02:32:00 +00:00
thorpej 150c33e60b Use ${INSTALL}. 1996-10-18 05:55:26 +00:00
neil b488cc87de Added World AIDS Day. Which is today.
12/01   World AIDS Day
1995-12-01 09:42:09 +00:00
jtc 29ab121b2f Sync with 4.4lite2 1995-09-02 05:38:38 +00:00
cgd b661cbe2e9 fix typo in Judy Garland's name, from Kenneth Stailey in pr 1147 1995-06-20 10:03:05 +00:00
glass e9d0e83acb merged with 4.4Lite. 1995-03-27 08:46:11 +00:00
hpeyerl fdecad7de9 Fix for verbal dayname parsing and support for CALENDAR_DIR
environment variable.  Also take out a superfluous word in the
manpage.
1995-03-26 03:59:07 +00:00
cgd 7bcf44497f invoke cpp with -P 1994-12-30 21:57:09 +00:00
cgd 749dc802ca fix "bin/135: calendar bug", and another bug found while looking into it.
the reported bug was fixed with the reported fix, from Keith White
<kwhite@csi.UOttawa.CA>.  The newly-found bug was fixed by me.
1994-02-22 09:46:29 +00:00
cgd c440ffb67d kill bogus install -d's, and clean slightly 1994-02-10 01:54:10 +00:00
jtc 41954280cb spelling mistakes 1994-02-03 17:47:18 +00:00
cgd 156269bbe4 off-by-one fix, from fen@netcom.com (Fen Labalme, and more (from me) 1994-01-05 13:13:00 +00:00
jtc b79c476d97 Use ".At v7" macro instead of spelling out "Version 7 AT&T UNIX". 1993-11-30 00:18:19 +00:00
jtc 64c09c1d3c Comma separate items in SEE ALSO section.
It's crond(8), not cron(8).
1993-10-04 23:16:31 +00:00
jtc 3751e964dc Always use `install -d' to make sure destination directory exists & has
correct ownership and permissions.
1993-10-01 00:35:19 +00:00
cgd a426a86fe5 note that communism has gone away in hungary...
from Szabolcs Sziget <pink@bagira.fsz.bme.hu>
1993-09-05 00:59:37 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft 690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
cgd dc621b97bd make sure directory for calendar files exists before installing them 1993-04-09 10:26:42 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00