diff options
| author | Will Thompson <will.thompson@collabora.co.uk> | 2010-05-21 11:48:28 +0100 |
|---|---|---|
| committer | Will Thompson <will.thompson@collabora.co.uk> | 2010-05-21 11:48:28 +0100 |
| commit | 01ae2cb79376acb65b876c6620477fde86e6ef12 (patch) | |
| tree | 3f5e95b1565a8fb6b935eb8e3a1bca916a85ccb4 | |
| parent | 5f96256c1267f00e6c2c3ff9fe8b05aab5b36f97 (diff) | |
| parent | 82a77d6acb0b484a0f21180ad6b8a9b879a54197 (diff) | |
Merge branch 'dbus-1.2'
Conflicts:
bus/main.c
configure.in
| -rw-r--r-- | bus/dir-watch-kqueue.c | 2 | ||||
| -rw-r--r-- | bus/main.c | 8 | ||||
| -rw-r--r-- | bus/rc.messagebus.in | 2 |
3 files changed, 2 insertions, 10 deletions
diff --git a/bus/dir-watch-kqueue.c b/bus/dir-watch-kqueue.c index 4a01b748..4e436eb1 100644 --- a/bus/dir-watch-kqueue.c +++ b/bus/dir-watch-kqueue.c @@ -169,7 +169,7 @@ bus_set_watched_dirs (BusContext *context, DBusList **directories) */ for (i = 0; new_dirs[i]; i++) { - for (j = 0; i < num_fds; j++) + for (j = 0; j < num_fds; j++) { if (dirs[j] && strcmp (new_dirs[i], dirs[j]) == 0) { @@ -69,11 +69,6 @@ signal_handler (int sig) } break; #endif -#ifdef SIGTERM - case SIGTERM: - _dbus_loop_quit (bus_context_get_loop (context)); - break; -#endif } } @@ -478,9 +473,6 @@ main (int argc, char **argv) #ifdef SIGHUP _dbus_set_signal_handler (SIGHUP, signal_handler); #endif -#ifdef SIGTERM - _dbus_set_signal_handler (SIGTERM, signal_handler); -#endif #ifdef DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX _dbus_set_signal_handler (SIGIO, signal_handler); #endif /* DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX */ diff --git a/bus/rc.messagebus.in b/bus/rc.messagebus.in index b147503d..c52ca777 100644 --- a/bus/rc.messagebus.in +++ b/bus/rc.messagebus.in @@ -61,7 +61,7 @@ case "$1" in stop ;; status) - status $processname + status $servicename RETVAL=$? ;; restart) |
