From: noreply@... Date: 2004-10-30T04:03:58+09:00 Subject: [ ruby-Patches-1005 ] eval.c: xstr literal can be changed Patches item #1005, was opened at 2004-10-29 18:14 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1700&aid=1005&group_id=426 Category: Ruby1.9 Group: None Status: Open Resolution: None Priority: 5 Submitted By: Peter Vanbroekhoven (calamitas) Assigned to: Nobody (None) Summary: eval.c: xstr literal can be changed Initial Comment: This code prints "ls -l" followed by "echo 1", but should print "ls -l" twice. def `(a) result = a.dup a.replace "echo 1" puts result end 2.times do `ls -l` end ---------------------------------------------------------------------- >Comment By: Tom Copeland (tom) Date: 2004-10-29 19:03 Message: Logged In: YES user_id=102 TEST COMMENT: This is not assigned to anyone, so only Peter and I should receive an email... _not_ ruby-core... Tom Copeland ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1700&aid=1005&group_id=426