mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* proc.c (bmcall): should not uninitialized variable. a patch from
pegacorn at [ruby-dev:38169]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4de12b6ae9
commit
f621b32e58
3 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun Mar 15 02:09:31 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* proc.c (bmcall): should not uninitialized variable. a patch from
|
||||
pegacorn at [ruby-dev:38169].
|
||||
|
||||
Sat Mar 14 18:25:18 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* util.c (ruby_scan_oct, ruby_scan_hex): use size_t.
|
||||
|
|
4
proc.c
4
proc.c
|
@ -1647,8 +1647,8 @@ bmcall(VALUE args, VALUE method)
|
|||
else {
|
||||
argc = check_argc(RARRAY_LEN(args));
|
||||
}
|
||||
ret = rb_method_call(argc, RARRAY_PTR(a), method);
|
||||
a = args;
|
||||
ret = rb_method_call(argc, RARRAY_PTR(args), method);
|
||||
RB_GC_GUARD(a) = args;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#define RUBY_VERSION "1.9.2"
|
||||
#define RUBY_RELEASE_DATE "2009-03-14"
|
||||
#define RUBY_RELEASE_DATE "2009-03-15"
|
||||
#define RUBY_PATCHLEVEL -1
|
||||
#define RUBY_BRANCH_NAME "trunk"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
#define RUBY_VERSION_TEENY 1
|
||||
#define RUBY_RELEASE_YEAR 2009
|
||||
#define RUBY_RELEASE_MONTH 3
|
||||
#define RUBY_RELEASE_DAY 14
|
||||
#define RUBY_RELEASE_DAY 15
|
||||
|
||||
#ifdef RUBY_EXTERN
|
||||
RUBY_EXTERN const char ruby_version[];
|
||||
|
|
Loading…
Reference in a new issue