summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-14 17:09:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-14 17:09:33 +0000
commitf621b32e58fa7266e83884be795d00ee41c86560 (patch)
treef0702c648895bd829f219fc262b142151aaaa438
parent4de12b6ae9a7fc1e28ada4b62291a78f28ae7528 (diff)
* 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
-rw-r--r--ChangeLog5
-rw-r--r--proc.c4
-rw-r--r--version.h4
3 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 71f8e0095f1..f4d758f2a7d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/proc.c b/proc.c
index f43c4385117..9f2a46416db 100644
--- a/proc.c
+++ b/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;
}
diff --git a/version.h b/version.h
index 78a61bc2e4b..fb153c45e58 100644
--- a/version.h
+++ b/version.h
@@ -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[];