diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-02-11 01:55:48 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-02-11 01:55:48 +0100 |
commit | 1513cbb09a96e7a0a1f615ad4da867fb10f1ca87 (patch) | |
tree | 7ab8bfdf84b5a90d1e35e2c5d40eb4bb7ba08265 /debian/patches | |
parent | 30ad4904018bc4216f24b6120c704fb93339c228 (diff) |
fix fix-new-task-notification.patch
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/fix-new-task-notification.patch | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/debian/patches/fix-new-task-notification.patch b/debian/patches/fix-new-task-notification.patch index 88f006b..5549362 100644 --- a/debian/patches/fix-new-task-notification.patch +++ b/debian/patches/fix-new-task-notification.patch @@ -1,8 +1,8 @@ diff --git a/kern/task.c b/kern/task.c -index a11fb8e..3340ff0 100644 +index a11fb8e..46f83f8 100644 --- a/kern/task.c +++ b/kern/task.c -@@ -173,13 +173,10 @@ kern_return_t task_create( +@@ -173,13 +173,9 @@ kern_return_t task_create( snprintf (new_task->name, sizeof new_task->name, "%p", new_task); @@ -11,9 +11,10 @@ index a11fb8e..3340ff0 100644 - task_reference (parent_task); + if (new_task_notification != NULL) mach_notify_new_task (new_task_notification, - convert_task_to_port (new_task), - convert_task_to_port (parent_task)); +- convert_task_to_port (new_task), +- convert_task_to_port (parent_task)); - } ++ new_task, parent_task); ipc_task_enable(new_task); |