On Sat, Feb 17, 2007 at 01:58:04PM +0000, Richard W.M. Jones wrote: > > Would anyone object to a patch using __attribute__((constructor)) > throughout libvirt rather than all this if(!initialised) initialise() stuff? I don't think that annotation is widely supported enough by constructors for us to be able to use it - in particular I think it'd be a problem for the Solaris guys using libvirt unless they switched to GCC instead of the Sun compilers/linkers. Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|