Name |
Last commit
|
Last update |
---|---|---|
.. | ||
failalloc.c | ||
failalloc.h | ||
stdalloc.c | ||
stdalloc.h | ||
win32_leakcheck.c | ||
win32_leakcheck.h |
Add `GIT_DEBUG_STRICT_ALLOC` to help identify problematic callers of allocation code that pass a `0` size to the allocators and then expect a non-`NULL` return. When given a 0-size allocation, `malloc` _may_ return either a `NULL` _or_ a pointer that is not writeable. Most systems return a non-`NULL` pointer; AIX is an outlier. We should be able to cope with this AIXy behavior, so this adds an option to emulate it.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
failalloc.c | Loading commit data... | |
failalloc.h | Loading commit data... | |
stdalloc.c | Loading commit data... | |
stdalloc.h | Loading commit data... | |
win32_leakcheck.c | Loading commit data... | |
win32_leakcheck.h | Loading commit data... |