Bug #1199

wrong coderange in multiple String methods

Added by do1 (Do One) about 3 years ago. Updated about 1 year ago.

[ruby-core:22414]
Status:Closed Start date:02/25/2009
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:-
Target version:1.9.2
ruby -v:ruby 1.9.2dev (2009-02-22) [i686-linux]

Description

Sumilar to Bug #1192 [ruby-core:22326] 

$ ruby -e 'p "a".hash,"a\u0101".chomp("\u0101").hash'
857012484
857012485

Discussion: http://www.ruby-forum.com/topic/179303

Associated revisions

Revision 22608
Added by nobu (Nobuyoshi Nakada) about 3 years ago

* string.c (rb_str_chomp_bang): coderange may change. [ruby-core:22414]

History

Updated by nobu (Nobuyoshi Nakada) about 3 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100
Applied in changeset r22608.

Also available in: Atom PDF