summaryrefslogtreecommitdiffstats
path: root/bin/csh/alloc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Restore the xmalloc(), xcalloc(), xreallocarray() and xstrdup() changes.millert2018-09-181-4/+19
| | | | OK deraadt@
* backout last week of csh diffs. They are disasterously broken, on i386deraadt2018-09-181-4/+4
| | | | it becomes entirely unusable.
* remove macros for xmalloc(), xcalloc() & xreallocarray() and just name themiko2018-09-181-4/+4
| | | | | | functions that. ok millert@ martijn@
* Replace handrolled xfree() function by directly using free(3)mestre2015-12-261-7/+1
| | | | OK mmcc@
* remove ptr_t typedef. void * is good enough for csh.tedu2015-02-081-9/+9
|
* delete lots of unnecessary ptr_t casts, and drop a little NULL in as welltedu2015-02-081-4/+4
|
* it's safe to call free with nulltedu2015-02-081-2/+1
|
* no need for realloc() front ends anymorederaadt2014-10-171-13/+1
|
* Use reallocarray() and remove a few archaic memory allocation practices.deraadt2014-10-161-1/+13
| | | | ok deraadt
* Kill the alloc command, which tried to measure behaviour based on sbrk.deraadt2014-10-161-26/+1
| | | | Discussed with guenther.
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-9/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* de-register and ansify functionsderaadt2003-06-111-14/+7
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-191-7/+3
|
* unsmoke drugs.art2001-06-251-3/+3
|
* fix obvious warnings.art2001-06-251-3/+3
|
* #if __STDC__ --> #ifdef __STDC__mickey1997-07-251-3/+3
|
* -Wall'ing.mickey1996-12-141-3/+3
|
* update rcsidderaadt1996-06-231-1/+2
|
* initial import of NetBSD treederaadt1995-10-181-0/+130