about summary refs log tree commit diff
path: root/Src/mem.c
Commit message (Collapse)AuthorAgeFilesLines
* 34451: use mmap() also on Mac OS XJun-ichi Takimoto2015-02-031-0/+4
| | | | | Let MAP_ANONYMOUS be an alias to MAP_ANON if the former is not defined.
* 32853: redefine VARARR() to use heap rather than stack allocationBarton E. Schaefer2014-07-241-1/+4
| | | | enable old behavior via "configure --with-stack-allocation"
* 32789: --enable-zsh-valgrind allows analysis of heap allocationPeter Stephenson2014-06-241-4/+95
|
* 32737, 32736 (32741), 32735, 32734, 32733, 32732 (32739): Strict compilationNikolas Garofil2014-06-071-3/+3
| | | | | | | | | | | fixes Src/utils.c: properly ifdef declarations Src/zsh_system.h: memmove() should return its dest argument Src/signals.c: define ret before use Src/mem.c: remove unused pointers Src/prototypes.h: use size_t in bcopy() Src/compat.c: fix const declaration inconsistency
* unposted: reformulate 32285 to lift the fheap->sp test out of the loop, ↵Barton E. Schaefer2014-01-221-15/+9
| | | | improve commentary
* 32285: restart the fheap search in freeheap if the current fheap arena is ↵Barton E. Schaefer2014-01-181-0/+9
| | | | about to be discarded; fixes crash
* 29282: hide prototypes for ZSH_HEAP_DEBUG with #ifdef'sPeter Stephenson2011-05-141-0/+5
|
* 29267: add -enable-zsh-debug and use for debugging completion matcher groupsPeter Stephenson2011-05-141-0/+194
|
* 29175: optimize freeheapBart Schaefer2011-05-071-2/+22
|
* 25632: xRaich[o]²x: Src/mem.c: munmap() argument was wrong.Peter Stephenson2008-09-111-2/+2
|
* 25057: better debug error on memory failurePeter Stephenson2008-05-171-1/+1
|
* 23339: make malloc(0) allocate a bytePeter Stephenson2007-04-301-1/+17
|
* 22474: use variable argument lists to improve error message handlingPeter Stephenson2006-05-301-4/+4
|
* 22321: optimize 22318.Bart Schaefer2006-03-061-0/+15
|
* 20173: fix crash when reallocating heapsPeter Stephenson2004-07-171-0/+1
|
* Marked unused parameters with the new UNUSED() macro.Wayne Davison2004-06-021-1/+1
|
* fix bug I missed, somehowPeter Stephenson2004-05-121-12/+14
|
* 19920: attempt to improve hrealloc()Peter Stephenson2004-05-121-39/+114
|
* a la 19209: zcalloc -> zshcallocPeter Stephenson2003-10-291-2/+2
|
* 17582: Improved option argument handling.Peter Stephenson2002-08-271-8/+8
| | | | unposted: Updated version to 4.1.0-dev-6 because of interface change.
* 17503: fix various typos and spelling mistakes in source code commentsOliver Kiddle2002-08-051-3/+3
|
* two optimisationsSven Wischnowsky2001-03-071-3/+5
|
* remove 13108 (trap queues); replace with signal queueing to ensure that user ↵Sven Wischnowsky2001-01-161-7/+52
| | | | signal handlers are only executed when it is safe to run them (13365)
* 12846: moved simple string manipulation functions to string.cClint Adams2000-09-191-26/+0
|
* 12411, 12419: Andrej: environment handling with fewer assumptionsPeter Stephenson2000-07-281-124/+252
|
* Initial revisionTanaka Akira1999-04-151-0/+1254