[PATCH] Change module interface to pass in a TALLOC_CTX pointer.
Jeremy Allison
jra at samba.org
Fri Apr 21 20:57:19 UTC 2017
On Fri, Apr 21, 2017 at 09:45:29PM +0200, Andreas Schneider via samba-technical wrote:
> On Friday, 21 April 2017 19:03:00 CEST Jeremy Allison wrote:
> > If you do:
> >
> > git grep static_decl_vfs
> >
> > You can't find the definition of that *anywhere*,
> > because it's a magic waf construct made out of
> > unicorns, rainbows and python. Same for:
> >
> > git grep static_init_nss
> >
> > Which explains why I didn't find them :-(.
>
> I complained about this stuff already long ago. We should either have
> everything as module (plugin) or compiled into the source. And not some as
> module and some static and if you compile the wrong one as a module everything
> stops working.
>
> Just my 2 cents.
Yeah, but I don't want to boil the ocean today. Just
exterminating a particularly venemous pest
(talloc_autofree_context() :-).
More information about the samba-technical
mailing list