ruby-changes:29983
From: nobu <ko1@a...>
Date: Thu, 18 Jul 2013 15:11:28 +0900 (JST)
Subject: [ruby-changes:29983] nobu:r42035 (trunk): ruby.h: no $
nobu 2013-07-18 15:11:16 +0900 (Thu, 18 Jul 2013) New Revision: 42035 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42035 Log: ruby.h: no $ * include/ruby/ruby.h (ruby_safe_level_4): get rid of special character. [ruby-dev:47512] [misc #8646] Modified files: trunk/ChangeLog trunk/include/ruby/ruby.h Index: include/ruby/ruby.h =================================================================== --- include/ruby/ruby.h (revision 42034) +++ include/ruby/ruby.h (revision 42035) @@ -567,12 +567,12 @@ void rb_secure(int); https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L567 int rb_safe_level(void); void rb_set_safe_level(int); #if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) -int ruby$safe_level$4(void) __attribute__((error("$SAFE=4 is obsolete"))); +int ruby_safe_level_4(void) __attribute__((error("$SAFE=4 is obsolete"))); #define RUBY_SAFE_LEVEL_INVALID_P(level) \ __extension__(__builtin_constant_p(level) && \ ((level) < 0 || RUBY_SAFE_LEVEL_MAX < (level))) #define RUBY_SAFE_LEVEL_CHECK(level) \ - (RUBY_SAFE_LEVEL_INVALID_P(level) ? ruby$safe_level$4() : (level)) + (RUBY_SAFE_LEVEL_INVALID_P(level) ? ruby_safe_level_4() : (level)) #define rb_secure(level) rb_secure(RUBY_SAFE_LEVEL_CHECK(level)) #define rb_set_safe_level(level) rb_set_safe_level(RUBY_SAFE_LEVEL_CHECK(level)) #endif Index: ChangeLog =================================================================== --- ChangeLog (revision 42034) +++ ChangeLog (revision 42035) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Jul 18 15:11:11 2013 Nobuyoshi Nakada <nobu@r...> + + * include/ruby/ruby.h (ruby_safe_level_4): get rid of special + character. [ruby-dev:47512] [misc #8646] + Thu Jul 18 14:51:39 2013 Koichi Sasada <ko1@a...> * array.c (ary_alloc): slim setup process. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/