Annotation of /trunk/dbus/dbus-0.33-run-with-tmp-session-bus-wrong-pid.patch
Parent Directory | Revision Log
Revision 16 -
(hide annotations)
(download)
Tue May 3 14:10:52 2005 UTC (19 years, 4 months ago) by niro
File size: 500 byte(s)
Tue May 3 14:10:52 2005 UTC (19 years, 4 months ago) by niro
File size: 500 byte(s)
patch to fix a compile issue while running "make check" (always the wrong pid, the right one is pid+2)
1 | niro | 16 | --- dbus-0.33/tools/run-with-tmp-session-bus.sh 2005-03-17 17:48:29.000000000 +0000 |
2 | +++ dbus-0.33-fixed/tools/run-with-tmp-session-bus.sh 2005-05-03 14:26:26.000000000 +0000 | ||
3 | @@ -55,6 +55,7 @@ | ||
4 | echo "Running $WRAPPED_SCRIPT $@" >&2 | ||
5 | $WRAPPED_SCRIPT "$@" || die "script \"$WRAPPED_SCRIPT\" failed" | ||
6 | |||
7 | +DBUS_SESSION_BUS_PID=$((DBUS_SESSION_BUS_PID +2)) | ||
8 | kill -TERM $DBUS_SESSION_BUS_PID || die "Message bus vanished! should not have happened" && echo "Killed daemon $DBUS_SESSION_BUS_PID" >&2 | ||
9 | |||
10 | sleep 2 |
Properties
Name | Value |
---|---|
svn:executable | * |