Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2011-02-20 | make malloc(0) return unique pointers rather than NULL | Rich Felker | -1/+1 | |
this change is made with some reluctance, but i think it's for the best. correct programs must handle either behavior, so there is little advantage to having malloc(0) return NULL. and i managed to actually make the malloc code slightly smaller with this change. | ||||
2011-02-20 | fix simple_malloc malloc(0) behavior not to return non-unique pointers | Rich Felker | -0/+1 | |
2011-02-20 | fix simple_malloc size restrictions | Rich Felker | -5/+6 | |
do not allow allocations that overflow ptrdiff_t; fix some overflow checks that were not quite right but didn't matter due to address layout implementation. | ||||
2011-02-12 | initial check-in, version 0.5.0v0.5.0 | Rich Felker | -0/+44 | |