multi-indexed tdb

Jeremy Allison jra at samba.org
Tue Aug 15 02:25:13 GMT 2006


On Tue, Aug 15, 2006 at 03:51:06AM +0200, tridge at samba.org wrote:
> Jerry,
> 
>  > For the record, talloc_steal() was banned in SAMBA_3_0
>  > based on Jeremy's concerns.
> 
> I just checked with Jeremy, and these seems to have been some
> misunderstanding on this. Jeremy doesn't like using talloc_steal() in
> the code he writes himself, but he did not intend there to be a
> general ban on it being used in Samba3, and certainly he did not
> mean there to be a ban on using talloc_steal() in imported code.
> 
> Jeremy, have I got that right?

Sort of :-). What I tried to convey in the phone call was that
I don't like talloc_steal, as I think it's a poor man's auto_ptr
and I find it confusing.

But the main thing is there is no such thing as a "ban" on anything
in Samba code. No one listens to me anyway :-) :-).

Jeremy.


More information about the samba-technical mailing list