mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* dir.c (glob_helper): should have proceed link when link->path
was non existing symbolic link. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
19c42c0740
commit
b010cccc90
2 changed files with 9 additions and 5 deletions
|
@ -1,4 +1,8 @@
|
|||
<<<<<<< ChangeLog
|
||||
Wed Apr 10 18:42:23 2002 Tachino Nobuhiro <tachino@jp.fujitsu.com>
|
||||
|
||||
* dir.c (glob_helper): should have proceed link when link->path
|
||||
was non existing symbolic link.
|
||||
|
||||
Wed Apr 10 17:30:19 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* variable.c (rb_obj_remove_instance_variable): raise NameError if
|
||||
|
|
8
dir.c
8
dir.c
|
@ -779,14 +779,14 @@ glob_helper(path, sub, flags, func, arg)
|
|||
glob_helper(t, t+len, flags, func, arg);
|
||||
free(t);
|
||||
}
|
||||
tmp = link;
|
||||
link = link->next;
|
||||
free(tmp->path);
|
||||
free(tmp);
|
||||
}
|
||||
else {
|
||||
rb_sys_warning(link->path);
|
||||
}
|
||||
tmp = link;
|
||||
link = link->next;
|
||||
free(tmp->path);
|
||||
free(tmp);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue