From: Aaron Patterson Date: 2009-08-27T07:30:55+09:00 Subject: [ruby-core:25145] [Bug #2001] StringScanner#string= dups and freezes when it shouldn't Bug #2001: StringScanner#string= dups and freezes when it shouldn't http://redmine.ruby-lang.org/issues/show/2001 Author: Aaron Patterson Status: Open, Priority: Normal Category: ext ruby -v: ruby 1.9.2dev (2009-08-27 trunk 24678) [i386-darwin9.8.0] StringScanner#string= will dup the target string and then freeze the duplicate string. It should not do this. I've attached a patch which demonstrates the problem and fixes it. ---------------------------------------- http://redmine.ruby-lang.org