[前][次][番号順一覧][スレッド一覧]

ruby-changes:18234

From: yugui <ko1@a...>
Date: Mon, 20 Dec 2010 22:30:01 +0900 (JST)
Subject: [ruby-changes:18234] Ruby:r30258 (ruby_1_9_2): merges r29807 from trunk into ruby_1_9_2.

yugui	2010-12-20 22:22:36 +0900 (Mon, 20 Dec 2010)

  New Revision: 30258

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30258

  Log:
    merges r29807 from trunk into ruby_1_9_2.
    --
    * vm_insnhelper.c (vm_throw): remove fear of undefined behavior :-)
      Coverity Scan found this bug.

  Modified files:
    branches/ruby_1_9_2/ChangeLog
    branches/ruby_1_9_2/version.h
    branches/ruby_1_9_2/vm_insnhelper.c

Index: ruby_1_9_2/ChangeLog
===================================================================
--- ruby_1_9_2/ChangeLog	(revision 30257)
+++ ruby_1_9_2/ChangeLog	(revision 30258)
@@ -1,3 +1,8 @@
+Tue Nov 16 22:30:39 2010  Yusuke Endoh  <mame@t...>
+
+	* vm_insnhelper.c (vm_throw): remove fear of undefined behavior :-)
+	  Coverity Scan found this bug.
+
 Tue Nov 16 06:39:31 2010  Nobuyoshi Nakada  <nobu@r...>
 
 	* pack.c (PACK_ITEM_ADJUST): return nil not result array and yield
Index: ruby_1_9_2/version.h
===================================================================
--- ruby_1_9_2/version.h	(revision 30257)
+++ ruby_1_9_2/version.h	(revision 30258)
@@ -1,5 +1,5 @@
 #define RUBY_VERSION "1.9.2"
-#define RUBY_PATCHLEVEL 98
+#define RUBY_PATCHLEVEL 99
 #define RUBY_VERSION_MAJOR 1
 #define RUBY_VERSION_MINOR 9
 #define RUBY_VERSION_TEENY 1
Index: ruby_1_9_2/vm_insnhelper.c
===================================================================
--- ruby_1_9_2/vm_insnhelper.c	(revision 30257)
+++ ruby_1_9_2/vm_insnhelper.c	(revision 30258)
@@ -1474,7 +1474,7 @@
 
 		    while ((VALUE *)cfp < th->stack + th->stack_size) {
 			if (cfp->dfp == dfp) {
-			    VALUE epc = epc = cfp->pc - cfp->iseq->iseq_encoded;
+			    VALUE epc = cfp->pc - cfp->iseq->iseq_encoded;
 			    rb_iseq_t *iseq = cfp->iseq;
 			    int i;
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]