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

ruby-changes:37718

From: nobu <ko1@a...>
Date: Mon, 2 Mar 2015 11:43:25 +0900 (JST)
Subject: [ruby-changes:37718] nobu:r49799 (trunk): configure.in: restore unsignedness

nobu	2015-03-02 11:43:10 +0900 (Mon, 02 Mar 2015)

  New Revision: 49799

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

  Log:
    configure.in: restore unsignedness
    
    * configure.in (RUBY_REPLACE_TYPE): restore unsigned type from
      cached variable.

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 49798)
+++ configure.in	(revision 49799)
@@ -1479,7 +1479,7 @@ AC_DEFUN([RUBY_REPLACE_TYPE], [dnl https://github.com/ruby/ruby/blob/trunk/configure.in#L1479
 	    [*LL], [n="long long"],
 	    [*LONG], [n="long"],
 	    [n="int"])
-    AS_CASE("${rb_cv_[$1]_convertible}", [U*], [u=+1], [u=-1])
+    AS_CASE("${rb_cv_[$1]_convertible}", [U*], [u=+1 n="unsigned $n"], [u=-1])
     AC_DEFINE_UNQUOTED(rb_[$1], $n)
     AC_DEFINE_UNQUOTED([SIGNEDNESS_OF_]AS_TR_CPP($1), $u)
     AC_DEFINE_UNQUOTED([$3]2NUM[(v)], [${rb_cv_[$1]_convertible}2NUM(v)])
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 49798)
+++ ChangeLog	(revision 49799)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Mar  2 11:43:07 2015  Nobuyoshi Nakada  <nobu@r...>
+
+	* configure.in (RUBY_REPLACE_TYPE): restore unsigned type from
+	  cached variable.
+
 Mon Mar  2 06:01:41 2015  Eric Wong  <e@8...>
 
 	* ext/io/wait/wait.c (io_nread): wrap return value with INT2FIX

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

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