8000 merge revision(s) r47900: [Backport #10035] · github/ruby@90c3ddc · GitHub
[go: up one dir, main page]

Skip to content

Commit 90c3ddc

Browse files
committed
merge revision(s) r47900: [Backport ruby#10035]
* lib/find.rb (Find.find): Call to_path for arguments to obtain strings. [ruby-core:63713] [Bug ruby#10035] Reported by Herwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent d396f66 commit 90c3ddc

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Thu Oct 16 00:30:30 2014 Tanaka Akira <akr@fsij.org>
2+
3+
* lib/find.rb (Find.find): Call to_path for arguments to obtain
4+
strings.
5+
[ruby-core:63713] [Bug #10035] Reported by Herwin.
6+
17
Thu Oct 16 00:20:12 2014 Eric Wong <e@80x24.org>
28

39
* object.c (rb_class_real): do not dereference 0 VALUE

lib/find.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def find(*paths) # :yield: path
4040
fs_encoding = Encoding.find("filesystem")
4141

4242
paths.collect!{|d| raise Errno::ENOENT unless File.exist?(d); d.dup}.each do |path|
43+
path = path.to_path if path.respond_to? :to_path
4344
enc = path.encoding == Encoding::US_ASCII ? fs_encoding : path.encoding
4445
ps = [path]
4546
while file = ps.shift

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#define RUBY_VERSION "2.1.4"
22
#define RUBY_RELEASE_DATE "2014-10-16"
3-
#define RUBY_PATCHLEVEL 256
3+
#define RUBY_PATCHLEVEL 257
44

55
#define RUBY_RELEASE_YEAR 2014
66
#define RUBY_RELEASE_MONTH 10

0 commit comments

Comments
 (0)
0