From 1513cbb09a96e7a0a1f615ad4da867fb10f1ca87 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Wed, 11 Feb 2015 01:55:48 +0100 Subject: fix fix-new-task-notification.patch --- debian/patches/fix-new-task-notification.patch | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'debian') 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); -- cgit v1.2.3