[vlc-devel] commit: modules: added a hack to work-around the buggy 64bit runtime on OS X Leopard ( Felix Paul Kühne )

Felix Paul Kühne fkuehne.videolan at googlemail.com
Sun Aug 2 01:43:56 CEST 2009


Am 01.08.2009 um 22:04 schrieb Rémi Denis-Courmont:

> Le samedi 1 août 2009 22:52:09 git version control, vous avez écrit :
>>         if( p_module->b_loaded && p_module->b_unloadable )
>                                     ^^^^^^^^^^^^^^^^^^^^^^
>>         {
>> -            module_Unload( p_module->handle );
>> +            #if defined( __APPLE__ ) && defined ( __x86_64__ )
>> +                if( strcmp( p_module->psz_object_name, "macosx" ) )
>> +            #endif
>> +                module_Unload( p_module->handle );
>
> What the hell is wrong with b_unloadable?

Apparently nothing. However  
"linked_with_a_crap_library_which_uses_atexit()" isn't exactly what  
you are looking for to disable unloading of a module. I'm still able  
to revert my commits on my own btw, so I don't have to recommit stuff.


F.


More information about the vlc-devel mailing list