From 8f95970e61d7d6b2041186a16fd60aea062b0924 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 13 May 2002 22:33:06 +0000 Subject: 2002-05-13 Roland McGrath * leaf.c (create_user_node): Set NEW->nn_translated appropriately. * usermux.c (main): Set netfs_root_node->nn_translated to zero. --- usermux/leaf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usermux/leaf.c') diff --git a/usermux/leaf.c b/usermux/leaf.c index bacaee9d..7f41b187 100644 --- a/usermux/leaf.c +++ b/usermux/leaf.c @@ -1,7 +1,7 @@ /* Usermux leaf node functions - Copyright (C) 1997 Free Software Foundation, Inc. - Written by Miles Bader + Copyright (C) 1997,2002 Free Software Foundation, Inc. + Written by Miles Bader This file is part of the GNU Hurd. The GNU Hurd is free software; you can redistribute it and/or @@ -133,6 +133,7 @@ create_user_node (struct usermux *mux, struct usermux_name *name, new->nn_stat.st_mode = (S_IFREG | S_IPTRANS | 0666); new->nn_stat.st_size = 0; } + new->nn_translated = new->nn_stat.st_mode; if (err) { -- cgit v1.2.3