[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hurd-bug
Subject:    [PATCH hurd 25/30] trans/symlink: disable default payload to port mapping
From:       Justus Winter <4winter () informatik ! uni-hamburg ! de>
Date:       2014-11-27 13:19:05
Message-ID: 1417094350-24965-25-git-send-email-4winter () informatik ! uni-hamburg ! de
[Download RAW message or body]

`fsysServer' is only used by the symlink translator which does not use
libports.  Therefor, it is not necessary to use the default payload to
port translation function.

* trans/Makefile (fsys-MIGSFLAGS): Disable the default payload to port
translation function.
---
 trans/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/trans/Makefile b/trans/Makefile
index b6edb97..ce1eae7 100644
--- a/trans/Makefile
+++ b/trans/Makefile
@@ -47,6 +47,10 @@ ifsock-MIGSFLAGS=\
 # device_replyServer is used by the streamio translator.
 device_reply-MIGSFLAGS="-DMACH_PAYLOAD_TO_PORT=ports_payload_get_name"
 
+# fsysServer is only used by the symlink translator which does not use
+# libports.  Disable the default payload to port conversion.
+fsys-MIGSFLAGS = "-DHURD_DEFAULT_PAYLOAD_TO_PORT=1"
+
 include ../Makeconf
 
 vpath elfcore.c $(top_srcdir)/exec
-- 
2.1.3


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic