summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc/realloc.c
AgeCommit message (Expand)Author
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