logo       

[ruby-core:26264] Re: [Bug #2259] Dir.foreach bug when used with command-li: msg#01446

bug-fdisk-gnu

Subject: [ruby-core:26264] Re: [Bug #2259] Dir.foreach bug when used with command-line arguments

Hi,

In message "Re: [ruby-core:26260] [Bug #2259] Dir.foreach bug when used with
command-line arguments"
on Sat, 24 Oct 2009 05:53:43 +0900, Benno Evers <redmine@xxxxxxxxxxxxx>
writes:

|This may be fixed in a newer version, but I couldn't check:

|benno@benno-laptop:~/test$ ruby1.9 test2.rb .
|"."
|".."
|"test1.rb"
|"test2.rb"
|test2.rb:2:in `foreach': conversion undefined for byte sequence (maybe invalid
byte sequence) (RuntimeError)
| from test2.rb:2:in `<main>'

It doesn't happen on my ruby 1.9.2dev (2009-10-24 trunk 25448) [i686-linux],
so I assume it's fixed.

matz.

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise