Project

General

Profile

Backport #1418

File.join repeats recursive array contents

Added by brixen (Brian Shirai) over 10 years ago. Updated over 8 years ago.

Status:
Assigned
Priority:
Normal
[ruby-core:23329]

Description

=begin
This was fixed for Array#join, see [ruby-dev:37019].

$ ruby1.8 -v
ruby 1.8.8dev (2009-04-28 revision 23305) [i386-darwin9.6.0]

$ ruby1.8 file.rb
"a/b"
"a/b/a/b/[...]"

$ cat file.rb

a = ["a", "b"]
p File.join(a)
a << a
p File.join(a)

Behavior on 1.8.6, 1.8.7, 1.8.8 and 1.9 is the same.
=end

History

#1

Updated by nobu (Nobuyoshi Nakada) over 10 years ago

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

=begin
Applied in changeset r23306.
=end

#2

Updated by shyouhei (Shyouhei Urabe) over 10 years ago

  • Status changed from Closed to Open
  • Assignee set to shyouhei (Shyouhei Urabe)

=begin

=end

#3

Updated by shyouhei (Shyouhei Urabe) about 10 years ago

  • Status changed from Open to Closed

=begin
Applied in changeset r24114.
=end

#4

Updated by shyouhei (Shyouhei Urabe) about 10 years ago

  • Status changed from Closed to Open
  • Assignee changed from shyouhei (Shyouhei Urabe) to wyhaines (Kirk Haines)

=begin

=end

#5

Updated by shyouhei (Shyouhei Urabe) almost 9 years ago

  • Status changed from Open to Assigned

=begin

=end

Also available in: Atom PDF