diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-29 22:59:54 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-29 22:59:54 +0000 |
commit | 7ae7ac4abab04f4351ae84f63f81b61a41843aff (patch) | |
tree | de41136ca6ffb27f28729ecaf219e4fdea2bfbe6 /include | |
parent | bc8e65073588035b6d6d272be8c697a8dc27ee81 (diff) | |
download | ruby-7ae7ac4abab04f4351ae84f63f81b61a41843aff.tar.gz |
* util.c (ruby_add_suffix): fixed a bug returning uninitialized
value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/intern.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 338c8bb1b7..c977a4bfd5 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -381,6 +381,8 @@ char *rb_path_end(const char *); VALUE rb_file_directory_p(VALUE,VALUE); VALUE rb_str_encode_ospath(VALUE); int rb_is_absolute_path(const char *); +const char *ruby_find_basename(const char *name, long *baselen, long *alllen); +const char *ruby_find_extname(const char *name, long *len); /* gc.c */ void ruby_set_stack_size(size_t); NORETURN(void rb_memerror(void)); |