summaryrefslogtreecommitdiffstats
path: root/dir.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-11 08:59:20 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-11 08:59:20 +0000
commit5e5e1a2fce1363c4a289c48fc41f5b11040605a7 (patch)
tree64ae739a570316ce8daf6e5ab65fd6b961ecd7a4 /dir.c
parentaeb72c6355fbb75f3cbd5886251e080c51491dd7 (diff)
downloadruby-5e5e1a2fce1363c4a289c48fc41f5b11040605a7.tar.gz
ruby-5e5e1a2fce1363c4a289c48fc41f5b11040605a7.tar.xz
ruby-5e5e1a2fce1363c4a289c48fc41f5b11040605a7.zip
* dir.c (rb_glob): should have called rb_glob_caller().
[ruby-dev:24773] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index 1e03d412f..970d13edc 100644
--- a/dir.c
+++ b/dir.c
@@ -1410,7 +1410,7 @@ rb_glob(path, func, arg)
args.func = func;
args.arg = arg;
- status = rb_glob2(rb_str_new2(path), 0, func, &args);
+ status = rb_glob2(rb_str_new2(path), 0, rb_glob_caller, &args);
if (status) rb_jump_tag(status);
}