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

ruby-changes:32943

From: ko1 <ko1@a...>
Date: Mon, 17 Feb 2014 12:33:07 +0900 (JST)
Subject: [ruby-changes:32943] ko1:r45022 (trunk): * gc.c (get_envparam_double): fix a warning message.

ko1	2014-02-17 12:33:03 +0900 (Mon, 17 Feb 2014)

  New Revision: 45022

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

  Log:
    * gc.c (get_envparam_double): fix a warning message.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 45021)
+++ ChangeLog	(revision 45022)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Feb 17 12:31:31 2014  Koichi Sasada  <ko1@a...>
+
+	* gc.c (get_envparam_double): fix a warning message.
+
 Mon Feb 17 12:09:52 2014  Koichi Sasada  <ko1@a...>
 
 	* gc.c: introduce new environment variable
Index: gc.c
===================================================================
--- gc.c	(revision 45021)
+++ gc.c	(revision 45022)
@@ -5735,7 +5735,7 @@ get_envparam_double(const char *name, do https://github.com/ruby/ruby/blob/trunk/gc.c#L5735
 	    return 0;
 	}
 	if (val > lower_bound) {
-	    if (RTEST(ruby_verbose)) fprintf(stderr, "%s=%f (%f)\n", name, val, *default_value);
+	    if (RTEST(ruby_verbose)) fprintf(stderr, "%s=%f (default value: %f)\n", name, val, *default_value);
 	    *default_value = val;
 	    return 1;
 	}

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

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