1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* dir.c (glob_helper): should not recurse in exceptional status.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2004-01-08 09:25:32 +00:00
parent d69d6b6c36
commit 0f3e58e707
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Thu Jan 8 18:25:29 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
* dir.c (glob_helper): should not recurse in exceptional status.
Thu Jan 8 16:51:04 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
* test/wsdl/datetime/test_datetime.rb: fixed a stupid testcase which

2
dir.c
View file

@ -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);
}