diff src/dbusbind.c @ 110823:56cf47a21830

* dbusbind.c (syms_of_dbusbind): Use putenv instead of setenv, it is more portable. * keyboard.c (gobble_input): Move call of xd_read_queued_messages ... (kbd_buffer_get_event): ... here. This is needed for cygwin, which has not defined SIGIO.
author Michael Albinus <michael.albinus@gmx.de>
date Tue, 28 Sep 2010 15:39:22 +0200
parents cf68fbaebcfe
children eb0cb131cf06
line wrap: on
line diff
--- a/src/dbusbind.c	Tue Sep 28 01:41:00 2010 +0200
+++ b/src/dbusbind.c	Tue Sep 28 15:39:22 2010 +0200
@@ -2135,7 +2135,7 @@
 #else
   Vdbus_debug = Qnil;
   /* We do not want to abort.  */
-  setenv ("DBUS_FATAL_WARNINGS", "0", 1);
+  putenv ("DBUS_FATAL_WARNINGS=0");
 #endif
 
   Fprovide (intern_c_string ("dbusbind"), Qnil);