ruby-changes:10253
From: shyouhei <ko1@a...>
Date: Tue, 27 Jan 2009 15:17:24 +0900 (JST)
Subject: [ruby-changes:10253] Ruby:r21796 (ruby_1_8_6): merge revision(s) 19593:
shyouhei 2009-01-27 15:17:02 +0900 (Tue, 27 Jan 2009) New Revision: 21796 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21796 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_6/ChangeLog branches/ruby_1_8_6/ext/socket/socket.c branches/ruby_1_8_6/version.h Index: ruby_1_8_6/ext/socket/socket.c =================================================================== --- ruby_1_8_6/ext/socket/socket.c (revision 21795) +++ ruby_1_8_6/ext/socket/socket.c (revision 21796) @@ -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_6/ChangeLog =================================================================== --- ruby_1_8_6/ChangeLog (revision 21795) +++ ruby_1_8_6/ChangeLog (revision 21796) @@ -1,3 +1,8 @@ +Tue Jan 27 15:16:05 2009 Nobuyoshi Nakada <nobu@r...> + + * ext/socket/socket.c (host_str): numeric address should be unsigned. + [ruby-core:18971] + Mon Jan 26 11:11:22 2009 NAKAMURA Usaku <usa@r...> * lib/tmpdir.rb: setup buffer with nul characters instead of spaces. Index: ruby_1_8_6/version.h =================================================================== --- ruby_1_8_6/version.h (revision 21795) +++ ruby_1_8_6/version.h (revision 21796) @@ -1,15 +1,15 @@ #define RUBY_VERSION "1.8.6" -#define RUBY_RELEASE_DATE "2009-01-26" +#define RUBY_RELEASE_DATE "2009-01-27" #define RUBY_VERSION_CODE 186 -#define RUBY_RELEASE_CODE 20090126 -#define RUBY_PATCHLEVEL 310 +#define RUBY_RELEASE_CODE 20090127 +#define RUBY_PATCHLEVEL 311 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 #define RUBY_VERSION_TEENY 6 #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/