Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
pacemaker
pacemaker-libservices-watch-writable-DBus-handl...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-libservices-watch-writable-DBus-handles.patch of Package pacemaker
commit c1bc760d534aa057808e7d6503bda60ab9afa120 Author: Ken Gaillot <kgaillot@redhat.com> Date: Mon Jan 9 16:58:50 2017 -0600 Fix: libservices: properly watch writable DBus handles e2128e7 introduced a typo such that DBUS_WATCH_WRITABLE was never checked diff --git a/lib/services/dbus.c b/lib/services/dbus.c index 0748c8673..fb3e867f9 100644 --- a/lib/services/dbus.c +++ b/lib/services/dbus.c @@ -503,10 +503,7 @@ pcmk_dbus_watch_dispatch(gpointer userdata) mainloop_io_t *client = dbus_watch_get_data(watch); crm_trace("Dispatching client %p: %s", client, dbus_watch_flags_to_string(flags)); - if (enabled && is_set(flags, DBUS_WATCH_READABLE)) { - oom = !dbus_watch_handle(watch, flags); - - } else if (enabled && is_set(flags, DBUS_WATCH_READABLE)) { + if (enabled && (flags & (DBUS_WATCH_READABLE|DBUS_WATCH_WRITABLE))) { oom = !dbus_watch_handle(watch, flags); } else if(enabled) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor