diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-09-12 09:11:12 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-09-12 09:11:12 +0000 |
commit | 66d9f5498b4da0febfc251ae8f1915a6f9df124f (patch) | |
tree | b8ce7a555509356d549787464d0a16762e860f63 /dir.c | |
parent | 563885cad6b8b6e3485a676c06d53acec1e93afc (diff) |
* dir.c (glob_helper): should pass matched path. (ruby-bugs-ja:PR#333)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -796,7 +796,7 @@ glob_helper(path, sub, flags, func, arg) buf = ALLOC_N(char, strlen(base)+NAMLEN(dp)+2); sprintf(buf, "%s%s%s", base, (BASE) ? "/" : "", dp->d_name); if (!m) { - status = glob_call_func(func, path, arg); + status = glob_call_func(func, buf, arg); free(buf); if (status) goto finalize; continue; |