Commit graph

67 commits

Author SHA1 Message Date
Steve Price
8583a41b1e Update to reflect the current Jewish calendar.
PR:		5683
Submitted by:	jgrosch@MooseRiver.com
1998-02-08 22:57:59 +00:00
Steve Price
fa15c4ed1b Update for new common calendar.
Submitted by:	Josef Grosch <jgrosch@superior.mooseriver.com>
1998-01-12 03:31:17 +00:00
Philippe Charnier
8e59a4734d Something important happened last year. And this file was last updated
in 82.
PR:		misc/5416
1998-01-07 07:40:54 +00:00
Wolfram Schneider
93a590c71d typo. 1997-10-26 12:51:30 +00:00
Wolfram Schneider
2cd9b8b252 Use croation week day name. This avoid a name clash
between `Subota' and `Sunday'.
         ^^           ^^

Submitted by: Slaven Rezic <eserte@cs.tu-berlin.de>
1997-10-26 12:48:50 +00:00
Poul-Henning Kamp
d030d2d2ae Many places in the code NULL is used in integer context, where
plain 0 should be used.  This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.

PR:		2752
Submitted by:	Arne Henrik Juul <arnej@imf.unit.no>
1997-09-18 14:08:40 +00:00
Philippe Charnier
13a8c332b3 Typo fix: Alan Turning is aka Alan Turing. 1997-06-23 06:52:58 +00:00
Philippe Charnier
4d2854f4b5 Use err(3). Abort if strdup() returns NULL. 1997-06-23 06:52:13 +00:00
Andrey A. Chernov
f5c35e8344 Add yet one holiday 1997-06-11 16:32:11 +00:00
Andrey A. Chernov
e3b1e729c9 Change holiday name to official one 1997-05-01 14:39:55 +00:00
Warner Losh
1c8af87873 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Mike Pritchard
91f3c635fd Added calendar entries from OpenBSD and NetBSD that we were missing. 1997-02-25 01:20:28 +00:00
Mike Pritchard
3a548f2524 Add the date of Carl Sagan's death, since we list his birthday.
Obtained from:  NetBSD PR# 3235
1997-02-25 00:45:24 +00:00
Andrey A. Chernov
1f9647442f Holiday renamed
Should go into 2.2
1997-02-24 22:52:52 +00:00
Peter Wemm
53faa0dade Revert $FreeBSD$ to $Id$ 1997-02-22 19:29:21 +00:00
Mike Pritchard
bb5359e97e Don't call sendmail with "-f root" when run with "-a". This
eliminates the "X-authentication-warning" header line that
has been coming out since I made it so that sendmail is
run totally as the user whose calendar file is currently
being processed.
1997-02-16 18:24:44 +00:00
Mike Pritchard
3cdb4c34f5 Fix a couple of typos.
Submitted by:	bde
1997-02-11 03:45:14 +00:00
Mike Pritchard
fab46a51da Really fix calendar to drop all permissions when
run with "calendar -a".  Also don't ignore the return
values from the setuid/setgid calls.

Thanks to bde for making me this about this.
1997-02-09 07:45:03 +00:00
Mike Pritchard
3b4984d039 Initialize the group list when we switch uids when run as
root with "calendar -a".  Drop all privs when execing other
programs.

Obtained from: OpenBSD
1997-02-06 05:42:49 +00:00
Mike Pritchard
3fef3b185e Fix calendar so that it doesn't report strange results on
Jan 1st (and probably other dates as well) for some variable
events.  E.g.

01/SunThird	whatever...

Was being printed as:

Jan  0	Whatever

when calendar was run on January 1st.

Closes PR#2461.
1997-02-02 07:37:46 +00:00
Mike Pritchard
2f1c3cc872 Correct the year that Sydney Australia was settled.
Submitted by:	 <stephen.ma@jtec.com.au>
Obtained from:  NetBSD-bugs PR#3115
1997-01-31 02:22:29 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Mike Pritchard
b82b4e07ee Fix calendar so that you can run it like:
calendar -t 0101 -f file

