Commit Graph

4 Commits

Author SHA1 Message Date
Uoti Urpala a76f59b039 talloc.c: Update to match current upstream ("likely" macro definitions)
Use the current macro definitions for likely/unlikely from Samba. The
old version lacked parentheses around the non-GCC alternative, but
there are no uses where this would actually make a difference.
2008-12-27 16:52:48 +02:00
Uoti Urpala 7c0e5e8f99 Make talloc abort() instead of returning NULL
Replace (hopefully) all cases where normally successful allocations
could return NULL with abort(). This should allow skipping most checks
on allocation return values.
2008-04-23 13:41:06 +03:00
Uoti Urpala c0c9b26ff9 Hardcode feature checks in talloc.c
Original talloc build system used autoconf to check for features, most
of which were standard C headers. Assume those always exist. Always
use a workaround for the one non-standard feature (strnlen).
2008-04-23 13:41:06 +03:00
Uoti Urpala 27a30e310e Add the talloc memory allocator
Copy talloc.c and talloc.h from Samba (last changed 2008-04-17 in
commit 7b9a647ebbbe9ec9e1b82b42e3a8916396f91273).
2008-04-23 13:41:06 +03:00