projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad8bc4c
)
Set the DBusError
author
Tor Lillqvist
<tml@iki.fi>
Tue, 27 Oct 2009 12:13:37 +0000
(14:13 +0200)
committer
Ralf Habacker
<ralf.habacker@freenet.de>
Tue, 1 Dec 2009 09:28:09 +0000
(10:28 +0100)
Put the correct error code and a relevant message into the DBusError
in _dbus_unix_user_is_at_console().
dbus/dbus-sysdeps-util-win.c
patch
|
blob
|
history
diff --git
a/dbus/dbus-sysdeps-util-win.c
b/dbus/dbus-sysdeps-util-win.c
index
81ce82d
..
8b9fe7a
100644
(file)
--- a/
dbus/dbus-sysdeps-util-win.c
+++ b/
dbus/dbus-sysdeps-util-win.c
@@
-837,6
+837,8
@@
dbus_bool_t
_dbus_unix_user_is_at_console (dbus_uid_t uid,
DBusError *error)
{
+ dbus_set_error (error, DBUS_ERROR_NOT_SUPPORTED,
+ "UNIX user IDs not supported on Windows\n");
return FALSE;
}