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

ruby-changes:43834

From: nagachika <ko1@a...>
Date: Tue, 16 Aug 2016 04:15:21 +0900 (JST)
Subject: [ruby-changes:43834] nagachika:r55907 (ruby_2_3): merge revision(s) 55233: [Backport #12446]

nagachika	2016-08-16 04:15:10 +0900 (Tue, 16 Aug 2016)

  New Revision: 55907

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55907

  Log:
    merge revision(s) 55233: [Backport #12446]
    
    * missing/crypt.c: fix size macros to use configured values
      for platforms long is larger than 32bit.
      [ruby-core:75792] [Bug #12446]

  Modified directories:
    branches/ruby_2_3/
  Modified files:
    branches/ruby_2_3/ChangeLog
    branches/ruby_2_3/missing/crypt.c
    branches/ruby_2_3/version.h
Index: ruby_2_3/version.h
===================================================================
--- ruby_2_3/version.h	(revision 55906)
+++ ruby_2_3/version.h	(revision 55907)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/version.h#L1
 #define RUBY_VERSION "2.3.2"
 #define RUBY_RELEASE_DATE "2016-08-16"
-#define RUBY_PATCHLEVEL 157
+#define RUBY_PATCHLEVEL 158
 
 #define RUBY_RELEASE_YEAR 2016
 #define RUBY_RELEASE_MONTH 8
Index: ruby_2_3/ChangeLog
===================================================================
--- ruby_2_3/ChangeLog	(revision 55906)
+++ ruby_2_3/ChangeLog	(revision 55907)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/ChangeLog#L1
+Tue Aug 16 04:06:52 2016  Nobuyoshi Nakada  <nobu@r...>
+
+	* missing/crypt.c: fix size macros to use configured values
+	  for platforms long is larger than 32bit.
+	  [ruby-core:75792] [Bug #12446]
+
 Tue Aug 16 04:03:25 2016  Kazuki Yamaguchi  <k@r...>
 
 	* ext/openssl/ossl_bn.c (try_convert_to_bnptr): Extracted from
Index: ruby_2_3/missing/crypt.c
===================================================================
--- ruby_2_3/missing/crypt.c	(revision 55906)
+++ ruby_2_3/missing/crypt.c	(revision 55907)
@@ -84,7 +84,7 @@ static char sccsid[] = "@(#)crypt.c	8.1 https://github.com/ruby/ruby/blob/trunk/ruby_2_3/missing/crypt.c#L84
  * define "LONG_IS_32_BITS" only if sizeof(long)==4.
  * This avoids use of bit fields (your compiler may be sloppy with them).
  */
-#if !defined(cray)
+#if SIZEOF_LONG == 4
 #define	LONG_IS_32_BITS
 #endif
 
@@ -92,10 +92,9 @@ static char sccsid[] = "@(#)crypt.c	8.1 https://github.com/ruby/ruby/blob/trunk/ruby_2_3/missing/crypt.c#L92
  * define "B64" to be the declaration for a 64 bit integer.
  * XXX this feature is currently unused, see "endian" comment below.
  */
-#if defined(cray)
+#if SIZEOF_LONG == 8
 #define	B64	long
-#endif
-#if defined(convex)
+#elif SIZEOF_LONG_LONG == 8
 #define	B64	long long
 #endif
 

Property changes on: ruby_2_3
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r55233


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

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