Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make malloc(0) return unique pointers rather than NULL | Rich Felker | 2011-02-20 | 2 | -6/+10 |
| | | | | | | | 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. | ||||
* | fix simple_malloc malloc(0) behavior not to return non-unique pointers | Rich Felker | 2011-02-20 | 1 | -0/+1 |
| | |||||
* | fix simple_malloc size restrictions | Rich Felker | 2011-02-20 | 1 | -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. | ||||
* | initial check-in, version 0.5.0 v0.5.0 | Rich Felker | 2011-02-12 | 7 | -0/+671 |