bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH hurd 25/30] trans/symlink: disable default payload to port mappin


From: Justus Winter
Subject: [PATCH hurd 25/30] trans/symlink: disable default payload to port mapping
Date: Thu, 27 Nov 2014 14:19:05 +0100

`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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]