Dispatch post-activation messages to anyone interested
authorWill Thompson <will.thompson@collabora.co.uk>
Thu, 4 Feb 2010 20:24:54 +0000 (20:24 +0000)
committerWill Thompson <will.thompson@collabora.co.uk>
Fri, 19 Mar 2010 17:48:00 +0000 (17:48 +0000)
commit6663cb5dcf6ef931e17b4104f571c59d411219d2
tree6e552dc49f35924a6327dfbd0be10a7c843cf91b
parent3a2753e667e565f18f124b632fe720b70b018d05
Dispatch post-activation messages to anyone interested

Previously, if a method call activated a service, it would only be
delivered to that service, and not to other services with match rules
which should match. This patch replaces the improperly-duplicated
dispatch code in activation.c with a call back into the normal dispatch
code, fixing this bug (fd.o#26427).

(Additionally, were one to service-activate a service that doesn't
understand file descriptors with a message containing a file descriptor,
the previous code would send it anyway, and the service's dbus library
would blow up. This is also fixed here, since the normal dispatch code
checks this correctly.)
bus/activation.c