Skip to content

Commit

Permalink
Revert stdlib change for appengine
Browse files Browse the repository at this point in the history
  • Loading branch information
BanzaiMan committed Apr 29, 2010
1 parent 4760d0a commit 3a3ae0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ruby/1.8/pathname.rb
Expand Up @@ -431,8 +431,8 @@ def realpath_rec(prefix, unresolved, h)
prefix, *resolved = h[path] prefix, *resolved = h[path]
end end
else else
s = File.lstat(path) # This check is JRuby-specific for accessing files inside a jar
if s.symlink? if File.symlink?(path)
h[path] = :resolving h[path] = :resolving
link_prefix, link_names = split_names(File.readlink(path)) link_prefix, link_names = split_names(File.readlink(path))
if link_prefix == '' if link_prefix == ''
Expand Down

0 comments on commit 3a3ae0f

Please sign in to comment.