summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hash.c b/hash.c
index b87d9e2..bdb206f 100644
--- a/hash.c
+++ b/hash.c
@@ -1019,10 +1019,11 @@ env_delete(obj, name)
ruby_setenv(nam, 0);
#ifdef ENV_IGNORECASE
- if (strcasecmp(nam, PATH_ENV) == 0) {
+ if (strcasecmp(nam, PATH_ENV) == 0)
#else
- if (strcmp(nam, PATH_ENV) == 0) {
+ if (strcmp(nam, PATH_ENV) == 0)
#endif
+ {
path_tainted = 0;
}
return value;