diff options
author | Roland McGrath <roland@gnu.org> | 2002-05-13 22:33:06 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-05-13 22:33:06 +0000 |
commit | 8f95970e61d7d6b2041186a16fd60aea062b0924 (patch) | |
tree | 4052f0757fb1f03c0fb92785c129b3a83cbf1087 /usermux/leaf.c | |
parent | 0246ed28b5beaac2f614ed3780501d684476f75b (diff) |
2002-05-13 Roland McGrath <roland@frob.com>
* leaf.c (create_user_node): Set NEW->nn_translated appropriately.
* usermux.c (main): Set netfs_root_node->nn_translated to zero.
Diffstat (limited to 'usermux/leaf.c')
-rw-r--r-- | usermux/leaf.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 <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 @@ -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) { |