1 |
/* Hostmux leaf node functions |
/* Hostmux leaf node functions |
2 |
|
|
3 |
Copyright (C) 1997 Free Software Foundation, Inc. |
Copyright (C) 1997,2002 Free Software Foundation, Inc. |
4 |
Written by Miles Bader <miles@gnu.ai.mit.edu> |
Written by Miles Bader <miles@gnu.org> |
5 |
This file is part of the GNU Hurd. |
This file is part of the GNU Hurd. |
6 |
|
|
7 |
The GNU Hurd is free software; you can redistribute it and/or |
The GNU Hurd is free software; you can redistribute it and/or |
111 |
new->nn_stat.st_mode = (S_IFLNK | 0666); |
new->nn_stat.st_mode = (S_IFLNK | 0666); |
112 |
new->nn_stat.st_size = strlen (name->canon); |
new->nn_stat.st_size = strlen (name->canon); |
113 |
} |
} |
114 |
|
new->nn_translated = new->nn_stat.st_mode; |
115 |
|
|
116 |
fshelp_touch (&new->nn_stat, TOUCH_ATIME|TOUCH_MTIME|TOUCH_CTIME, |
fshelp_touch (&new->nn_stat, TOUCH_ATIME|TOUCH_MTIME|TOUCH_CTIME, |
117 |
hostmux_maptime); |
hostmux_maptime); |