summaryrefslogtreecommitdiff
path: root/hostmux/leaf.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-13 22:33:14 +0000
committerRoland McGrath <roland@gnu.org>2002-05-13 22:33:14 +0000
commit7b4e4fc828e0cd6427193cb39b1d6ef4ff3ca97d (patch)
tree1609def56e07b7dc9398b405d495a6ab307b356b /hostmux/leaf.c
parent8f95970e61d7d6b2041186a16fd60aea062b0924 (diff)
2002-05-13 Roland McGrath <roland@frob.com>
* leaf.c (create_host_node): Set NEW->nn_translated appropriately. * hostmux.c (main): Set netfs_root_node->nn_translated to zero.
Diffstat (limited to 'hostmux/leaf.c')
-rw-r--r--hostmux/leaf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hostmux/leaf.c b/hostmux/leaf.c
index 8e107f60..aba32b84 100644
--- a/hostmux/leaf.c
+++ b/hostmux/leaf.c
@@ -1,7 +1,7 @@
/* Hostmux leaf node functions
- Copyright (C) 1997 Free Software Foundation, Inc.
- Written by Miles Bader <miles@gnu.ai.mit.edu>
+ Copyright (C) 1997,2002 Free Software Foundation, Inc.
+ Written by Miles Bader <miles@gnu.org>
This file is part of the GNU Hurd.
The GNU Hurd is free software; you can redistribute it and/or
@@ -111,6 +111,7 @@ create_host_node (struct hostmux *mux, struct hostmux_name *name,
new->nn_stat.st_mode = (S_IFLNK | 0666);
new->nn_stat.st_size = strlen (name->canon);
}
+ new->nn_translated = new->nn_stat.st_mode;
fshelp_touch (&new->nn_stat, TOUCH_ATIME|TOUCH_MTIME|TOUCH_CTIME,
hostmux_maptime);