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

ruby-changes:15561

From: nobu <ko1@a...>
Date: Sat, 24 Apr 2010 09:45:04 +0900 (JST)
Subject: [ruby-changes:15561] Ruby:r27466 (ruby_1_8, trunk): * ext/syck/yaml2byte.c (bytestring_append, bytestring_extend):

nobu	2010-04-24 09:44:42 +0900 (Sat, 24 Apr 2010)

  New Revision: 27466

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

  Log:
    * ext/syck/yaml2byte.c (bytestring_append, bytestring_extend):
      removed wrong extra assignments.  a patch from Marcus Rueckert
      <darix AT opensu.se> at [ruby-core:29759].

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/ext/syck/yaml2byte.c
    branches/ruby_1_8/version.h
    trunk/ChangeLog
    trunk/ext/syck/yaml2byte.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 27465)
+++ ChangeLog	(revision 27466)
@@ -1,3 +1,9 @@
+Sat Apr 24 09:44:40 2010  Nobuyoshi Nakada  <nobu@r...>
+
+	* ext/syck/yaml2byte.c (bytestring_append, bytestring_extend):
+	  removed wrong extra assignments.  a patch from Marcus Rueckert
+	  <darix AT opensu.se> at [ruby-core:29759].
+
 Sat Apr 24 00:41:52 2010  Yusuke Endoh  <mame@t...>
 
 	* process.c (rb_f_fork): remove after_exec() which sometimes caused
Index: ext/syck/yaml2byte.c
===================================================================
--- ext/syck/yaml2byte.c	(revision 27465)
+++ ext/syck/yaml2byte.c	(revision 27466)
@@ -63,7 +63,7 @@
         grow = (length - str->remaining) + CHUNKSIZE;
         str->remaining += grow;
         str->length    += grow;
-        str->buffer = S_REALLOC_N( str->buffer, char, str->length + 1 );
+        S_REALLOC_N( str->buffer, char, str->length + 1 );
         assert(str->buffer);
     }
     curr = str->buffer + (str->length - str->remaining);
@@ -100,7 +100,7 @@
             grow = (length - str->remaining) + CHUNKSIZE;
             str->remaining += grow;
             str->length    += grow;
-            str->buffer = S_REALLOC_N( str->buffer, char, str->length + 1 );
+            S_REALLOC_N( str->buffer, char, str->length + 1 );
         }
         curr = str->buffer + (str->length - str->remaining);
         from = ext->buffer;
Index: ruby_1_8/ext/syck/yaml2byte.c
===================================================================
--- ruby_1_8/ext/syck/yaml2byte.c	(revision 27465)
+++ ruby_1_8/ext/syck/yaml2byte.c	(revision 27466)
@@ -64,7 +64,7 @@
         grow = (length - str->remaining) + CHUNKSIZE;
         str->remaining += grow;
         str->length    += grow; 
-        str->buffer = S_REALLOC_N( str->buffer, char, str->length + 1 );
+        S_REALLOC_N( str->buffer, char, str->length + 1 );
         assert(str->buffer);
     }
     curr = str->buffer + (str->length - str->remaining);
@@ -101,7 +101,7 @@
             grow = (length - str->remaining) + CHUNKSIZE;
             str->remaining += grow;
             str->length    += grow; 
-            str->buffer = S_REALLOC_N( str->buffer, char, str->length + 1 );
+            S_REALLOC_N( str->buffer, char, str->length + 1 );
         }
         curr = str->buffer + (str->length - str->remaining);
         from = ext->buffer;
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 27465)
+++ ruby_1_8/ChangeLog	(revision 27466)
@@ -1,3 +1,9 @@
+Sat Apr 24 09:44:40 2010  Nobuyoshi Nakada  <nobu@r...>
+
+	* ext/syck/yaml2byte.c (bytestring_append, bytestring_extend):
+	  removed wrong extra assignments.  a patch from Marcus Rueckert
+	  <darix AT opensu.se> at [ruby-core:29759].
+
 Fri Apr 23 18:52:13 2010  Masaki Suketa <masaki.suketa@n...>
 
 	* ext/win32ole/win32ole.c (ole_val2variant): fix the core dump
Index: ruby_1_8/version.h
===================================================================
--- ruby_1_8/version.h	(revision 27465)
+++ ruby_1_8/version.h	(revision 27466)
@@ -1,7 +1,7 @@
 #define RUBY_VERSION "1.8.8"
-#define RUBY_RELEASE_DATE "2010-04-23"
+#define RUBY_RELEASE_DATE "2010-04-24"
 #define RUBY_VERSION_CODE 188
-#define RUBY_RELEASE_CODE 20100423
+#define RUBY_RELEASE_CODE 20100424
 #define RUBY_PATCHLEVEL -1
 
 #define RUBY_VERSION_MAJOR 1
@@ -9,7 +9,7 @@
 #define RUBY_VERSION_TEENY 8
 #define RUBY_RELEASE_YEAR 2010
 #define RUBY_RELEASE_MONTH 4
-#define RUBY_RELEASE_DAY 23
+#define RUBY_RELEASE_DAY 24
 
 #ifdef RUBY_EXTERN
 RUBY_EXTERN const char ruby_version[];

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

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