win32 dbus_connection_get_unix_user() problem

Ralf Habacker ralf.habacker at freenet.de
Thu Mar 8 05:50:52 PST 2007


In dbus/dbus-connection.c (dbus_connection_get_unix_user) there is a
hack, which let bus-test fail on win32:

#ifdef DBUS_WIN
  /* FIXME this should be done at a lower level, but it's kind of hard,
   * just want to be sure we don't ship with this API returning
   * some weird internal fake uid for 1.0
   */
  return FALSE;
#endif

In http://lists.freedesktop.org/archives/dbus/2006-June/005030.html
there is a thread refering to a GetConnectionUnixUser dbus function and
a possible replacement. Does this means the same function ?
Because dbus_connection_get_unix_user() is usesd several times in the
dbus code it looks like a problem to replace this function.  How to
proceed ?

Ralf





More information about the dbus mailing list