Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-08-24 | talloc: let talloc_steal() only generate a warning if it's used with references | Stefan Metzmacher | 1 | -2/+1 | |
We have to many callers, which rely on that talloc_steal() never fails. metze | |||||
2009-08-24 | talloc: call return after abort, because an overloaded abort function might ↵ | Stefan Metzmacher | 1 | -0/+4 | |
not exit This will be useful in the testsuite, where we could check if an abort would happen. metze | |||||
2009-08-24 | talloc: report the size of reference handles as 0 | Stefan Metzmacher | 1 | -1/+3 | |
metze | |||||
2009-08-24 | talloc: let talloc_total_blocks() and talloc_get_size() operate on the ↵ | Stefan Metzmacher | 1 | -2/+15 | |
null_context metze | |||||
2009-07-04 | Fix some warnings | Volker Lendecke | 1 | -2/+3 | |
2009-07-03 | Restore ABI compatibility for talloc. | Simo Sorce | 1 | -4/+39 | |
2009-07-02 | talloc: change TALLOC_MAGIC for version 2.0.0 | Stefan Metzmacher | 1 | -1/+12 | |
metze | |||||
2009-07-01 | a talloc_realloc() to zero size needs to use an unambiguous free | Andrew Tridgell | 1 | -1/+1 | |
2009-07-01 | changes to remove the ambiguity in talloc_free() and talloc_steal() | Andrew Tridgell | 1 | -20/+99 | |
These changes follow from the discussions on samba-technical. The changes are in several parts, and stem from the inherent ambiguity that was in talloc_free() and talloc_steal() when the pointer that is being changes has more than one parent, via references. The changes are: 1) when you call talloc_free() on a pointer with more than one parent the free will fail, and talloc will log an error to stderr like this: ERROR: talloc_free with references at some/foo.c:123 reference at other/bar.c:201 reference at other/foobar.c:641 2) Similarly, when you call talloc_steal() on a pointer with more than one parent, the steal will fail and talloc will log an error to stderr like this: ERROR: talloc_steal with references at some/foo.c:123 reference at other/bar.c:201 3) A new function talloc_reparent() has been added to change a parent in a controlled fashion. You need to supply both the old parent and the new parent. It handles the case whether either the old parent was a normal parent or a reference The use of stderr in the logging is ugly (and potentially dangerous), and will be removed in a future patch. We'll need to add a debug registration function to talloc. | |||||
2009-04-22 | Prevent reallocs of the talloc pool itself | Simo Sorce | 1 | -0/+5 | |
2009-03-12 | talloc: add talloc_set_abort_fn() | Stefan Metzmacher | 1 | -4/+31 | |
metze | |||||
2009-03-03 | talloc: add talloc_get_type_abort() | Stefan Metzmacher | 1 | -0/+24 | |
metze | |||||
2008-09-17 | Move common libraries from root to lib/. | Jelmer Vernooij | 1 | -0/+1732 | |