dbus/dbus dbus-server.c,1.54,1.55

Ralf Habacker ralf.habacker at freenet.de
Tue May 22 13:06:24 PDT 2007


Havoc Pennington schrieb:
>
>
> Ralf Habacker wrote:
>> Update of /cvs/dbus/dbus/dbus
>> In directory kemper:/tmp/cvs-serv27624/dbus
>>
>> Modified Files:
>>     dbus-server.c Log Message:
>> * dbus/dbus-server.c (listen_funcs): 
>> _dbus_server_listen_platform_specific is empty on win32, limited to 
>> unix only.
>
> This is wrong, the whole point of listen_platform_specific is that you 
> can just make it empty instead of putting in an #ifdef. Also, it 
> probably should not be empty in the long run.
>
Sorry, _dbus_server_listen_platform_specific() is specified in 
dbus-server-unix.c  and there is *no* dbus-server-win.c yet. Should I 
really create an additional file with an empty function or would it not 
more economic to create this file when there are real functions and to 
use c onditionals to deactivate this stuff ?  Why do we have DBUS_WIN 
and DBUS_UNIX, when not for such cases ? 


Regards
Ralf



More information about the dbus mailing list