diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-18 14:59:29 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-18 14:59:29 +0000 |
| commit | 7042bf24df52c47927b6c402e843fc0b3bb009d7 (patch) | |
| tree | d51d003f5da74fd9cfd9983474ea93b788ec81cb /dir.c | |
| parent | aedb5ce6b49afa7aca699fb94ec1eae7b43fdb4d (diff) | |
| download | ruby-7042bf24df52c47927b6c402e843fc0b3bb009d7.tar.gz ruby-7042bf24df52c47927b6c402e843fc0b3bb009d7.tar.xz ruby-7042bf24df52c47927b6c402e843fc0b3bb009d7.zip | |
* dir.c (GlobPathValue): adjust return types. based on a patch
from Naohisa Goto at [ruby-dev:39350].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
| -rw-r--r-- | dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -343,7 +343,7 @@ static VALUE dir_close(VALUE); /* can contain null bytes as separators */ \ (!RB_TYPE_P(str, T_STRING) ? \ FilePathValue(str) : \ - (safe) ? rb_check_safe_obj(str) : (str)) + (safe) ? (rb_check_safe_obj(str), (str)) : (str)) static VALUE dir_s_alloc(VALUE klass) |
