summary refs log tree commit diff
path: root/mach/msgserver.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-02-17 07:19:11 +0000
committerRoland McGrath <roland@gnu.org>2002-02-17 07:19:11 +0000
commit61c83c3f0573d03cda87717ee46b5c985c4646fd (patch)
tree1f3a38e0adcca1304a73547f63d86938c97e1951 /mach/msgserver.c
parentc12bc232a1d747402e88efc8b4a90e0014f04928 (diff)
downloadglibc-61c83c3f0573d03cda87717ee46b5c985c4646fd.tar.gz
glibc-61c83c3f0573d03cda87717ee46b5c985c4646fd.tar.xz
glibc-61c83c3f0573d03cda87717ee46b5c985c4646fd.zip
* sysdeps/mach/configure.in: Add some checks for Mach headers
	to ensure a sane installation.
	(mach_interface_list): Define this variable by checking for .defs
	files found in various variants.
	* configure.in (mach_interface_list): AC_SUBST this.
	* config.make.in (mach-interface-list): New substituted variable.
	* mach/Makefile (user-interfaces): Define this using the value
	of $(mach-interface-list) instead of mach, mach4.
	Updated other references to mach_interface to use it as well.

	* sysdeps/mach/powerpc/machine-lock.h: Avoid multi-line strings.

	* mach/msgserver.c [NDR_CHAR_ASCII] (mig_reply_header_t): #define as
	mig_reply_error_t for OSF Mach variant.

	* mach/Makefile (routines): Remove bootprivport.
	* mach/bootprivport.c: File removed.  It has never been used.

	* mach/msg-destroy.c (__mach_msg_destroy) [MACH_MSG_PORT_DESCRIPTOR]:
	Grok the OSF flavor of message format.
	(mach_msg_destroy_port): For MAKE_SEND and
	MAKE_SEND_ONCE rights, create an destroy a right to ensure proper
	no-senders notification.

2002-02-06  Roland McGrath  <roland@frob.com>

	* hurd/Versions (libc: GLIBC_2.0): Move cthread_fork, cthread_detach
	to here if 2.0 compatibility enabled ...
	(libc: GLIBC_2.1.3): ... from here.
Diffstat (limited to 'mach/msgserver.c')
-rw-r--r--mach/msgserver.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/mach/msgserver.c b/mach/msgserver.c
index d15f0c1cee..6471877a78 100644
--- a/mach/msgserver.c
+++ b/mach/msgserver.c
@@ -49,6 +49,12 @@
 /*
  * HISTORY
  * $Log$
+ * Revision 1.8  2002/02/17 07:13:32  roland
+ * 2002-02-16  Roland McGrath  <roland@frob.com>
+ *
+ * 	* mach/msgserver.c [NDR_CHAR_ASCII] (mig_reply_header_t): #define as
+ * 	mig_reply_error_t for OSF Mach variant.
+ *
  * Revision 1.7  2001/07/06 04:55:34  aj
  * Update to LGPL v2.1.
  *
@@ -93,6 +99,10 @@
 #include <stdlib.h>		/* For malloc and free.  */
 #include <assert.h>
 
+#ifdef NDR_CHAR_ASCII		/* OSF Mach flavors have different names.  */
+# define mig_reply_header_t	mig_reply_error_t
+#endif
+
 mach_msg_return_t
 __mach_msg_server_timeout (boolean_t (*demux) (mach_msg_header_t *request,
 					       mach_msg_header_t *reply),