diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-27 02:34:23 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-27 02:34:23 +0000 |
commit | 42f704a8faee3c60f2717430f1acbfbe97953491 (patch) | |
tree | 93b451ccdbbbcd213b7df7492db19eb8af28d659 /math.c | |
parent | e65e24bd2747203862e6773d7c74996d58e92f4e (diff) | |
download | ruby-42f704a8faee3c60f2717430f1acbfbe97953491.tar.gz |
prevent an error when passing a frozen string to REXML::Text.new
dup the string passed in instead of cloning so that it's frozen state is ignored
Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'math.c')
0 files changed, 0 insertions, 0 deletions