diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-21 16:47:23 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-21 16:47:23 +0000 |
commit | 002517aba82f3d318dab09f603491417240bfe0f (patch) | |
tree | 552aae90929d0812fd6a5d08e43c870add3a35a5 /lib/find.rb | |
parent | d0149b9e210450113353e9bc8dc1f151f4563313 (diff) |
* parse.y (newline_node): do not use NODE_NEWLINE node anymore,
use NEWLINE flag instead.
* ext/socket/socket.c (sock_gethostbyname): returns host if
ai_canonname is NULL. (ruby-bugs PR#1243)
* parse.y (block_append): update nd_end for "real" head node.
[ruby-list:39058]
* marshal.c (w_class): should not dump singleton class.
[ruby-dev:22631]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/find.rb')
-rw-r--r-- | lib/find.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/find.rb b/lib/find.rb index 9ca39cabcb..e94d5c2c70 100644 --- a/lib/find.rb +++ b/lib/find.rb @@ -36,7 +36,8 @@ module Find paths.collect!{|d| d.dup} while file = paths.shift catch(:prune) do - yield file + yield file.dup + file.untaint begin if File.lstat(file).directory? then d = Dir.open(file) |