summaryrefslogtreecommitdiff
path: root/bus/test.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2011-06-13 15:59:14 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2011-06-13 15:59:22 +0100
commitc7ef3ead558e147db03e358ff37f630cac083c07 (patch)
tree61db817e68cd35bb651e72b2e4b9e8c7d9e5fff0 /bus/test.c
parent50c81a35a7c692b0e19b4a5d92343267f4a10c06 (diff)
downloaddbus-c7ef3ead558e147db03e358ff37f630cac083c07.tar.gz
bus signal_handler: don't use _dbus_warn, and don't pretend to be portable
_dbus_warn isn't async-signal-safe, so that's out. We can use write() instead; it's POSIX but not ISO C, but then again, so are signals. Accordingly, guard it with DBUS_UNIX. dbus-sysdeps-util-win doesn't actually implement _dbus_set_signal_handler anyway, so not compiling this code on non-Unix seems more honest. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33336 Reviewed-by: Thiago Macieira <thiago@kde.org>
Diffstat (limited to 'bus/test.c')
0 files changed, 0 insertions, 0 deletions