Allow dbus-daemon --nofork on Windows
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 29 Aug 2013 10:49:00 +0000 (11:49 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 3 Sep 2013 11:00:09 +0000 (12:00 +0100)
commit732021af1b6abaa999c2562b67d22665389cfdd9
treeeb23fd41af3f4af9ade43df163bc2602cfdcca6c
parent21a60c993b3fc25842fd6c2e840eb7ff5cd306b9
Allow dbus-daemon --nofork on Windows

On Windows, the dbus-daemon is not able to fork (daemonize). If someone
explicitly requests forking, it should fail, but if someone
explicitly requests *not* forking, there seems no harm in allowing it.

A few of the regression tests specifically require a dbus-daemon that
will not fork, so allowing this option on Windows means those tests
don't need an extra OS condition.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68852
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
bus/main.c
doc/dbus-daemon.1.xml.in