Age | Commit message (Collapse) | Author | |
---|---|---|---|
1996-03-07 | (realloc): | Miles Bader | |
Use LOG2_MIN_SIZE. Don't bother allocating a new block if the new size request fits in the old one and doesn't waste any space. Only free the old block if we successfully got a new one. (LOG2_MIN_SIZE): New macro. | |||
1996-03-06 | [MCHECK] (struct header): New type. | Miles Bader | |
(union header): Only define if !MCHECK. (HEADER_SIZE, HEADER_NEXT, HEADER_FREE, HEADER_CHECK): New macros. [MCHECK] (MIN_SIZE): Add correct definition for this case. (more_memory, malloc, free, realloc): Use above macros, and add appropiate checks & frobs in MCHECK case. | |||
1994-05-05 | entered into RCS | Roland McGrath | |
1994-04-06 | Formerly malloc.c.~3~ | Michael I. Bushnell | |
1994-01-22 | Formerly malloc.c.~2~ | Michael I. Bushnell | |
1992-10-06 | Initial revision | Michael I. Bushnell | |