Previously calendar's time processing routine directly
modified the "0101" argument" which confused getopt.
The time routines now make a copy of the argument
to mess with.
1997-01-12 18:35:14 +00:00
Mike Pritchard
5f169eef3e Remove an extra tab. 1997-01-08 07:24:52 +00:00
Mike Pritchard
b8fbc4da90 Replace a bunch of tabs by spaces, since they
should not be used in man page text.
1996-12-21 20:03:02 +00:00
Mike Pritchard
25b4b4dc62 Grammar/spelling/style fixes.
2.2 candidate.
1996-12-21 19:57:14 +00:00
Andrey A. Chernov
4f2d3b038d Fix Moscow timezone rule 1996-10-05 09:03:37 +00:00
Wolfram Schneider
5a80fb277e sync copyright with /usr/share/examples/etc/bsd-style-copyright 1996-08-27 20:04:45 +00:00
Mike Pritchard
0f7785061e Use the .At macro where appropriate. 1996-08-23 01:06:24 +00:00
Andrey A. Chernov
938954d97e Add yet one holiday 1996-06-07 15:53:44 +00:00
Andrey A. Chernov
0ec972ee91 Describe calendar format & arguments better 1996-05-12 13:26:48 +00:00
Andrey A. Chernov
2089d0009e Includes cleanup
Submitted by: bde
1996-05-11 20:44:21 +00:00
Andrey A. Chernov
6dc9ac1426 Describe russian calendar 1996-05-10 22:26:02 +00:00
Andrey A. Chernov
d15a8f58a4 Add russian data handling 1996-05-10 21:39:38 +00:00
Andrey A. Chernov
733a717c7d Russian calendar 1996-05-10 21:36:56 +00:00
Andrey A. Chernov
9d0a521e31 Localize even more.
FIx Orthodox Easter calculation
Better debug output
1996-05-10 19:31:02 +00:00
Andrey A. Chernov
ebf0ec62f5 Fix typing error 1996-05-10 17:36:33 +00:00
Andrey A. Chernov
7f7d4bbe18 Allow to configure national Easter names.
Speedup my national months/days handling code.
1996-05-10 17:32:06 +00:00
Andrey A. Chernov
ab5dc10734 Localize it
Handle Orthodox Eastern
-Wall cleanup
1996-05-10 16:30:22 +00:00
Wolfram Schneider
a9251605ba Easter was one day to fast.
Unix use days *since* January 1 [0-365], not the 1th day of year etc.
1996-04-09 19:48:31 +00:00
Mike Pritchard
544b5cb2f1 Change calendar to report the actual date for variable day events.
E.g. for Easter, and entries like "04/SunFirst" calendar will
now report:

04/05*	Good Friday (2 days before easter)
04/07*	First Sunday...

instead of:

Easter-2	Good Friday...
04/SunFirst	First Sunday...

I also modified the calendar files to use the variable day format
for a lot of events so that they will be reported correctly.
E.g. U.S. daylight savings time is now listed as:

04/SunFirst	Daylight savings time...

There are still a lot of wrong dates in there for some events
that move from year to year, but I don't have a good calendar handy
right now that I can use for reference.
1996-04-06 01:15:21 +00:00
John Polstra
ffac7b875e Removed the definition of the make variable SHAREDIR. It was clashing
with the definition in bsd.own.mk, causing "make world" to fall over.
1996-04-02 22:26:18 +00:00
Mike Pritchard
83d5ca475c Fix some grammer problems. 1996-03-11 04:50:13 +00:00
Wolfram Schneider
921e4281bd Submitted by: bruce
replace shell loop with make(1) builtin loop
1996-02-18 19:29:45 +00:00
Wolfram Schneider
30c00b0d9b more verbose output during install foreign calendar files 1996-02-18 01:42:44 +00:00
Wolfram Schneider
7dd8098387 Submitted by: Slaven Rezic (Tomic) <eserte@cs.tu-berlin.de>
croatian calendar
1996-02-09 14:35:02 +00:00
Andrey A. Chernov
0ae3124381 Don't make directory here, it is mtree task 1996-02-05 17:35:17 +00:00
Wolfram Schneider
1d6b2fd781 Submitted by: pst
add forgotten file calendar.h. Sorry.
1996-02-03 10:58:11 +00:00
Wolfram Schneider
43ee9528de _de_DE_ISO8859_1_* -> _de_DE_ISO_8859_1_*
+ Muttertag
+ first german newspaper(s) in WWW
+ Konrad Zuse
1996-02-02 06:05:20 +00:00
Wolfram Schneider
43025a6ede easter and easter depending day 1996-02-02 06:04:06 +00:00