Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert stdlib change for appengine

  • Loading branch information...
commit 3a3ae0f1c508233ddabe82805a900b2b3007fa1b 1 parent 4760d0a
@BanzaiMan BanzaiMan authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/ruby/1.8/pathname.rb
View
4 lib/ruby/1.8/pathname.rb
@@ -431,8 +431,8 @@ def realpath_rec(prefix, unresolved, h)
prefix, *resolved = h[path]
end
else
- s = File.lstat(path)
- if s.symlink?
+ # This check is JRuby-specific for accessing files inside a jar
+ if File.symlink?(path)
h[path] = :resolving
link_prefix, link_names = split_names(File.readlink(path))
if link_prefix == ''
Please sign in to comment.
Something went wrong with that request. Please try again.