diff options
author | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
commit | b2f192faabe412adce79534e22efe9fb69ee40e2 (patch) | |
tree | 7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/dbus/dbus/spawn-priority.diff | |
parent | 2cf0eadf9f730027833af802d7e6c90b44248f80 (diff) | |
download | poky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz |
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/dbus/dbus/spawn-priority.diff')
-rw-r--r-- | meta/packages/dbus/dbus/spawn-priority.diff | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/packages/dbus/dbus/spawn-priority.diff b/meta/packages/dbus/dbus/spawn-priority.diff new file mode 100644 index 0000000000..954d2512fa --- /dev/null +++ b/meta/packages/dbus/dbus/spawn-priority.diff | |||
@@ -0,0 +1,17 @@ | |||
1 | diff -ur dbus/dbus/dbus-spawn.c dbus.work/dbus/dbus-spawn.c | ||
2 | --- dbus/dbus/dbus-spawn.c 2005-03-14 14:25:02.849823496 +0200 | ||
3 | +++ dbus.work/dbus/dbus-spawn.c 2005-03-14 14:34:43.947483224 +0200 | ||
4 | @@ -1117,6 +1117,12 @@ | ||
5 | } | ||
6 | else if (grandchild_pid == 0) | ||
7 | { | ||
8 | + int p; | ||
9 | + errno = 0; | ||
10 | + p = getpriority(PRIO_PROCESS, 0); | ||
11 | + if (!errno && p < 0) { | ||
12 | + setpriority(PRIO_PROCESS, 0, 0); | ||
13 | + } | ||
14 | do_exec (child_err_report_pipe[WRITE_END], | ||
15 | argv, | ||
16 | child_setup, user_data); | ||
17 | Only in dbus.work/dbus: dbus-spawn.c~ | ||