1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-17 15:01:40 +02:00
Commit graph

26 commits

Author SHA1 Message Date
Jun-ichi Takimoto
1f62d8d0be 34451: use mmap() also on Mac OS X
Let MAP_ANONYMOUS be an alias to MAP_ANON if the former is not
defined.
2015-02-03 20:50:26 +09:00
Barton E. Schaefer
2f0efe9f59 32853: redefine VARARR() to use heap rather than stack allocation
enable old behavior via "configure --with-stack-allocation"
2014-07-24 08:45:16 -07:00
Peter Stephenson
920db696cb 32789: --enable-zsh-valgrind allows analysis of heap allocation 2014-06-24 18:50:50 +01:00
Nikolas Garofil
4f4d2b8247 32737, 32736 (32741), 32735, 32734, 32733, 32732 (32739): Strict compilation
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
2014-06-07 13:48:40 -07:00
Barton E. Schaefer
6c603a4127 unposted: reformulate 32285 to lift the fheap->sp test out of the loop, improve commentary 2014-01-22 21:47:29 -08:00
Barton E. Schaefer
23f98c3e1d 32285: restart the fheap search in freeheap if the current fheap arena is about to be discarded; fixes crash 2014-01-18 21:22:11 -08:00
Peter Stephenson
ad30100e09 29282: hide prototypes for ZSH_HEAP_DEBUG with #ifdef's 2011-05-14 17:23:23 +00:00
Peter Stephenson
506615ff94 29267: add -enable-zsh-debug and use for debugging completion matcher groups 2011-05-14 00:07:41 +00:00
Bart Schaefer
6150565494 29175: optimize freeheap 2011-05-07 19:32:57 +00:00
Peter Stephenson
ced3570bd1 25632: xRaich[o]²x: Src/mem.c: munmap() argument was wrong. 2008-09-11 19:14:13 +00:00
Peter Stephenson
8ab895baf0 25057: better debug error on memory failure 2008-05-17 17:55:37 +00:00
Peter Stephenson
5f13656d7f 23339: make malloc(0) allocate a byte 2007-04-30 09:27:23 +00:00
Peter Stephenson
dd5602f59b 22474: use variable argument lists to improve error message handling 2006-05-30 22:35:03 +00:00
Bart Schaefer
20aae107b8 22321: optimize 22318. 2006-03-06 15:38:59 +00:00
Peter Stephenson
f5d9a995f9 20173: fix crash when reallocating heaps 2004-07-17 19:24:59 +00:00
Wayne Davison
fb0937a69e Marked unused parameters with the new UNUSED() macro. 2004-06-02 22:14:25 +00:00
Peter Stephenson
8723d530b3 fix bug I missed, somehow 2004-05-12 10:26:41 +00:00
Peter Stephenson
10744b66fd 19920: attempt to improve hrealloc() 2004-05-12 10:20:33 +00:00
Peter Stephenson
815bc92148 a la 19209: zcalloc -> zshcalloc 2003-10-29 19:17:30 +00:00
Peter Stephenson
9634760d5e 17582: Improved option argument handling.
unposted: Updated version to 4.1.0-dev-6 because of interface change.
2002-08-27 21:10:30 +00:00
Oliver Kiddle
af0697b705 17503: fix various typos and spelling mistakes in source code comments 2002-08-05 12:35:59 +00:00
Sven Wischnowsky
33ec971c33 two optimisations 2001-03-07 12:58:40 +00:00
Sven Wischnowsky
757168e2c8 remove 13108 (trap queues); replace with signal queueing to ensure that user signal handlers are only executed when it is safe to run them (13365) 2001-01-16 13:44:18 +00:00
Clint Adams
946085efa5 12846: moved simple string manipulation functions to string.c 2000-09-19 15:54:30 +00:00
Peter Stephenson
4a5882eeb3 12411, 12419: Andrej: environment handling with fewer assumptions 2000-07-28 09:10:35 +00:00
Tanaka Akira
e74702b467 Initial revision 1999-04-15 18:05:38 +00:00