[Top][All Lists]

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

mig defs mismatch

From: Neal H Walfield
Subject: mig defs mismatch
Date: Sat, 14 Oct 2000 21:52:12 -0500
User-agent: Mutt/1.2i


I have built the hurd and been looking aournd.  I have found the
following strangeness:

# diff -u hurd/build/libtrivfs/fsys_S.h /include/hurd/fsys.h
--- hurd/build/libtrivfs/fsys_S.h    Sat Oct 14 22:21:47 2000
+++ /include/hurd/fsys.h        Wed Jul 19 17:30:49 2000
@@ -1,5 +1,5 @@
-#ifndef        _fsys_server_
-#define        _fsys_server_
+#ifndef        _fsys_user_
+#define        _fsys_user_
 /* Module fsys */
@@ -17,7 +17,6 @@
 #include <sys/resource.h>
 #include <sys/utsname.h>
 #include <hurd/hurd_types.h>
-#include "priv.h"
 /* Routine fsys_startup */
 #ifdef mig_external
@@ -25,26 +24,22 @@
-kern_return_t trivfs_S_fsys_startup
+kern_return_t __fsys_startup
 #if    defined(LINTLIBRARY)
-    (bootstrap, reply, replyPoly, openflags, control_port, realnode,
+    (bootstrap, openflags, control_port, control_portPoly, realnode)
        mach_port_t bootstrap;
-       mach_port_t reply;
-       mach_msg_type_name_t replyPoly;
        int openflags;
        mach_port_t control_port;
+       mach_msg_type_name_t control_portPoly;
        mach_port_t *realnode;
-       mach_msg_type_name_t *realnodePoly;
-{ return trivfs_S_fsys_startup(bootstrap, reply, replyPoly, openflags,
port, realnode, realnodePoly); }
+{ return __fsys_startup(bootstrap, openflags, control_port,
control_portPoly, r
ealnode); }
        mach_port_t bootstrap,
-       mach_port_t reply,
-       mach_msg_type_name_t replyPoly,
        int openflags,
        mach_port_t control_port,
-       mach_port_t *realnode,
-       mach_msg_type_name_t *realnodePoly
+       mach_msg_type_name_t control_portPoly,
+       mach_port_t *realnode

The output goes on for sometime, however, as you can see from this snip-it, the
order of parameters are _different_ in each of the versions!  And not only that,
they take different parameters.  Even stranger is that

  # diff hurd/fsys.defs /include/hurd/fsys.defs

shows that they two files are identical.

What is going on?


Neal H Walfield
University of Massachusetts at Lowell
neal@walfield.org or neal@cs.uml.edu

reply via email to

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