diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2007-03-08 13:40:16 +0000 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2007-03-08 13:40:16 +0000 |
commit | 55919d2d1479c05d5becfe050316c5fc3d392805 (patch) | |
tree | 2efb2eed17c8fa84e7c0310d29fac8e3f7f3d348 /dbus-win.patch | |
parent | 2eca6a2241f0f49009c85704170159bf46c5dbb8 (diff) |
* dbus-win.patch: dbus-connection.c (dbus_connection_get_unix_user,
dbus_connection_get_unix_process_id): Let return them valid user id's,
otherwise bus-test fails. How to replace on win32 ?.
* dbus/dbus-sysdeps-win.c (fill_win_user_info_homedir): fix memory leak.
Diffstat (limited to 'dbus-win.patch')
-rw-r--r-- | dbus-win.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dbus-win.patch b/dbus-win.patch index 03c47cd3..a907b33d 100644 --- a/dbus-win.patch +++ b/dbus-win.patch @@ -1,3 +1,35 @@ +--- dbus/dbus-connection.c Wed Nov 15 04:07:59 2006 ++++ dbus/dbus-connection.c Thu Mar 08 14:22:09 2007 +@@ -4790,14 +4790,6 @@ + _dbus_return_val_if_fail (connection != NULL, FALSE); + _dbus_return_val_if_fail (uid != NULL, FALSE); + +-#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 +- + CONNECTION_LOCK (connection); + + if (!_dbus_transport_get_is_authenticated (connection->transport)) +@@ -4829,14 +4821,6 @@ + _dbus_return_val_if_fail (connection != NULL, FALSE); + _dbus_return_val_if_fail (pid != NULL, FALSE); + +-#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 +- + CONNECTION_LOCK (connection); + + if (!_dbus_transport_get_is_authenticated (connection->transport)) Index: bus/bus.c =================================================================== RCS file: /cvs/dbus/dbus/bus/bus.c,v |