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

ruby-changes:10255

From: shyouhei <ko1@a...>
Date: Tue, 27 Jan 2009 15:18:17 +0900 (JST)
Subject: [ruby-changes:10255] Ruby:r21798 (ruby_1_8_7): merge revision(s) 19593:

shyouhei	2009-01-27 15:18:04 +0900 (Tue, 27 Jan 2009)

  New Revision: 21798

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

  Log:
    merge revision(s) 19593:
    * ext/socket/socket.c (host_str): numeric address should be unsigned.
      [ruby-core:18971]

  Modified files:
    branches/ruby_1_8_7/ChangeLog
    branches/ruby_1_8_7/ext/socket/socket.c
    branches/ruby_1_8_7/version.h

Index: ruby_1_8_7/ext/socket/socket.c
===================================================================
--- ruby_1_8_7/ext/socket/socket.c	(revision 21797)
+++ ruby_1_8_7/ext/socket/socket.c	(revision 21798)
@@ -840,7 +840,7 @@
 	return NULL;
     }
     else if (rb_obj_is_kind_of(host, rb_cInteger)) {
-	long i = NUM2LONG(host);
+	unsigned long i = NUM2ULONG(host);
 
 	make_inetaddr(htonl(i), hbuf, len);
 	return hbuf;
Index: ruby_1_8_7/ChangeLog
===================================================================
--- ruby_1_8_7/ChangeLog	(revision 21797)
+++ ruby_1_8_7/ChangeLog	(revision 21798)
@@ -1,3 +1,8 @@
+Tue Jan 27 15:17:35 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* ext/socket/socket.c (host_str): numeric address should be unsigned.
+	  [ruby-core:18971]
+
 Mon Jan 26 11:12:03 2009  NAKAMURA Usaku  <usa@r...>
 
 	* lib/tmpdir.rb: setup buffer with nul characters instead of spaces.
Index: ruby_1_8_7/version.h
===================================================================
--- ruby_1_8_7/version.h	(revision 21797)
+++ ruby_1_8_7/version.h	(revision 21798)
@@ -1,15 +1,15 @@
 #define RUBY_VERSION "1.8.7"
-#define RUBY_RELEASE_DATE "2009-01-26"
+#define RUBY_RELEASE_DATE "2009-01-27"
 #define RUBY_VERSION_CODE 187
-#define RUBY_RELEASE_CODE 20090126
-#define RUBY_PATCHLEVEL 96
+#define RUBY_RELEASE_CODE 20090127
+#define RUBY_PATCHLEVEL 97
 
 #define RUBY_VERSION_MAJOR 1
 #define RUBY_VERSION_MINOR 8
 #define RUBY_VERSION_TEENY 7
 #define RUBY_RELEASE_YEAR 2009
 #define RUBY_RELEASE_MONTH 1
-#define RUBY_RELEASE_DAY 26
+#define RUBY_RELEASE_DAY 27
 
 #ifdef RUBY_EXTERN
 RUBY_EXTERN const char ruby_version[];

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

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