The TALLOC_ wrappers.
jra at samba.org
Mon Jun 6 21:23:23 MDT 2011
On Tue, Jun 07, 2011 at 12:29:55PM +1000, Andrew Bartlett wrote:
> On Tue, 2011-05-31 at 11:09 +1000, Andrew Bartlett wrote:
> > Jeremy,
> > As I recall it, the TALLOC_ wrappers are your baby.
> > I'm also wondering if could remove the TALLOC_ (except TALLOC_FREE)
> > macros from the source3 code, which were added and then removed with an
> > #if 0. These also makes merging code across the tree difficult, and
> > seem pointless given their limited use (source3 only) and that the
> > source3 has now fully accepted talloc's talloc(ctx, 0) behaviour.
Sorry, meant to reply to this - +1 from me !
> I've prepared a series of patches that removes the majority of these
> TALLOC_ wrapper functions, one patch per bulk rename.
> This makes the Samba codebase much more internally consistent.
I'll try and get to this tomorrow.
More information about the samba-technical