diff options
author | Chengwei Yang <chengwei.yang@intel.com> | 2013-10-09 09:39:43 +0800 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-11-01 12:08:33 +0000 |
commit | 1e52889d2e64c6cc9085ba615420082bee18b611 (patch) | |
tree | 8d01541f76af6d2e26b1a6ef1f2b204583bd5834 /bus/driver.h | |
parent | 7c540d743db0d7b2f00d35782defcacda8b1479c (diff) | |
download | dbus-1e52889d2e64c6cc9085ba615420082bee18b611.tar.gz |
Remove unnecessary dbus_setenv()
DBUS_ACTIVATION_ADDRESS changed to DBUS_STARTER_ADDRESS and
DBUS_ACTIVATION_BUS_TYPE changed to DBUS_STARTER_BUS_TYPE since 2005 by
this commit - 8873c90
So the dbus_setenv() which used to unset the above two wrong environment
variables has no effect in fact. And giving that setenv(3) and putenv(3)
are not threadsafe, so it's better to remove them.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68308
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Acked-by: Colin Walters <walters@verbum.org>
Diffstat (limited to 'bus/driver.h')
0 files changed, 0 insertions, 0 deletions