Project

General

Profile

Bug #1418

File.join repeats recursive array contents

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

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
ruby 1.8.8dev (2009-04-28 revision 23305) [i386-darwin9.6.0]
[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) over 10 years ago

  • Status changed from Open to Closed

=begin
Applied in changeset r24114.
=end

#4

Updated by shyouhei (Shyouhei Urabe) over 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) about 9 years ago

  • Status changed from Open to Assigned

=begin

=end

#6

Updated by jeremyevans0 (Jeremy Evans) 3 months ago

  • Backport set to 2.5: UNKNOWN, 2.6: UNKNOWN
  • ruby -v set to ruby 1.8.8dev (2009-04-28 revision 23305) [i386-darwin9.6.0]
  • Status changed from Assigned to Closed
  • Description updated (diff)
  • Project changed from Backport186 to Ruby master
  • Tracker changed from Backport to Bug

Also available in: Atom PDF