ruby-changes:46607
From: nobu <ko1@a...>
Date: Mon, 15 May 2017 15:17:39 +0900 (JST)
Subject: [ruby-changes:46607] nobu:r58721 (trunk): refer flag variables regardless RUBY_DEBUG_ENV
nobu 2017-05-15 15:17:29 +0900 (Mon, 15 May 2017) New Revision: 58721 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58721 Log: refer flag variables regardless RUBY_DEBUG_ENV Modified files: trunk/localeinit.c trunk/signal.c Index: signal.c =================================================================== --- signal.c (revision 58720) +++ signal.c (revision 58721) @@ -1435,9 +1435,6 @@ ruby_sig_finalize(void) https://github.com/ruby/ruby/blob/trunk/signal.c#L1435 int ruby_enable_coredump = 0; -#ifndef RUBY_DEBUG_ENV -#define ruby_enable_coredump 0 -#endif /* * Many operating systems allow signals to be sent to running Index: localeinit.c =================================================================== --- localeinit.c (revision 58720) +++ localeinit.c (revision 58721) @@ -23,10 +23,8 @@ https://github.com/ruby/ruby/blob/trunk/localeinit.c#L23 #define CP_FORMAT(buf, codepage) snprintf(buf, sizeof(buf), "CP%u", (codepage)) #endif -#if defined _WIN32 && defined RUBY_DEBUG_ENV +#if defined _WIN32 extern UINT ruby_w32_codepage; -#else -enum {ruby_w32_codepage = 0}; #endif #ifndef NO_LOCALE_CHARMAP -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/