diff options
| author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-11-20 22:03:34 +0100 |
|---|---|---|
| committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-11-20 22:03:34 +0100 |
| commit | 339534a305eda4979c1a8a69ba13ecc16867fc91 (patch) | |
| tree | 1a7d647f33195e6fe7666988582b89159dc2d888 /debian/patches/0026-XXX-_reply-hack.patch | |
| parent | e9d7ec79422b25cfa62070a40f6f961412879087 (diff) | |
add patch series
Diffstat (limited to 'debian/patches/0026-XXX-_reply-hack.patch')
| -rw-r--r-- | debian/patches/0026-XXX-_reply-hack.patch | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/debian/patches/0026-XXX-_reply-hack.patch b/debian/patches/0026-XXX-_reply-hack.patch new file mode 100644 index 00000000..5e6864fe --- /dev/null +++ b/debian/patches/0026-XXX-_reply-hack.patch @@ -0,0 +1,75 @@ +From 3f8a1ab2d581f36988c3722bca7fc175e5268824 Mon Sep 17 00:00:00 2001 +From: Justus Winter <4winter@informatik.uni-hamburg.de> +Date: Thu, 20 Nov 2014 21:46:21 +0100 +Subject: [PATCH hurd 26/28] XXX _reply hack + +--- + term/devio.c | 6 +++--- + trans/streamio.c | 6 +++--- + 2 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/term/devio.c b/term/devio.c +index eedd7b8..43a3d87 100644 +--- a/term/devio.c ++++ b/term/devio.c +@@ -310,7 +310,7 @@ device_write_reply_inband (mach_port_t replypt, + error_t return_code, + int amount) + { +- if (replypt != phys_reply_writes) ++ if (replypt != phys_reply_writes_pi) // XXX: hack! + return EOPNOTSUPP; + + pthread_mutex_lock (&global_lock); +@@ -353,7 +353,7 @@ device_read_reply_inband (mach_port_t replypt, + int i, flush; + error_t err; + +- if (replypt != phys_reply) ++ if (replypt != phys_reply_pi) // XXX: hack! + return EOPNOTSUPP; + + pthread_mutex_lock (&global_lock); +@@ -539,7 +539,7 @@ device_open_reply (mach_port_t replyport, + size_t count = TTY_STATUS_COUNT; + error_t err = 0; + +- if (replyport != phys_reply) ++ if (replyport != phys_reply_pi) // XXX hack! + return EOPNOTSUPP; + + pthread_mutex_lock (&global_lock); +diff --git a/trans/streamio.c b/trans/streamio.c +index 54627b7..262f288 100644 +--- a/trans/streamio.c ++++ b/trans/streamio.c +@@ -830,7 +830,7 @@ device_open_reply (mach_port_t reply, int returncode, mach_port_t device) + size_t sizes_len = DEV_GET_SIZE_COUNT; + int amount; + +- if (reply != phys_reply) ++ if (reply != phys_reply_pi) + return EOPNOTSUPP; + + pthread_mutex_lock (&global_lock); +@@ -997,7 +997,7 @@ error_t + device_read_reply_inband (mach_port_t reply, error_t errorcode, + char *data, u_int datalen) + { +- if (reply != phys_reply) ++ if (reply != phys_reply_pi) + return EOPNOTSUPP; + + pthread_mutex_lock (&global_lock); +@@ -1116,7 +1116,7 @@ dev_write (void *buf, size_t len, size_t *amount, int nowait) + error_t + device_write_reply_inband (mach_port_t reply, error_t returncode, int amount) + { +- if (reply != phys_reply_writes) ++ if (reply != phys_reply_writes_pi) + return EOPNOTSUPP; + + pthread_mutex_lock (&global_lock); +-- +2.1.3 + |
