aboutsummaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-19 11:22:03 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-19 11:22:03 +0000
commit400d903f948901c69ff44d03f1cae4c850ea72f6 (patch)
treec113b45cd4f1406f906cad940ce366f6cf6efc19 /hash.c
parent6661d77ee41315d30aeb4d892e24a7e294d10d4b (diff)
downloadruby-400d903f948901c69ff44d03f1cae4c850ea72f6.tar.gz
renamed ruby_tz_update as ruby_tz_uptodate_p
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hash.c b/hash.c
index 1b3fde2de2..48fbe1f37c 100644
--- a/hash.c
+++ b/hash.c
@@ -3316,7 +3316,7 @@ env_str_new2(const char *ptr)
static int env_path_tainted(const char *);
static const char TZ_ENV[] = "TZ";
-extern int ruby_tz_update;
+extern bool ruby_tz_uptodate_p;
static rb_encoding *
env_encoding_for(const char *name, const char *ptr)
@@ -3400,7 +3400,7 @@ env_delete(VALUE obj, VALUE name)
path_tainted = 0;
}
else if (ENVMATCH(nam, TZ_ENV)) {
- ruby_tz_update = 0;
+ ruby_tz_uptodate_p = FALSE;
}
return value;
}
@@ -3762,7 +3762,7 @@ env_aset(VALUE obj, VALUE nm, VALUE val)
}
}
else if (ENVMATCH(name, TZ_ENV)) {
- ruby_tz_update = 0;
+ ruby_tz_uptodate_p = FALSE;
}
return val;
}