diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-08 09:25:32 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-08 09:25:32 +0000 |
| commit | 10bdf46e0a8b988a4757b69e498f1a6fda8b4142 (patch) | |
| tree | 6c2becc3ce961fe0b55477c1ce45c0ed28278540 /dir.c | |
| parent | a0ba80f10cfa8a7d04b703e0cd50207935677dc3 (diff) | |
| download | ruby-10bdf46e0a8b988a4757b69e498f1a6fda8b4142.tar.gz ruby-10bdf46e0a8b988a4757b69e498f1a6fda8b4142.tar.xz ruby-10bdf46e0a8b988a4757b69e498f1a6fda8b4142.zip | |
* dir.c (glob_helper): should not recurse in exceptional status.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
| -rw-r--r-- | dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1138,7 +1138,7 @@ glob_helper(path, sub, separator, flags, func, arg) /* if separator p[-1] is rem free(tmp); } - if (!magical) { + if (status == 0 && !magical) { status = glob_helper(path, p, separator, flags, func, arg); } |
