ruby-changes:52594
From: svn <ko1@a...>
Date: Fri, 21 Sep 2018 19:19:30 +0900 (JST)
Subject: [ruby-changes:52594] svn:r64807 (trunk): * expand tabs.
svn 2018-09-21 19:19:14 +0900 (Fri, 21 Sep 2018) New Revision: 64807 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64807 Log: * expand tabs. Modified files: trunk/ext/openssl/ossl_pkey.h trunk/ext/openssl/ossl_pkey_dh.c trunk/signal.c trunk/vm_insnhelper.c Index: ext/openssl/ossl_pkey.h =================================================================== --- ext/openssl/ossl_pkey.h (revision 64806) +++ ext/openssl/ossl_pkey.h (revision 64807) @@ -133,9 +133,9 @@ static VALUE ossl_##_keytype##_set_##_gr https://github.com/ruby/ruby/blob/trunk/ext/openssl/ossl_pkey.h#L133 BIGNUM *bn3 = NULL, *orig_bn3 = NIL_P(v3) ? NULL : GetBNPtr(v3);\ \ Get##_type(self, obj); \ - if ((orig_bn1 && !(bn1 = BN_dup(orig_bn1))) || \ - (orig_bn2 && !(bn2 = BN_dup(orig_bn2))) || \ - (orig_bn3 && !(bn3 = BN_dup(orig_bn3)))) { \ + if ((orig_bn1 && !(bn1 = BN_dup(orig_bn1))) || \ + (orig_bn2 && !(bn2 = BN_dup(orig_bn2))) || \ + (orig_bn3 && !(bn3 = BN_dup(orig_bn3)))) { \ BN_clear_free(bn1); \ BN_clear_free(bn2); \ BN_clear_free(bn3); \ @@ -163,8 +163,8 @@ static VALUE ossl_##_keytype##_set_##_gr https://github.com/ruby/ruby/blob/trunk/ext/openssl/ossl_pkey.h#L163 BIGNUM *bn2 = NULL, *orig_bn2 = NIL_P(v2) ? NULL : GetBNPtr(v2);\ \ Get##_type(self, obj); \ - if ((orig_bn1 && !(bn1 = BN_dup(orig_bn1))) || \ - (orig_bn2 && !(bn2 = BN_dup(orig_bn2)))) { \ + if ((orig_bn1 && !(bn1 = BN_dup(orig_bn1))) || \ + (orig_bn2 && !(bn2 = BN_dup(orig_bn2)))) { \ BN_clear_free(bn1); \ BN_clear_free(bn2); \ ossl_raise(eBNError, NULL); \ Index: ext/openssl/ossl_pkey_dh.c =================================================================== --- ext/openssl/ossl_pkey_dh.c (revision 64806) +++ ext/openssl/ossl_pkey_dh.c (revision 64807) @@ -262,7 +262,7 @@ ossl_dh_initialize_copy(VALUE self, VALU https://github.com/ruby/ruby/blob/trunk/ext/openssl/ossl_pkey_dh.c#L262 BIGNUM *pub2 = BN_dup(pub); BIGNUM *priv2 = BN_dup(priv); - if (!pub2 || (priv && !priv2)) { + if (!pub2 || (priv && !priv2)) { BN_clear_free(pub2); BN_clear_free(priv2); ossl_raise(eDHError, "BN_dup"); Index: vm_insnhelper.c =================================================================== --- vm_insnhelper.c (revision 64806) +++ vm_insnhelper.c (revision 64807) @@ -3868,7 +3868,7 @@ vm_trace(rb_execution_context_t *ec, rb_ https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L3868 VM_ASSERT(vm_event_flags & events); /* increment PC because source line is calculated with PC-1 */ - if ((event = (events & (RUBY_EVENT_CLASS | RUBY_EVENT_CALL | RUBY_EVENT_B_CALL))) != 0) { + if ((event = (events & (RUBY_EVENT_CLASS | RUBY_EVENT_CALL | RUBY_EVENT_B_CALL))) != 0) { VM_ASSERT(event == RUBY_EVENT_CLASS || event == RUBY_EVENT_CALL || event == RUBY_EVENT_B_CALL); @@ -3889,7 +3889,7 @@ vm_trace(rb_execution_context_t *ec, rb_ https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L3889 EXEC_EVENT_HOOK(ec, RUBY_EVENT_COVERAGE_LINE, GET_SELF(), 0, 0, 0, Qundef); reg_cfp->pc--; } - if ((event = (events & (RUBY_EVENT_END | RUBY_EVENT_RETURN | RUBY_EVENT_B_RETURN))) != 0) { + if ((event = (events & (RUBY_EVENT_END | RUBY_EVENT_RETURN | RUBY_EVENT_B_RETURN))) != 0) { VM_ASSERT(event == RUBY_EVENT_END || event == RUBY_EVENT_RETURN || event == RUBY_EVENT_B_RETURN); Index: signal.c =================================================================== --- signal.c (revision 64806) +++ signal.c (revision 64807) @@ -886,7 +886,7 @@ check_stack_overflow(int sig, const uint https://github.com/ruby/ruby/blob/trunk/signal.c#L886 /* SP in ucontext is not decremented yet when `push` failed, so * the fault page can be the next. */ if (sp_page == fault_page || sp_page == fault_page + 1 || - (sp_page <= fault_page && fault_page <= bp_page)) { + (sp_page <= fault_page && fault_page <= bp_page)) { rb_execution_context_t *ec = GET_EC(); int crit = FALSE; if ((uintptr_t)ec->tag->buf / pagesize <= fault_page + 1) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/