summaryrefslogtreecommitdiffstats
path: root/usr.bin/calendar/io.c
Commit message (Collapse)AuthorAgeFilesLines
* Style improvements recommended by Bruce as a follow up to somedwmalone2001-12-101-5/+6
| | | | | | | | of the recent WARNS commits. The idea is: 1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF.
* WARNS=2 fixup (mostly. Some are Hard To Fix(tm), so NO_WERROR is set)markm2001-12-021-18/+20
| | | | | Use __FBSDID(). Sort some headers.
* Fix the type of the NULL arg to execl()brian2001-07-091-2/+2
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* Don't attempt to parse %c, use nl_langinfo insteadache2001-03-211-5/+10
|
* MAXPATHLEN includes the trailing NUL character, so there's no need to add 1imp2001-03-011-1/+1
| | | | to it for the size of path.
* Adapt to the new `ccp' now that the traditional-behaving /usr/bin/cppobrien2000-01-101-1/+3
| | | | | | | | script is gone. PR: 15932 Submitted by: Jos Backus <Jos.Backus@nl.origin-it.com> Tested by: brian, Manfred Antar <mantar@pacbell.net>
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Missed one in the previous commit.des1998-10-131-3/+3
|
* Use err(3). Abort if strdup() returns NULL.charnier1997-06-231-13/+14
|
* Don't call sendmail with "-f root" when run with "-a". Thismpp1997-02-161-1/+1
| | | | | | | 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.
* Fix a couple of typos.mpp1997-02-111-4/+4
| | | | Submitted by: bde
* Really fix calendar to drop all permissions whenmpp1997-02-091-4/+28
| | | | | | | 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.
* Initialize the group list when we switch uids when run asmpp1997-02-061-0/+4
| | | | | | | root with "calendar -a". Drop all privs when execing other programs. Obtained from: OpenBSD
* Localize even more.ache1996-05-101-3/+17
| | | | | FIx Orthodox Easter calculation Better debug output
* Allow to configure national Easter names.ache1996-05-101-0/+16
| | | | Speedup my national months/days handling code.
* Localize itache1996-05-101-16/+31
| | | | | Handle Orthodox Eastern -Wall cleanup
* Change calendar to report the actual date for variable day events.mpp1996-04-061-4/+15
| | | | | | | | | | | | | | | | | | | | | | | 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.
* - handle events that move around from year to year, i.e.,wosch1996-02-021-0/+271
``the last Monday in April' - handle easter new options -f calendarfile -A days -B days Calendar HOME directory ~/.calendar don't sent mail if ~/.calendar/nomail exist
OpenPOWER on IntegriCloud