1 |
/* Directory operations |
/* Directory operations |
2 |
|
|
3 |
Copyright (C) 1997, 1998 Free Software Foundation, Inc. |
Copyright (C) 1997,98,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 |
539 |
ccache_invalidate (nn->contents); |
ccache_invalidate (nn->contents); |
540 |
|
|
541 |
node->nn_stat = entry->stat; |
node->nn_stat = entry->stat; |
542 |
|
node->nn_translated = S_ISLNK (entry->stat.st_mode) ? S_IFLNK : 0; |
543 |
if (!nn->dir && S_ISDIR (entry->stat.st_mode)) |
if (!nn->dir && S_ISDIR (entry->stat.st_mode)) |
544 |
ftpfs_dir_create (nn->fs, node, nn->rmt_path, &nn->dir); |
ftpfs_dir_create (nn->fs, node, nn->rmt_path, &nn->dir); |
545 |
|
|