diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-15 04:11:34 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-15 04:11:34 +0000 |
commit | 52f81e0ce7cc58e438e31159453cfb80ec35f5b0 (patch) | |
tree | 2d658d206c9a8f86a2bb7ce62d5ca2d08c566c95 /dir.c | |
parent | 12b5b81a975e2190aebe762b10ceadccd439a45a (diff) | |
download | ruby-52f81e0ce7cc58e438e31159453cfb80ec35f5b0.tar.gz |
commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -508,7 +508,7 @@ check_dirname(dir) SafeStringValue(*dir); rb_secure(2); path = RSTRING(*dir)->ptr; - if (*(path && pend = rb_path_end(rb_path_skip_prefix(path)))) { + if (path && *(pend = rb_path_end(rb_path_skip_prefix(path)))) { *dir = rb_str_new(path, pend - path); } } |