ruby-changes:54930
From: svn <ko1@a...>
Date: Wed, 27 Feb 2019 12:26:13 +0900 (JST)
Subject: [ruby-changes:54930] svn:r67135 (trunk): * expand tabs.
svn 2019-02-27 12:26:09 +0900 (Wed, 27 Feb 2019) New Revision: 67135 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67135 Log: * expand tabs. Modified files: trunk/hash.c Index: hash.c =================================================================== --- hash.c (revision 67134) +++ hash.c (revision 67135) @@ -4930,7 +4930,7 @@ env_aset(VALUE nm, VALUE val) https://github.com/ruby/ruby/blob/trunk/hash.c#L4930 char *name, *value; if (NIL_P(val)) { - env_delete(nm); + env_delete(nm); return Qnil; } SafeStringValue(nm); @@ -5139,7 +5139,7 @@ env_reject_bang(VALUE ehash) https://github.com/ruby/ruby/blob/trunk/hash.c#L5139 if (!NIL_P(val)) { if (RTEST(rb_yield_values(2, RARRAY_AREF(keys, i), val))) { FL_UNSET(RARRAY_AREF(keys, i), FL_TAINT); - env_delete(RARRAY_AREF(keys, i)); + env_delete(RARRAY_AREF(keys, i)); del++; } } @@ -5249,7 +5249,7 @@ env_select_bang(VALUE ehash) https://github.com/ruby/ruby/blob/trunk/hash.c#L5249 if (!NIL_P(val)) { if (!RTEST(rb_yield_values(2, RARRAY_AREF(keys, i), val))) { FL_UNSET(RARRAY_AREF(keys, i), FL_TAINT); - env_delete(RARRAY_AREF(keys, i)); + env_delete(RARRAY_AREF(keys, i)); del++; } } @@ -5321,7 +5321,7 @@ rb_env_clear(void) https://github.com/ruby/ruby/blob/trunk/hash.c#L5321 for (i=0; i<RARRAY_LEN(keys); i++) { VALUE val = rb_f_getenv(Qnil, RARRAY_AREF(keys, i)); if (!NIL_P(val)) { - env_delete(RARRAY_AREF(keys, i)); + env_delete(RARRAY_AREF(keys, i)); } } RB_GC_GUARD(keys); @@ -5680,7 +5680,7 @@ env_shift(void) https://github.com/ruby/ruby/blob/trunk/hash.c#L5680 if (s) { VALUE key = env_str_new(*env, s-*env); VALUE val = env_str_new2(getenv(RSTRING_PTR(key))); - env_delete(key); + env_delete(key); result = rb_assoc_new(key, val); } } @@ -5730,7 +5730,7 @@ env_replace(VALUE env, VALUE hash) https://github.com/ruby/ruby/blob/trunk/hash.c#L5730 rb_hash_foreach(hash, env_replace_i, keys); for (i=0; i<RARRAY_LEN(keys); i++) { - env_delete(RARRAY_AREF(keys, i)); + env_delete(RARRAY_AREF(keys, i)); } RB_GC_GUARD(keys); return env; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/