summaryrefslogtreecommitdiffstats
path: root/bin/csh/misc.c
AgeCommit message (Expand)AuthorFilesLines
2018-10-24Fix some minor issues found by coverity.martijn1-5/+4
2018-09-18Restore the xmalloc(), xcalloc(), xreallocarray() and xstrdup() changes.millert1-17/+1
2018-09-18backout last week of csh diffs. They are disasterously broken, on i386deraadt1-8/+20
2018-09-17Replace any() with strchr(3).martijn1-12/+1
2018-09-15strsave() is hard-fail strdup() so simplify and rename to xstrdup().miko1-9/+8
2017-06-20Don't try to close every single file descriptor up to _SC_OPEN_MAX in csh.anton1-4/+34
2016-08-14Don't call sysconf() in a loop conditional when the loop won't affect itguenther1-2/+3
2015-12-26Replace handrolled xfree() function by directly using free(3)mestre1-4/+4
2015-10-26miscellaneous cruft:naddy1-19/+1
2015-10-26unifdef BUILTIN (unused), NLS (always set), SHORT_STRINGS (always set)naddy1-39/+1
2015-02-08delete tons more caststedu1-6/+4
2015-02-08delete many more ptr_t caststedu1-4/+4
2014-10-16Use reallocarray() and remove a few archaic memory allocation practices.deraadt1-3/+3
2012-12-04remove some unnecessary sys/param.h inclusionsderaadt1-2/+2
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-9/+1
2005-12-11unused code and variablesderaadt1-11/+2
2003-06-11de-register and ansify functionsderaadt1-73/+43
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-7/+3
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-3/+3
1997-07-25#if __STDC__ --> #ifdef __STDC__mickey1-3/+3
1996-11-02Update from NetBSD (christos)millert1-2/+15
1996-06-29s/NOFILE/sysconf(_SC_OPEN_MAX)/deraadt1-3/+3
1996-06-23update rcsidderaadt1-1/+2
1995-10-18initial import of NetBSD treederaadt1-0/+426