summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-24 08:25:09 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-24 08:25:09 +0000
commit70b028d9485d00c674ab0c6b6b0ea19d2be01af9 (patch)
treed4e2ec530f33c9cade7b1ce32cfccc8a9f1cc1b3 /hash.c
parent5a3c901076bc5b36fd819014508ae5e022315a82 (diff)
* ext/digest/*/*.h: Merge from rough.
- Avoid namespace pollution. (MD5_* -> rb_Digest_MD5_*, etc.) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hash.c b/hash.c
index 57fe0d1013..b2cb47aeaa 100644
--- a/hash.c
+++ b/hash.c
@@ -1147,13 +1147,13 @@ rb_f_setenv(obj, nm, val)
if (OBJ_TAINTED(val)) {
/* already tainted, no check */
path_tainted = 1;
- return Qtrue;
+ return val;
}
else {
path_tainted_p(value);
}
}
- return Qtrue;
+ return val;
}
static VALUE