talloc()

Jeremy Allison jeremy at valinux.com
Wed Jan 5 18:32:41 GMT 2000


Andrew Tridgell wrote:
> 
> > Ok but for 2.0.7 I'm going to do the simple fix :-). Ok ?
> 
> it will fail when you have a large number of interfaces. Thats what
> bit me, I had 3 interfaces and the loop over interfaces called lp_*
> functions in name_query, with 3 interfaces we used more than 10
> strings.
> 
> I've now implemented talloc() and committed it to the head branch. Its
> less than 80 lines of code and seems to work pretty well. It fixes the
> bug that sparked off this discussion. I'll leave it up to you to
> decide if it should go in 2.0, my guess is it probably shouldn't.

Yes, I agree. It's a minor change but has major implications and
I don't want to peturb 2.0.x so much right now.

For 2.0.x, upping the string array to 20 will probably
fix most issues people may have (and I don't think this 
bites very often).

Jeremy.

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------


More information about the samba-technical mailing list