summaryrefslogtreecommitdiff
path: root/usr.bin/calendar
AgeCommit message (Collapse)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
2019-03-31add Scott Walker; from Chad DoughertyStuart Henderson
2019-03-31Update Jewish holiday dates for this year. While here, add Tu B'Shevat.Brian Callahan
ok cheloha@ some time ago
2019-02-01Fix regresion that prevented -A0 from working as before.Todd C. Miller
This can be used to disable the default behavior of reporting events for the weekend on a Friday.
2019-01-30Use ' and " instead of archaically considering ` a left quote.Anthony J. Bentley
ok deraadt@
2019-01-29replace some archaic quotes with plain variations.Ted Unangst
ok deraadt millert
2019-01-29Fix a bug with -flag where later events may be shown when they should not be.Todd C. Miller
The problem is caused by the special handling of Friday, where calendar will show the upcoming events for the weeked as well. This change disables the special handling of Friday for the -B option, as was already done for -A. From Andy Bradford.
2019-01-17delete some historic $Id that have been chewed on by cvsTed Unangst
ok millert mpi
2018-11-21add st. andrew's day and put the entry for st. patrick's day in a formatJason McIntyre
similar to the others;
2018-06-03rock AND roll!Jason McIntyre
2018-04-24add p2k18Mike Larkin
2018-04-08The assault on Dutschke happened in 1968.Theo Buehler
From Leah Neukirchen
2018-03-01consistently spell "IPsec"; from raf czlonkaJason McIntyre
note that this is only part of raf's original diff: the rest is for code. although i'm sure the diff itself is correct, i don;t judge myself qualified to decide whether those changes are warranted. still, i'd appreciate at least a reply to raf's diff from another developer (yay! nay!)
2017-09-25Calling waitpid(pid,...) where pid is either uninitialized orKenneth R Westerback
-1 because vflork() failed is bad. Initialize pid to -1 and call waitpid() only when pid != -1. Uninitialized use of pid found by clang. Suggestion of -1 from millert@. ok millert@
2017-08-21Use waitpid()/EINTR idiom for the specific pid, rather than generic wait(),Theo de Raadt
in case the parent process was started with a dangling child. This style ensures any potential parent:child interlock isn't disrupted due to the "wrong" child being waited on first. Then the other other childs can safely zombie. ok millert jca brynet
2017-08-10Remove KOI8 lines after 5.9 is out.Theo Buehler
From Jan Stary, Klemens Nanni and others
2017-06-29spelling fix; from greg lehey, freebsd r320427;Jason McIntyre
2016-11-19hyrogen bomb related fixes, prompted by Carson Chittom; dates moved toOtto Moerbeek
UTC. ok tb@ jmc@
2016-09-14Fix bug introduced in the fix for days outside the target month.Todd C. Miller
From Andy Bradford
2016-09-14some fixes from carson chittom;Jason McIntyre
2016-09-11Install the /usr/share/calendar/$lang directories with root as owner.Martin Natano
This will be important as soon as we start building release sets without root privileges. ok deraadt guenther
2016-09-03Retire zaurus, as it hasn't made the EABI jump and will be permanently brokenPhilip Guenther
shortly when we use the hardware thread register in userland
2016-08-31new: Joe Ossanna 1928-1977Ingo Schwarze
from Jan Stary <hans at stare dot cz>
2016-08-31fix fd leaks in error pathsJonathan Gray
ok guenther@
2016-07-13When matching a day in the month, make sure that the date is stillTodd C. Miller
in the month we are interested in after calling mktime(3). This fixes things like Sunday+5 for months where there is not a 5th Sunday and the 31st day in months with less than 31 days. From Andy Bradford
2016-04-11Howard Marks died yesterdayStuart Henderson
2016-03-27Fix spelling of "Beverly Hills". From Carson Chittom.Tim van der Molen
2016-03-11un-un-vax;Jason McIntyre
this file has not been touched in nearly two years - putting this out as a test of whether to propose its removal;
2016-02-16correct(ish) date of death for alexander the great;Jason McIntyre
from soren jacobsen, netbsd -r1.26 i've done it a bit differently though: since the date was listed both in .birthday and .history i added his (reputed) birth date to .birthday and removed the dup. i also standardised the date as "[year][space]BC".
2016-01-28Correct date for Australia Day. From Ian Mcwilliam, ok jmc.Darren Tucker
2016-01-22- new plymouth day is better known as taranakiJason McIntyre
- correct a duplicate south canterbury entry first correction from peter kane second, and diff, from craig skinner
2016-01-20add a calendar for new zealand; from craig skinnerJason McIntyre
2016-01-14add a calendar file for the uk;Jason McIntyre
this is the work of craig skinner - many thanks, craig. i've tweaked it a bit. craig has also fixed a currently incorrect date and moved a couple entries to the uk file/ some outstanding issues (what to do with dups) but it'll be eaiser to work on once in tree
2016-01-11:( David BowieStuart Henderson
2016-01-05the 3rd of january is not a new year's holiday in scotland, as notedJason McIntyre
by craig skinner; craig requested we amended this to 2nd of january, which is officially a holiday in scotland but i think the entry is misleading, so i just zapped it - the occasion is really new year's day, which is the 1st;
2015-12-08Remove NULL-checks before free(). ok tb@mmcc
2015-12-07tweak the code a bit and add a -w option to display day of week.Marc Espie
okay jmc@, millert@
2015-11-21add "getpw" promise to calendar(1) (in doall case only)Sebastien Marie
used with -a in order to iterate on all users using getpwent(3). ok matthieu@ pascal@
2015-11-16pledge calendar:Pascal Stumpf
* "stdio rpath proc exec" in normal mode (execs cpp) * "stdio rpath tmppath fattr id proc exec" in -a mode, which is typically run as root (hint hint) ok deraadt@
2015-10-23Fix a couple of issues in Russian calendar entries:Vadim Zhukov
* Fix #ifndef safeguards (rename/add where missing); * Use consistent spelling for year when it's mentioned in day desc; * Tweak some wrong casing cases; * Remove calendar.msk since Moscow doesn't have summer time anymore, and that was the only thing this file was about; * A few other corrections. Some corrections from Mikhail on tech@, thanks! Small fix & okay from mikeb@.
2015-10-23delete ) that jumped inTheo de Raadt
2015-10-23A bit of whitespace cleanup, to make further diffs smaller.Vadim Zhukov
2015-10-23Fix BODUN handling after switch to UTF-8.Vadim Zhukov
Still wondering if this functionality should be removed, but I'll leave the decision to those who drink alcohol. Input from & okay tedu@.
2015-10-23forgot to commit makefile change for utf-8 calendarsTed Unangst
2015-10-23i assume this file needs a LANG like all the restTed Unangst
2015-10-23translate calendar files to utf-8Ted Unangst
2015-10-12Gahamas -> Bahamas;Jason McIntyre
from pgoyette (netbsd -r1.26)
2015-10-05correct picasso's birth date;Jason McIntyre
from comet (freebsd 116952), via richard
2015-09-25drop useless quotingIngo Schwarze
2015-09-14for argument placeholders for file names use .Ar, not .PaIngo Schwarze