summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-18 02:42:58 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-18 02:42:58 (GMT)
commit802d71a57e39251a8f18685367508d405c7f798b (patch)
treeefe43a3e54756ce69af90eb8eed2548b40f9c22f /hash.c
parentcc7e5eb7d9b6d1ad7e31bf836982be6ab3381643 (diff)
[DOC] ENV keys must be strings [ci skip]
* hash.c (env_aset): state that ENV keys must be strings. * process.c (rb_f_spawn): ditto. [ruby-core:68146] [Bug #10859] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hash.c b/hash.c
index 3ef6668..c4a2c0f 100644
--- a/hash.c
+++ b/hash.c
@@ -3034,6 +3034,7 @@ ruby_unsetenv(const char *name)
*
* Sets the environment variable +name+ to +value+. If the value given is
* +nil+ the environment variable is deleted.
+ * +name+ must be a string.
*
*/
static VALUE