Cmake update patch for dbus master

Ralf Habacker ralf.habacker at freenet.de
Mon Feb 8 02:58:35 PST 2010


Thiago Macieira schrieb:
> Em Segunda-feira 8. Fevereiro 2010, às 09.34.10, Ralf Habacker escreveu:
>   
>> dbus debug library has specific code only build in the debug build  see
>> line 2803 and following in
>> http://cgit.freedesktop.org/dbus/dbus/tree/dbus/dbus-sysdeps-win.c.
>> On kde on windows there is a specification to bundle release and debug
>> binaries in one binary package. Having only a debug dbus library in a
>> binary package without the related debug deamon beside the release
>> version will prevent users from been able to use this specific feature.
>>     
>
> Sounds like that #ifdef shouldn't be there.
>
> The wire protocol is the same. There's no reason for a debug-library not to 
> talk to a release daemon. And also why a debug library cannot talk to a 
> release library on another program.
>   
You didn't get the point.

This stuff is used for autodetecting the session bus address. 
Dbus-daemon saves its real used bus address into a shared memory 
segment, which will be fetched from the client to connect to the proper 
daemon when not using environment variables (which is the default case 
on windows) On windows a debug build daemon stores its address in a 
different shared memory segment as the release daemon.

Ralf



More information about the dbus mailing list