Bug 32262 - DBUS_SYSTEM_LOG_FATAL neither exists or is it logged
Summary: DBUS_SYSTEM_LOG_FATAL neither exists or is it logged
Status: RESOLVED FIXED
Alias: None
Product: dbus
Classification: Unclassified
Component: core (show other bugs)
Version: 1.4.x
Hardware: Other All
: medium major
Assignee: Havoc Pennington
QA Contact: John (J5) Palmieri
URL:
Whiteboard: r+ from thiago
Keywords: patch
Depends on:
Blocks:
 
Reported: 2010-12-09 04:31 UTC by Christian Dywan
Modified: 2011-01-04 11:33 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Make _dbus_system_logv actually exit with DBUS_SYSTEM_LOG_FATAL (423 bytes, patch)
2010-12-09 04:35 UTC, Christian Dywan
Details | Splinter Review

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.