summaryrefslogtreecommitdiffstats
path: root/bin/csh/func.c
AgeCommit message (Expand)AuthorFilesLines
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-5/+5
2018-09-08blkfree() takes no action for NULL pointer so callers can avoid checking.miko1-7/+6
2017-12-18No need to declare variable name as static in dounsetenv(). Also, drop aanton1-5/+2
2017-12-16Passing NULL to free() is fine; from Michael W. Bombardieri.anton1-5/+3
2017-08-30Fix pasting of long (>BUFSIZ) lines in csh with filec enabled. NUL-terminatinganton1-2/+3
2017-07-26Postpone printing of prompt if filec is enabled in csh. Any I/O should beanton1-2/+2
2016-08-14Don't reinvent rlim_t; when printing it use %llu and cast toguenther1-16/+14
2015-12-26Replace handrolled xfree() function by directly using free(3)mestre1-16/+16
2015-10-26Clean up cruft made visible by the NLS unifdefing:naddy1-17/+1
2015-10-26unifdef BUILTIN (unused), NLS (always set), SHORT_STRINGS (always set)naddy1-10/+1
2015-09-27lint is dead: delete the trivial uses of /* VARARGS[0-9]+ */guenther1-2/+1
2015-02-08delete tons more caststedu1-4/+3
2015-02-08delete lots of unnecessary ptr_t casts, and drop a little NULL in as welltedu1-16/+16
2014-10-16Use reallocarray() and remove a few archaic memory allocation practices.deraadt1-2/+2
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-9/+1
2004-08-08print vmemoryuse immediately after vmemoryuse in limit outputmillert1-5/+5
2004-08-07vmemsize -> vmemoryuse for consistency with tcsh and document. mickey@ OKmillert1-3/+3
2004-08-06conditional use of RLIMIT_VMEM (like ksh)mickey1-2/+5
2004-05-15print the whole hint for bad limit modifiers. ok otto pedrotedu1-3/+5
2003-06-25protosderaadt1-4/+3
2003-06-23kill printf builtin. no reason to be a builtin, but furthermore, thederaadt1-32/+2
2003-06-11de-register and ansify functionsderaadt1-55/+55
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-7/+3
2003-05-12ansify functions, eliminating prototype declaration warnings; ok deraadt@jsyn1-132/+49
2002-06-09knftodd1-4/+4
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert1-7/+3
2002-02-16Part 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.millert1-18/+18
2001-12-01KNFderaadt1-4/+4
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduderaadt1-3/+3
2001-06-25fix obvious warnings.art1-3/+4
1998-12-16indentderaadt1-9/+9
1998-12-16fix built-in printf argument expansion (ie. printf '%d\n' `echo 23`);deraadt1-2/+15
1997-11-15spellingtodd1-3/+3
1997-07-25#if __STDC__ --> #ifdef __STDC__mickey1-3/+3
1997-07-23tabifykstailey1-3/+3
1997-06-18(foo *)NULL -> NULLkstailey1-3/+3
1996-06-23update rcsidderaadt1-1/+2
1996-02-17From netbsd:niklas1-3/+5
1995-10-18initial import of NetBSD treederaadt1-0/+1523