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 | |
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
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | dir.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -Mon Dec 15 13:06:58 2003 Nobuyoshi Nakada <nobu@ruby-lang.org> +Mon Dec 15 13:11:32 2003 Nobuyoshi Nakada <nobu@ruby-lang.org> * dir.c (check_dirname): check string safety and remove extraneous trailing directory separators. [ruby-dev:22279] @@ -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); } } |