summaryrefslogtreecommitdiff
path: root/usr.bin/calendar
AgeCommit message (Collapse)Author
2001-09-03No longer any reason to care if calendar file is a pipe or not.Paul Janzen
2001-09-03- Prevent users from hanging or killing 'calendar -a', at the cost ofPaul Janzen
one additional fork() per user who has a calendar file. Side effect is that root runs much less code. - Use login caps so we don't, for example, give a user more processes than he's allowed. - tmpfile() rather than mkstemp() means never leaving junk behind. - Don't let 'calendar -a' take more than a day. Reviewed by millert@
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-06-05errx->err where errno is setPaul Janzen
2001-01-09Get Dijkstra's middle initial correct too, as in PR 1613; gently pointedPaul Janzen
out by janjaap@stack.nl (Janjaap van Velthooven). Really fixes user/1613 this time.
2001-01-08spellingPaul Janzen
2000-12-07only accept real files for the calendar file. requires some cuteTheo de Raadt
nonblocking hackery.
2000-11-21Sync usage() output with man page; mpech@prosoft.org.lvAaron Campbell
2000-08-15typo; kravietz@ceti.plNiels Provos
2000-08-02$HOME paranoia: never use getenv("HOME") w/o checking for NULL and non-zeroTodd C. Miller
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
2000-04-15- For consistency, `super-user' -> `superuser' in all cases.Aaron Campbell
- Some punctuation fixes. - Some `id' -> `ID'.
2000-03-23More pedantic man page formatting insanity, lalalaAaron Campbell
2000-03-04Many improvements and general cleanup/standardization.Aaron Campbell
1999-12-17grammar; one instance found by NetBSDPaul Janzen
1999-11-25Parse dates only before the first <tab> character; otherwise, weekly eventsPaul Janzen
whose description starts with a valid month are misparsed.
1999-07-04correct use of .Nm; some other formatting nitsAaron Campbell
1999-07-01Dominion Day is now known as Canada Day... don't let the name fool you, itAaron Campbell
means I'm about to drink some serious beer in honor of my country
1999-06-15OopsPaul Janzen
1999-06-15From NetBSD: clear up the Pioneer 10 entry. While I'm at it, I've movedPaul Janzen
fictional events (mainly from Lord of the Rings) to calendar.fictional, removed a few events which don't really correspond to a specific date, and fixed a few duplicates and such. This file has still not been fact-checked, though.
1999-04-25Fixed bug involving offsets from yearly "special events" (i.e Easter).Paul Janzen
1999-04-20Don't call sendmail with "-f root" since sendmail isn't run by a "trustedPaul Janzen
user". Removes the X-Authentication-Warning. From FreeBSD.
1999-03-04Correctly handle yearly events occurring on fixed weekdays in all cases.Paul Janzen
1999-01-14hmm, after all it seems Julian again, but still has nothing to do w/ the ↵Michael Shalayeff
united states (;
1999-01-14this is Gregorian calendar, and it has nothing to do w/ united statesMichael Shalayeff
1998-12-16more .Nm fixesAaron Campbell
1998-12-13Show periodic events the correct number of times.Paul Janzen
Calculate special events (Easter) correctly regardless of which year they occur in (thus fixing user/562). Keep locales and special event names from propogating from one user to the next during "calendar -a". Set up a framework to handle special events other than Easter (for instance, Jewish events, eventually). Various other fixes.
1998-11-08Wording and accuracyPaul Janzen
1998-11-08Sort output by date; include framework for showing periodic events more thanPaul Janzen
once
1998-11-05Easter and Y2K leap year fixPaul Janzen
1998-11-04Various fixes, including closing user/630.Paul Janzen
1998-11-03Some cleanup and some checks from the Encyclopedia Britannica OnlinePaul Janzen
1998-11-03For -t option, call the first two digits of the year cc (century) like date(1)Todd C. Miller
1998-11-03Document some bugs wrt -A and -BTodd C. Miller
1998-11-02It's "Daylight Saving Time", since it saves daylight.Paul Janzen
1998-11-02If de Broglie really had been born in 1774, his 1929 Nobel would havePaul Janzen
arrived quite past his peak years.
1998-10-31note samich claus brewingMichael Shalayeff
1998-09-23usr.bin/ man page repairs, a - eAaron Campbell
1998-08-04note hamburger, potato and B-25Michael Shalayeff
1998-03-30Y2K fixes from Andreas.Gunnarsson@emw.ericsson.se; culled from various placesTheo de Raadt
1998-02-23Avoid a few strlen's as strftime(3) returns the len.Todd C. Miller
1998-02-14Give correct format to strftime(3) instead of using "%c" and makingTodd C. Miller
assumptions as to what that will look like (which is idiotic as %c is locale-dependent).
1998-01-31equal timekstailey
1998-01-06one less tabMichael Shalayeff
1997-09-21$OpenBSD$Theo de Raadt
1997-09-15Don't do a setlogin() as it affects everything in the session, notTodd C. Miller
just that process.
1997-09-12Kill extra newline in err()/warn().Todd C. Miller
1997-09-08call setlogin(2)Todd C. Miller
1997-08-27converted all delimiting spaces to tabs so calendar can grok the entriesNiels Provos
1997-08-27forgot to correct the birthday of Bach, and Beethoven did not dieNiels Provos
on the day he was born ;)