[asterisk-dev] ugly fix for module embedding bug (Re: module embedding help ?)

Luigi Rizzo rizzo at icir.org
Tue Nov 6 11:12:03 CST 2007


On Tue, Nov 06, 2007 at 10:39:52AM -0600, Russell Bryant wrote:
> Luigi Rizzo wrote:
> > I have an ugly fix, below - store the relevant values from
> > module_list in a static variable not subject to constructors,
> > and restore module_list from that variable near the beginning
> > of load_modules().
...
> > Anyways, if you think it is ok to commit this one i will do
> > as a temporary bandaid.
> 
> Yeah, if it fixes it for you, then that's ok for now.  If you don't mind, make
> sure the bandaid works on linux, as well.

done - just put in trunk/ a slightly better patch that should take care
of random order in calling the constructors involved here.

No solution yet for the generic case.

cheers
luigi



More information about the asterisk-dev mailing list