[maemo-commits] [maemo-commits] r15694 - projects/haf/trunk/dbus/debian/patches
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Sat Jun 28 00:11:45 EEST 2008
- Previous message: [maemo-commits] r15693 - projects/haf/trunk/dbus/debian
- Next message: [maemo-commits] r15695 - in projects/haf/trunk/dbus/debian: . patches
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: guillem
Date: 2008-06-28 00:11:45 +0300 (Sat, 28 Jun 2008)
New Revision: 15694
Modified:
projects/haf/trunk/dbus/debian/patches/08-create-new-process-group.patch
Log:
Fix indentation
Modified: projects/haf/trunk/dbus/debian/patches/08-create-new-process-group.patch
===================================================================
--- projects/haf/trunk/dbus/debian/patches/08-create-new-process-group.patch 2008-06-27 21:10:23 UTC (rev 15693)
+++ projects/haf/trunk/dbus/debian/patches/08-create-new-process-group.patch 2008-06-27 21:11:45 UTC (rev 15694)
@@ -7,15 +7,15 @@
else if (grandchild_pid == 0)
{
+ int p;
-+ /* put the child into a new session and process group, so that
-+ * killpg() can be used safely */
-+ if (setsid () == -1)
-+ _dbus_warn ("setsid() failed: %s\n", _dbus_strerror (errno));
-+ errno = 0;
-+ p = getpriority(PRIO_PROCESS, 0);
-+ if (!errno && p < 0) {
-+ setpriority(PRIO_PROCESS, 0, 0);
-+ }
++
++ /* put the child into a new session and process group, so that
++ * killpg() can be used safely */
++ if (setsid () == -1)
++ _dbus_warn ("setsid() failed: %s\n", _dbus_strerror (errno));
++ errno = 0;
++ p = getpriority(PRIO_PROCESS, 0);
++ if (!errno && p < 0)
++ setpriority(PRIO_PROCESS, 0, 0);
do_exec (child_err_report_pipe[WRITE_END],
argv,
child_setup, user_data);
- Previous message: [maemo-commits] r15693 - projects/haf/trunk/dbus/debian
- Next message: [maemo-commits] r15695 - in projects/haf/trunk/dbus/debian: . patches
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
