ruby-changes:37655
From: usa <ko1@a...>
Date: Wed, 25 Feb 2015 14:33:42 +0900 (JST)
Subject: [ruby-changes:37655] usa:r49736 (ruby_2_0_0): merge revision(s) 49490, 49494: [Backport #10825]
usa 2015-02-25 14:33:34 +0900 (Wed, 25 Feb 2015) New Revision: 49736 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49736 Log: merge revision(s) 49490,49494: [Backport #10825] * ext/sdbm/_sdbm.c: include ruby/ruby.h for PRIdPTRDIFF when a macro `DEBUG` is defined. based on the patch by Owen Rodley in [ruby-core:67987]. [Bug #10825] Modified directories: branches/ruby_2_0_0/ Modified files: branches/ruby_2_0_0/ChangeLog branches/ruby_2_0_0/ext/sdbm/_sdbm.c branches/ruby_2_0_0/version.h Index: ruby_2_0_0/ChangeLog =================================================================== --- ruby_2_0_0/ChangeLog (revision 49735) +++ ruby_2_0_0/ChangeLog (revision 49736) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/ChangeLog#L1 +Wed Feb 25 14:29:19 2015 Nobuyoshi Nakada <nobu@r...> + + * ext/sdbm/_sdbm.c: include ruby/ruby.h for PRIdPTRDIFF when a + macro `DEBUG` is defined. based on the patch by Owen Rodley in + [ruby-core:67987]. [Bug #10825] + Wed Feb 25 14:22:57 2015 Nobuyoshi Nakada <nobu@r...> * lib/mkmf.rb (try_cppflags, try_cflags, try_ldflags): get rid of Index: ruby_2_0_0/ext/sdbm/_sdbm.c =================================================================== --- ruby_2_0_0/ext/sdbm/_sdbm.c (revision 49735) +++ ruby_2_0_0/ext/sdbm/_sdbm.c (revision 49736) @@ -7,8 +7,7 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/ext/sdbm/_sdbm.c#L7 * core routines */ -#include "ruby/config.h" -#include "ruby/defines.h" +#include "ruby/ruby.h" #ifdef HAVE_UNISTD_H #include <unistd.h> @@ -803,7 +802,7 @@ delpair(char *pag, datum key) https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/ext/sdbm/_sdbm.c#L802 } #else #ifdef MEMMOVE - memmove(dst, src, m); + memmove(dst-m, src-m, m); #else while (m--) *--dst = *--src; Index: ruby_2_0_0/version.h =================================================================== --- ruby_2_0_0/version.h (revision 49735) +++ ruby_2_0_0/version.h (revision 49736) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/version.h#L1 #define RUBY_VERSION "2.0.0" #define RUBY_RELEASE_DATE "2015-02-25" -#define RUBY_PATCHLEVEL 638 +#define RUBY_PATCHLEVEL 639 #define RUBY_RELEASE_YEAR 2015 #define RUBY_RELEASE_MONTH 2 Property changes on: ruby_2_0_0 ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r49490,49494 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/