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)
Этот коммит содержится в:
родитель
b0280fd397
Коммит
b920b0b1c4
@ -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
|
||||
|
@ -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) {
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user