Bug 32262

Summary: DBUS_SYSTEM_LOG_FATAL neither exists or is it logged
Product: dbus Reporter: Christian Dywan <christian>
Component: coreAssignee: Havoc Pennington <hp>
Status: RESOLVED FIXED QA Contact: John (J5) Palmieri <johnp>
Severity: major    
Priority: medium Keywords: patch
Version: 1.4.x   
Hardware: Other   
OS: All   
Whiteboard: r+ from thiago
i915 platform: i915 features:
Attachments: Make _dbus_system_logv actually exit with DBUS_SYSTEM_LOG_FATAL

Description Christian Dywan 2010-12-09 04:31:22 UTC
Contrary to the documentation, passing DBUS_SYSTEM_LOG_FATAL to _dbus_system_logv or _dbus_system_log doesn't log at all and doesn't exit either.

The fix is adding a break statement.
Comment 1 Christian Dywan 2010-12-09 04:35:35 UTC
Created attachment 40950 [details] [review]
Make _dbus_system_logv actually exit with DBUS_SYSTEM_LOG_FATAL
Comment 2 Thiago Macieira 2010-12-09 05:05:09 UTC
Looks good. Please commit.
Comment 3 Simon McVittie 2011-01-04 11:33:02 UTC
Committed, thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.