summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorsvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-27 03:26:09 +0000
committersvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-27 03:26:09 +0000
commit8092d571be8f65909c6e5a931429933d19566f36 (patch)
tree49eb273be5831e99282249d011ca3dfdcc327ea1 /hash.c
parent5e2a8cb7b9de3d5a22e29886a5a1b7cafacdc31a (diff)
downloadbundler-8092d571be8f65909c6e5a931429933d19566f36.tar.gz
* expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/hash.c b/hash.c
index cd97f24bab..a57f627ebc 100644
--- a/hash.c
+++ b/hash.c
@@ -4930,7 +4930,7 @@ env_aset(VALUE nm, VALUE val)
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)
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)
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)
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)
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)
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;