Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change all tame callers to namechange to pledge(2). | 2015-10-09 | 1 | -3/+3 | |
| | |||||
* | tame "stdio rpath" or tame "stdio" suffices for all of these programs. | 2015-10-05 | 1 | -1/+4 | |
| | | | | | | | fairly easy to audit by running nm and noticing nothing beyond base stdio except for fopen/freopen. Then review all callpaths to those functions, and place the tame() calls. ok sthen | ||||
* | Eliminate use of TM_YEAR_BASE. OK guenther@ deraadt@ miod@ | 2015-03-17 | 1 | -3/+3 | |
| | |||||
* | tzfile.h is an internal header that should never have been installed. | 2015-03-15 | 1 | -2/+1 | |
| | | | | | | | | | What's worse, the tzfile.h that gets installed is over 20 years old and doesn't match the real tzfile.h in libc/time. This makes the tree safe for /usr/include/tzfile.h removal. The TM_YEAR_BASE define has been moved to time.h temporarily until its usage is replaced by 1900 in the tree. Actual removal of tzfile.h is pending a ports build. Based on a diff from deraadt@ | ||||
* | unsigned char casts are needed for these isdigit & isprint calls | 2013-11-20 | 1 | -3/+3 | |
| | | | | ok benno | ||||
* | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | 2009-10-27 | 1 | -12/+1 | |
| | | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | ||||
* | Fix iso weekno calculation by using a different algorithm. Still hard | 2009-01-01 | 1 | -25/+38 | |
| | | | | | to follow, but this one has a documented origin at least; ok pyr@ jasper@ | ||||
* | Allow cal to show week numbers. Switch between sunday based week numbering | 2008-04-18 | 1 | -16/+93 | |
| | | | | | | | | | and ISO 8601 monday based week numbering with overlapping weeks if the -m flag is present. many positive feedback received. ok mbalmer@, jasper@, simon@ input from todd@ | ||||
* | Introduce the -m flag which shows weeks as starting on mondays. | 2008-04-10 | 1 | -16/+53 | |
| | | | | | input from tom@ through markus@ ok henning@, mbalmer@ and jmc@ | ||||
* | Optimise a couple of printf()s; originally from Han Boetes. | 2006-10-29 | 1 | -5/+4 | |
| | | | | Reminded by, and ok, otto@. | ||||
* | atoi/strtonum from han boetes | 2006-04-25 | 1 | -3/+5 | |
| | |||||
* | KNF, no binary change. | 2006-03-24 | 1 | -5/+5 | |
| | | | | From Han Boetes. | ||||
* | oops - forgot to remind tom to update usage(); | 2005-12-08 | 1 | -3/+3 | |
| | |||||
* | Tidy up month parsing: don't accept "mayor" for "may", or "4x" for "4". | 2005-12-07 | 1 | -9/+8 | |
| | | | | | | | And strptime(3) %b and %B conversions are the same, so don't bother trying both. ok otto@ | ||||
* | cal now (well, has done for a while) accepts a single argument | 2005-09-25 | 1 | -3/+3 | |
| | | | | | | | | | | | | of the abbreviated month name: update SYNOPSIS, usage(), and DESCRIPTION to reflect this; remove a sentence that was repeated in the text - replace it with something marginally more useful; be clear that both numerical and string arguments are now accepted; escape some hyphens whilst here; | ||||
* | range check months 1-12; ok tedu millert others | 2005-08-24 | 1 | -10/+12 | |
| | |||||
* | spacing | 2005-07-06 | 1 | -5/+5 | |
| | |||||
* | warning clean and constiness | 2005-07-06 | 1 | -16/+14 | |
| | |||||
* | drop in parsemonth from freebsd. | 2005-07-06 | 1 | -6/+33 | |
| | | | | | | use it to parse month, so "cal june 2005" works as expected. if only one arg is given, see if it could be a month ok deraadt | ||||
* | do not trust snprintf return value; ok otto mickey | 2005-04-13 | 1 | -3/+4 | |
| | |||||
* | mostly ansi cleanup; pval ok | 2003-06-10 | 1 | -28/+13 | |
| | |||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-03 | 1 | -7/+3 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | more snprintf | 2002-05-29 | 1 | -5/+6 | |
| | |||||
* | Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | 2002-02-16 | 1 | -12/+12 | |
| | |||||
* | nothing important... | 1998-04-25 | 1 | -3/+3 | |
| | |||||
* | Y2K fixes from Andreas.Gunnarsson@emw.ericsson.se; culled from various places | 1998-03-30 | 1 | -5/+7 | |
| | |||||
* | getopt(3) returns -1 when out of args, not EOF, whee! | 1997-01-15 | 1 | -3/+3 | |
| | |||||
* | use 2-char day names; from wosch@cs.tu-berlin.de | 1996-08-11 | 1 | -4/+4 | |
| | |||||
* | rcsid | 1996-06-26 | 1 | -1/+2 | |
| | |||||
* | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+433 | |