diff options
Diffstat (limited to 'openembedded/packages/dbus/dbus/dbus-quiesce-startup-errors.patch')
-rw-r--r-- | openembedded/packages/dbus/dbus/dbus-quiesce-startup-errors.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/openembedded/packages/dbus/dbus/dbus-quiesce-startup-errors.patch b/openembedded/packages/dbus/dbus/dbus-quiesce-startup-errors.patch new file mode 100644 index 0000000000..ba5142af2f --- /dev/null +++ b/openembedded/packages/dbus/dbus/dbus-quiesce-startup-errors.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | --- dbus-0.20-virgin-patches/bus/config-parser.c 2003-10-14 21:30:21.000000000 +0100 | ||
2 | +++ dbus-0.20/bus/config-parser.c 2004-02-10 00:40:05.000000000 +0000 | ||
3 | @@ -1710,8 +1710,18 @@ | ||
4 | { | ||
5 | if (!include_file (parser, &full_path, TRUE, error)) | ||
6 | { | ||
7 | - _dbus_string_free (&full_path); | ||
8 | - goto failed; | ||
9 | + /* Debian patch to skip malformed /etc/dbus-1/system.d entries */ | ||
10 | + /* | ||
11 | + * _dbus_string_free (&full_path); | ||
12 | + * goto failed; | ||
13 | + */ | ||
14 | + if (dbus_error_is_set (error)) | ||
15 | + { | ||
16 | + _dbus_warn("\nEncountered error '%s' while parsing '%s'\n", | ||
17 | + error->message, | ||
18 | + _dbus_string_get_const_data(&full_path)); | ||
19 | + dbus_error_free (error); | ||
20 | + } | ||
21 | } | ||
22 | } | ||
23 | |||