diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-04-10 09:58:39 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-04-10 09:58:39 +0000 |
| commit | ab999dd38b1af31be2607129808a8e8598eceac8 (patch) | |
| tree | 9ac8522146a943d34bce710c803519215b336805 /dir.c | |
| parent | 6d3df63952c4fa64d1dfcf32b6c97029659ae7f1 (diff) | |
| download | ruby-ab999dd38b1af31be2607129808a8e8598eceac8.tar.gz ruby-ab999dd38b1af31be2607129808a8e8598eceac8.tar.xz ruby-ab999dd38b1af31be2607129808a8e8598eceac8.zip | |
* dir.c (glob_helper): should have proceed link when link->path
was non existing symbolic link.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
| -rw-r--r-- | dir.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; } |
