summaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-14 07:27:14 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-14 07:27:14 +0000
commit46ba3c83ea993c6a917b22c57e08146a5585c1b1 (patch)
tree3afca06c89da0c6e79da35210e7d623218de1f1a /test/ruby
parent5c939b11d0a9ecca69f681845062afec0885a507 (diff)
downloadruby-46ba3c83ea993c6a917b22c57e08146a5585c1b1.tar.gz
ruby-46ba3c83ea993c6a917b22c57e08146a5585c1b1.tar.xz
ruby-46ba3c83ea993c6a917b22c57e08146a5585c1b1.zip
* string.c (rb_str_intern): raise SecurityError only when $SAFE
level is greater than zero. [ruby-core:08862] * parse.y (rb_interned_p): new function to check if a string is already interned. * string.c (str_to_id): use rb_str_intern(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions