diff src/dbusbind.c @ 110623:1f02266d75ef

* dbusbind.c (syms_of_dbusbind): Set $DBUS_FATAL_WARNINGS to "0". (Bug#7113)
author Michael Albinus <michael.albinus@gmx.de>
date Mon, 27 Sep 2010 14:44:26 +0200
parents a14b02ae1413
children cf68fbaebcfe
line wrap: on
line diff
--- a/src/dbusbind.c	Mon Sep 27 10:59:16 2010 +0200
+++ b/src/dbusbind.c	Mon Sep 27 14:44:26 2010 +0200
@@ -2130,10 +2130,12 @@
     doc: /* If non-nil, debug messages of D-Bus bindings are raised.  */);
 #ifdef DBUS_DEBUG
   Vdbus_debug = Qt;
+  /* We can also set environment DBUS_VERBOSE=1 in order to see more
+     traces.  */
 #else
   Vdbus_debug = Qnil;
   /* We do not want to abort.  */
-  unsetenv ("DBUS_FATAL_WARNINGS");
+  setenv ("DBUS_FATAL_WARNINGS", 0, 1);
 #endif
 
   Fprovide (intern_c_string ("dbusbind"), Qnil);