summaryrefslogtreecommitdiff
path: root/bin/csh
AgeCommit message (Collapse)Author
2006-03-17off-by-one; inspired by a netbsd coverity fix; ok deraadt@Otto Moerbeek
2005-12-11unused code and variablesTheo de Raadt
2005-11-10document that csh will do fast mode startup if $HOME is not setAlexander von Gernler
ok jmc@ fgsch@
2005-05-24-ansi considered harmful, even in commentsTodd C. Miller
2005-05-12.Xr script 7Jason McIntyre
2005-03-13Use pid_t where appropriate. From Bruno Rohee (thanks).Chad Loder
2005-02-25no more Strncpy or Strncat, everTheo de Raadt
2005-02-25spacingTheo de Raadt
2004-08-08print vmemoryuse immediately after vmemoryuse in limit outputTodd C. Miller
2004-08-07vmemsize -> vmemoryuse for consistency with tcsh and document. mickey@ OKTodd C. Miller
2004-08-06conditional use of RLIMIT_VMEM (like ksh)Michael Shalayeff
2004-08-03insure -> ensure;Jason McIntyre
2004-05-15print the whole hint for bad limit modifiers. ok otto pedroTed Unangst
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