ruby-changes:41237
From: nobu <ko1@a...>
Date: Fri, 25 Dec 2015 22:57:47 +0900 (JST)
Subject: [ruby-changes:41237] nobu:r53309 (trunk): version.h: no bot
nobu 2015-12-25 22:57:38 +0900 (Fri, 25 Dec 2015) New Revision: 53309 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53309 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 53308) +++ version.h (revision 53309) @@ -12,16 +12,15 @@ https://github.com/ruby/ruby/blob/trunk/version.h#L12 #define TOKEN_PASTE(x,y) x##y #endif #define ONLY_ONE_DIGIT(x) TOKEN_PASTE(10,x) < 1000 +#define ZERO_STR "0" #define RUBY_RELEASE_YEAR_STR STRINGIZE(RUBY_RELEASE_YEAR) #if ONLY_ONE_DIGIT(RUBY_RELEASE_MONTH) -#define RUBY_RELEASE_MONTH_STR \ - "12"STRINGIZE(RUBY_RELEASE_MONTH) +#define RUBY_RELEASE_MONTH_STR ZERO_STR 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 \ - "25"STRINGIZE(RUBY_RELEASE_DAY) +#define RUBY_RELEASE_DAY_STR ZERO_STR 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/