summaryrefslogtreecommitdiff
path: root/bin/csh
AgeCommit message (Collapse)Author
2004-04-21correct way to specify a numeric argument to pushd is `+n', not `n';Jason McIntyre
from NetBSD (-r1.43);
2004-04-21- add margin when formatting w/ -TasciiJason McIntyre
- update doc w/ reality - grammar/punctuation fixes Thanks Todd Miller, who provided feedback, fixed some buggy examples, fixed some of my blunders, and sanity checked the diff (and ok'd it);
2004-04-19point people to usd doc;Jason McIntyre
2004-03-18wording/grammar improvements from Jared Yanovich;Jason McIntyre
2004-02-01add paper.txt target;Jason McIntyre
2003-12-01Truncate the source string before copying during variable substitutionTodd C. Miller
so we copy the correct number of bytes. Fixes a bug introduced in revision 1.11. Closes PR 3591
2003-10-30double word from Tom Cosgrove;Jason McIntyre
2003-09-25Fix a bug where one byte past the end of a buffer could be touchedTodd C. Miller
in certain cases; closes PR 3163
2003-09-19When sanity checking signal numbers, error out on signal >= NSIG,Todd C. Miller
not > NSIG. This makes cvs give a nice error message for "kill -NSIG 666" instead of EINVAL. From aaron@monkey.org.
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-06-25protosTheo de Raadt
2003-06-23kill printf builtin. no reason to be a builtin, but furthermore, theTheo de Raadt
handling of format strings is quite non-compliant.
2003-06-23Don't not use getopt() in printf(1) since it causes formats beginningTodd C. Miller
with a '-' to be interpreted as flags. Noticed by Alan Barrett. There is really no reason for this to be a builtin in csh...
2003-06-16better document "limit";Jason McIntyre
from NetBSD (Matthias Scheler); ok deraadt@ millert@
2003-06-11de-register and ansify functionsTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-29section reorder;Jason McIntyre
2003-05-14add missing prototype; ok deraadt@Jason Peel
2003-05-12ansify functions, eliminating prototype declaration warnings; ok deraadt@Jason Peel
2003-05-12add s_strl{cat,cpy} prototypes; ok tedu@Jason Peel
2003-05-12s_strn{cpy,cat} are no longer used; remove them. also, kill NOTUSED.Jason Peel
ok tedu@
2003-05-12strstr() prototype shouldn't be here; kill NOTUSED and an extra newline;Jason Peel
ok tdeval@, tedu@
2003-05-12cpu -> CPUJason McIntyre
2003-05-12fix overflow in implicit constant conversion; ok millert@Jason Peel
2003-05-08NUL-terminate the buffer returned by readlink() before we use it to Strlcpy()Vincent Labrecque
ok millert@
2003-04-30strvis -> strnvisVincent Labrecque
ok millert@
2003-04-28typos;Jason McIntyre
suggestions, corrections and ok millert@
2003-04-15remove final call to Strcpy/s_strcpy; some help from teduTheo de Raadt
2003-04-08Strcat/s_strcat is unusedTheo de Raadt
2003-04-07Strlcpy improvements. ok deraadt@Ted Unangst
2003-03-09grammar fixesDavid Krause
ok millert@
2003-01-08bring in strlcpy and strlcat-like things for dealing with Char types,Theo de Raadt
this fixes at least 15 buffer overflows; some help from dhartmei. Anyone want to go do the same in ksh, and help with some of the while (*s++ = *p++) loops in here?
2002-08-12Swap args to calloc(3) so they are in the correct order; art@ ok.Aaron Campbell
2002-07-24Fix a bug I inadvertanly introduced while fixing the last problem in here.Todd C. Miller
The item list really did want to be zero-filled since free_items() relies on this to find the end point. However, this is really pretty dumb since we *know* how many items are in the list. This highlights the elusive bug I was trying to fix--free_items() expects the list to be NULL-terminated which was not the case if the list was full. The fix is to simply pass free_items() the number of elements in the list.
2002-07-15Remove 1024 directory entry limit for tenex-style file completion.Todd C. Miller
This fixes a mysterious segv when doing file completion twice in directories w/ more than 1024 files.
2002-06-09knfTodd T. Fries
2002-06-09spelling; moritz@jodeit.orgTheo de Raadt
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-17A couple temporary workarounds for vax toolchain bugs.Hugh Graham
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-14Avoid overflow in usage percent calculation. ok deraadt@Thomas Nordin
2002-02-01avoid SEGV on out-of-range argument reference ("echo $020129163642").Jun-ichiro itojun Hagino
2001-12-01KNFTheo de Raadt
2001-11-13o) start new sentence on a new line;Mike Pechkin
o) don't use .Pp before/after .Ss; o) wrap long lines; o) fix bogus .Xr usage; millert@ ok;
2001-08-02pet peeve, insure vs ensureHugh Graham
insure is to indemnify against some contingency ensure is to make sure
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-06-25unsmoke drugs.Artur Grabowski
2001-06-25fix obvious warnings.Artur Grabowski
2001-06-22mark signal races, and remove junkTheo de Raadt