summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libfshelp/ChangeLog5
-rw-r--r--libfshelp/fetch-root.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/libfshelp/ChangeLog b/libfshelp/ChangeLog
index b5aca721..943b76e3 100644
--- a/libfshelp/ChangeLog
+++ b/libfshelp/ChangeLog
@@ -1,3 +1,8 @@
+Tue Apr 20 21:43:20 1999 Thomas Bushnell, BSG <tb@mit.edu>
+
+ * fetch-root.c (fshelp_fetch_root): When starting a passive
+ translator, set cwd to be DOTDOT instead of our own cwd.
+
Sat Mar 6 17:03:02 1999 Thomas Bushnell, BSG <tb@mit.edu>
* start-translator-long.c (service_fsys_startup): Doc fixes, and
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;