Project

General

Profile

Actions

Backport #2463

closed

String#center

Added by sakuro (Sakuro OZAWA) almost 15 years ago. Updated over 13 years ago.

Status:
Closed
[ruby-dev:39856]

Description

=begin
1.9.1p376で ruby -e 'puts "".center(11, "ab")' の結果がおかしくなります。

  • 正しい

ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10.2.0]
ababaababab

ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10.2.0]
ababaababab

  • 正しくない

ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-darwin10.2.0]
ababaabab

ruby 1.9.2dev (2009-12-08 trunk 26049) [x86_64-darwin10.2.0]
ababaabab
=end


Related issues 2 (0 open2 closed)

Has duplicate Backport191 - Backport #2532: Backport r26052 into ruby_1_9_1 branchClosed12/27/2009Actions
Has duplicate Backport191 - Backport #2705: rjust, ljust, and center don't behave properly in ruby 1.9.1p376 with utf-8 padstringClosedyugui (Yuki Sonoda)02/02/2010Actions
Actions #1

Updated by nobu (Nobuyoshi Nakada) almost 15 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r26052.
Sakuro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Actions #2

Updated by nobu (Nobuyoshi Nakada) almost 15 years ago

  • Category set to core
  • Status changed from Closed to Assigned
  • Assignee set to yugui (Yuki Sonoda)

=begin

=end

Actions #3

Updated by yugui (Yuki Sonoda) almost 15 years ago

  • Status changed from Assigned to Closed

=begin
r26052 was merged into ruby_1_9_1 at r26568.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0