Sat Oct 3 14:28:57 1998 Norbert Warmuth <nwarmuth@privat.circular.de>

* vfs/ftpfs.c (resolve_symlink): fixed cut'n paste error in my last commit,
i.e. make it compile)
This commit is contained in:
Norbert Warmuth 1998-10-03 12:30:03 +00:00
parent b0280fd397
commit b920b0b1c4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sat Oct 3 14:28:57 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* ftpfs.c (resolve_symlink): fixed cut'n paste error in my last
change, i.e. make it compile)
Sat Oct 3 01:03:37 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* ftpfs.c (resolve_symlink): minor speed enhancement

View File

@ -1047,7 +1047,7 @@ resolve_symlink(struct connection *bucket, struct dir *dir)
strcat (tmp + 1, fel->linkname);
}
for ( ;; ) {
canonicalize_pathname (remote_path);
canonicalize_pathname (tmp);
fe = _get_file_entry(bucket, tmp, 0, 0);
if (fe) {
if (S_ISLNK (fe->s.st_mode) && fe->l_stat == 0) {