summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc/realloc.c
AgeCommit message (Expand)Author
2016-01-10order of special checks mattersWaldemar Brodkorb
2015-04-13return NULL for realloc(p,0) like glibcWaldemar Brodkorb
2009-10-15malloc: handle size overflows in realloc()Mike Frysinger
2009-09-18trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer
2008-10-28Finally fix the MALLOC=y and MALLOC_SIMPLE=y breakage from svn 23660. (I fou...Rob Landley
2008-10-16This should fix malloc with debug and without threads. (Chase N Douglas)Bernhard Reutner-Fischer
2008-10-11Fix bug 4994 hangs on read(). I have tested the patch extensibly on ARM/LT.old.Khem Raj
2008-05-19Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko
2007-04-24fix from Bernd Schmidt for realloc shrinkage bugMike Frysinger
2007-04-13fix up malloc debug buildingMike Frysinger
2006-02-22check for a 0 size first, then check for a NULL pointerMike Frysinger
2006-01-14hidden_def/hidden_proto: convert all users (I hope) termios split, add some m...Peter S. Mazinger
2005-12-01Hide mostly used functionsPeter S. Mazinger
2003-10-16Code formatting cleanup.Miles Bader
2003-09-06Fix errno values. Fix MALLOC_GLIBC_COMPAT handling in malloc/malloc.c,Eric Andersen
2002-11-21Improve malloc debugging support.Miles Bader
2002-10-17Fix malloc so it compiles and works when using pthreadsEric Andersen
2002-10-15Use __heap_[un]lock instead of __malloc_[un]lock.Miles Bader
2002-09-09(realloc): Record the correct size in the malloc header in the caseMiles Bader
2002-08-19(realloc): Follow new arg conventions of MALLOC_SET_SIZE.Miles Bader
2002-08-14Handle zero NEW_SIZE case.Miles Bader
2002-08-01Use MALLOC_REALLOC_MIN_FREE_SIZE.Miles Bader
2002-07-31In the allocate-and-copy case, don't include the malloc header in ourMiles Bader
2002-07-31Update debugging printfs.Miles Bader
2002-07-31Account for MALLOC_HEADER_SIZE when calculating new size.Miles Bader
2002-07-30Make sure NEW_SIZE is a multiple of HEAP_GRANULARITY.Miles Bader
2002-07-30Update the size of grown/shrunk allocations.Miles Bader
2002-07-30Implement shrinking.Miles Bader
2002-07-25Redo the locking, so that it may actually work. Now locking is done atMiles Bader
2002-07-24Misc small cleanups.Miles Bader
2002-07-23* Automatically try to unmap heap free-areas when they get very big.Miles Bader
2002-07-19Doc fix.Miles Bader
2002-07-18Miles Bader implemented a new mmap based malloc which is muchEric Andersen