Commit 9b994fed authored by Paul Eggert's avatar Paul Eggert

* dbusbind.c (xd_remove_watch): Do not assume C99 comments.

parent 01b13eb7
2012-08-21 Paul Eggert <eggert@cs.ucla.edu>
* dbusbind.c (xd_remove_watch): Do not assume C99 comments.
2012-08-21 Dmitry Antipov <dmantipov@yandex.ru>
Avoid direct writes to contents member of struct Lisp_Vector.
......
......@@ -1039,11 +1039,13 @@ xd_remove_watch (DBusWatch *watch, void *data)
return;
/* Unset session environment. */
#if 0
if (XSYMBOL (QCdbus_session_bus) == data)
{
// XD_DEBUG_MESSAGE ("unsetenv DBUS_SESSION_BUS_ADDRESS");
// unsetenv ("DBUS_SESSION_BUS_ADDRESS");
XD_DEBUG_MESSAGE ("unsetenv DBUS_SESSION_BUS_ADDRESS");
unsetenv ("DBUS_SESSION_BUS_ADDRESS");
}
#endif
if (flags & DBUS_WATCH_WRITABLE)
delete_write_fd (fd);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment