diff options
Diffstat (limited to 'debian/patches/random-fixes0001-libdiskfs-improve-error-handling.patch')
-rw-r--r-- | debian/patches/random-fixes0001-libdiskfs-improve-error-handling.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/debian/patches/random-fixes0001-libdiskfs-improve-error-handling.patch b/debian/patches/random-fixes0001-libdiskfs-improve-error-handling.patch deleted file mode 100644 index 5accefa1..00000000 --- a/debian/patches/random-fixes0001-libdiskfs-improve-error-handling.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 9f179b1ab674355d5afbb6d664dee2d2ac6cb89c Mon Sep 17 00:00:00 2001 -From: Justus Winter <4winter@informatik.uni-hamburg.de> -Date: Sun, 27 Sep 2015 16:20:17 +0200 -Subject: [PATCH hurd 1/5] libdiskfs: improve error handling - -* libdiskfs/boot-start.c (start_execserver): Improve error handling. ---- - libdiskfs/boot-start.c | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c -index d10d783..6b829f2 100644 ---- a/libdiskfs/boot-start.c -+++ b/libdiskfs/boot-start.c -@@ -637,15 +637,18 @@ start_execserver (void) - assert_perror (err); - right = ports_get_send_right (execboot_info); - ports_port_deref (execboot_info); -- task_set_special_port (diskfs_exec_server_task, TASK_BOOTSTRAP_PORT, right); -- mach_port_deallocate (mach_task_self (), right); -+ err = task_set_special_port (diskfs_exec_server_task, TASK_BOOTSTRAP_PORT, right); -+ assert_perror (err); -+ err = mach_port_deallocate (mach_task_self (), right); -+ assert_perror (err); - - if (_diskfs_boot_pause) - { - printf ("pausing for exec\n"); - getc (stdin); - } -- task_resume (diskfs_exec_server_task); -+ err = task_resume (diskfs_exec_server_task); -+ assert_perror (err); - - printf (" exec"); - fflush (stdout); --- -2.1.4 - |