From 342dd1301dd4f2866137816078ffa73888e16156 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Wed, 21 Apr 1999 02:02:58 +0000 Subject: Tue Apr 20 21:43:20 1999 Thomas Bushnell, BSG * fetch-root.c (fshelp_fetch_root): When starting a passive translator, set cwd to be DOTDOT instead of our own cwd. --- libfshelp/fetch-root.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libfshelp/fetch-root.c') diff --git a/libfshelp/fetch-root.c b/libfshelp/fetch-root.c index 4e397d10..76839993 100644 --- a/libfshelp/fetch-root.c +++ b/libfshelp/fetch-root.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1995, 1996 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1999 Free Software Foundation, Inc. Written by Michael I. Bushnell. This file is part of the GNU Hurd. @@ -119,7 +119,7 @@ fshelp_fetch_root (struct transbox *box, void *cookie, bzero (fds, (STDERR_FILENO + 1) * sizeof (mach_port_t)); bzero (ints, INIT_INT_MAX * sizeof (int)); - ports[INIT_PORT_CWDIR] = reauth (getcwdir (), MACH_MSG_TYPE_MOVE_SEND); + ports[INIT_PORT_CWDIR] = dotdot; ports[INIT_PORT_CRDIR] = reauth (getcrdir (), MACH_MSG_TYPE_MOVE_SEND); ports[INIT_PORT_AUTH] = newauth; -- cgit v1.2.3