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

ruby-changes:41235

From: nobu <ko1@a...>
Date: Fri, 25 Dec 2015 22:53:13 +0900 (JST)
Subject: [ruby-changes:41235] nobu:r53307 (trunk): version.h: no bot

nobu	2015-12-25 22:53:06 +0900 (Fri, 25 Dec 2015)

  New Revision: 53307

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

  Log:
    version.h: no bot
    
    * version.h (RUBY_RELEASE_MONTH_STR, RUBY_RELEASE_DAY_STR): get
      rid of substitution by svn bot.

  Modified files:
    trunk/version.h
Index: version.h
===================================================================
--- version.h	(revision 53306)
+++ version.h	(revision 53307)
@@ -14,12 +14,14 @@ https://github.com/ruby/ruby/blob/trunk/version.h#L14
 #define ONLY_ONE_DIGIT(x) TOKEN_PASTE(10,x) < 1000
 #define RUBY_RELEASE_YEAR_STR STRINGIZE(RUBY_RELEASE_YEAR)
 #if ONLY_ONE_DIGIT(RUBY_RELEASE_MONTH)
-#define RUBY_RELEASE_MONTH_STR STRINGIZE(12)STRINGIZE(RUBY_RELEASE_MONTH)
+#define RUBY_RELEASE_MONTH_STR \
+    "0"STRINGIZE(RUBY_RELEASE_MONTH)
 #else
 #define RUBY_RELEASE_MONTH_STR STRINGIZE(RUBY_RELEASE_MONTH)
 #endif
 #if ONLY_ONE_DIGIT(RUBY_RELEASE_DAY)
-#define RUBY_RELEASE_DAY_STR STRINGIZE(25)STRINGIZE(RUBY_RELEASE_DAY)
+#define RUBY_RELEASE_DAY_STR \
+    "0"STRINGIZE(RUBY_RELEASE_DAY)
 #else
 #define RUBY_RELEASE_DAY_STR STRINGIZE(RUBY_RELEASE_DAY)
 #endif

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

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