diff options
author | Roland McGrath <roland@gnu.org> | 1994-08-31 07:25:50 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1994-08-31 07:25:50 +0000 |
commit | 74fbb191097d6f6dce65962e596a76107e268f8f (patch) | |
tree | 95a1167df51b89593fbb17937d9f71418bc4ee51 /fstests | |
parent | d6228d60d12cc8c1b881091cb255c275d5228a96 (diff) |
entered into RCS
Diffstat (limited to 'fstests')
-rw-r--r-- | fstests/fstests.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/fstests/fstests.c b/fstests/fstests.c index cc48f3e9..600eb3ef 100644 --- a/fstests/fstests.c +++ b/fstests/fstests.c @@ -27,8 +27,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <hurd.h> #include <fcntl.h> #include <errno.h> - -/* mach_port_t _hurd_msgport = MACH_PORT_NULL; */ +#include <unistd.h> int check_refs (mach_port_t port) /* To call from gdb */ { @@ -42,15 +41,17 @@ int check_refs (mach_port_t port) /* To call from gdb */ void main () { + mach_port_t root; + extern file_t *_hurd_init_dtable; + char string[] = "Did this get into the file?\n"; +#if 0 file_t filetowrite; retry_type retry; char pathbuf[1024]; - extern file_t *_hurd_init_dtable; - char string[] = "Did this get into the file?\n"; int written; int err; - mach_port_t root; - +#endif + root = getcrdir (); printf ("fstests running...\n"); |