summaryrefslogtreecommitdiff
path: root/debian/patches/fixes0004-random-use-servers-startup-to-register-for-shutdown-.patch
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-11-06 14:45:24 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-11-06 14:45:24 +0100
commit6b1488535ca31969dda86eeaf015d33e1d7d7535 (patch)
tree4586b6af0c788db2a1edd352fe211fac061cf5aa /debian/patches/fixes0004-random-use-servers-startup-to-register-for-shutdown-.patch
parent2de7e7dc186f80b7a6c42f4e96ad11b4d3c17cd7 (diff)
drop old patch series
Diffstat (limited to 'debian/patches/fixes0004-random-use-servers-startup-to-register-for-shutdown-.patch')
-rw-r--r--debian/patches/fixes0004-random-use-servers-startup-to-register-for-shutdown-.patch53
1 files changed, 0 insertions, 53 deletions
diff --git a/debian/patches/fixes0004-random-use-servers-startup-to-register-for-shutdown-.patch b/debian/patches/fixes0004-random-use-servers-startup-to-register-for-shutdown-.patch
deleted file mode 100644
index 9da5ed98..00000000
--- a/debian/patches/fixes0004-random-use-servers-startup-to-register-for-shutdown-.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From 710201a5db7bcd1c13364eccca65d8b13c1d0d65 Mon Sep 17 00:00:00 2001
-From: Justus Winter <4winter@informatik.uni-hamburg.de>
-Date: Fri, 6 Nov 2015 12:06:32 +0100
-Subject: [PATCH hurd 4/4] random: use /servers/startup to register for
- shutdown notifications
-
-* random/random.c (arrange_shutdown_notification): Use the new way to
-contact the startup server.
----
- random/random.c | 13 ++++---------
- 1 file changed, 4 insertions(+), 9 deletions(-)
-
-diff --git a/random/random.c b/random/random.c
-index f483a5d..f926b7f 100644
---- a/random/random.c
-+++ b/random/random.c
-@@ -17,6 +17,7 @@
-
- #define _GNU_SOURCE 1
-
-+#include <hurd/paths.h>
- #include <hurd/trivfs.h>
- #include <hurd/startup.h>
- #include <stdio.h>
-@@ -557,7 +558,6 @@ arrange_shutdown_notification ()
- {
- error_t err;
- mach_port_t initport, notify;
-- process_t procserver;
- struct port_info *pi;
-
- shutdown_notify_class = ports_create_class (0, 0);
-@@ -572,14 +572,9 @@ arrange_shutdown_notification ()
- if (err)
- return err;
-
-- procserver = getproc ();
-- if (! MACH_PORT_VALID (procserver))
-- return EMIG_SERVER_DIED;
--
-- err = proc_getmsgport (procserver, 1, &initport);
-- mach_port_deallocate (mach_task_self (), procserver);
-- if (err)
-- return err;
-+ initport = file_name_lookup (_SERVERS_STARTUP, 0, 0);
-+ if (! MACH_PORT_VALID (initport))
-+ return errno;
-
- notify = ports_get_send_right (pi);
- ports_port_deref (pi);
---
-2.1.4
-