summaryrefslogtreecommitdiff
path: root/bin/csh/func.c
AgeCommit message (Expand)Author
2021-07-02Before calling setrlimit(), pull cur up to max.Theo de Raadt
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-09-08blkfree() takes no action for NULL pointer so callers can avoid checking.miko
2017-12-18No need to declare variable name as static in dounsetenv(). Also, drop aanton
2017-12-16Passing NULL to free() is fine; from Michael W. Bombardieri.anton
2017-08-30Fix pasting of long (>BUFSIZ) lines in csh with filec enabled. NUL-terminatinganton
2017-07-26Postpone printing of prompt if filec is enabled in csh. Any I/O should beanton
2016-08-14Don't reinvent rlim_t; when printing it use %llu and cast toPhilip Guenther
2015-12-26Replace handrolled xfree() function by directly using free(3)mestre
2015-10-26Clean up cruft made visible by the NLS unifdefing:Christian Weisgerber
2015-10-26unifdef BUILTIN (unused), NLS (always set), SHORT_STRINGS (always set)Christian Weisgerber
2015-09-27lint is dead: delete the trivial uses of /* VARARGS[0-9]+ */Philip Guenther
2015-02-08delete tons more castsTed Unangst
2015-02-08delete lots of unnecessary ptr_t casts, and drop a little NULL in as wellTed Unangst
2014-10-16Use reallocarray() and remove a few archaic memory allocation practices.Theo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo 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-05-15print the whole hint for bad limit modifiers. ok otto pedroTed Unangst
2003-06-25protosTheo de Raadt
2003-06-23kill printf builtin. no reason to be a builtin, but furthermore, theTheo de Raadt
2003-06-11de-register and ansify functionsTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-05-12ansify functions, eliminating prototype declaration warnings; ok deraadt@Jason Peel
2002-06-09knfTodd T. Fries
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-12-01KNFTheo de Raadt
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-06-25fix obvious warnings.Artur Grabowski
1998-12-16indentTheo de Raadt
1998-12-16fix built-in printf argument expansion (ie. printf '%d\n' `echo 23`);Theo de Raadt
1997-11-15spellingTodd T. Fries
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-07-23tabifykstailey
1997-06-18(foo *)NULL -> NULLkstailey
1996-06-23update rcsidTheo de Raadt
1996-02-17From netbsd:Niklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt