Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 222fda5d2265
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 04612627640e
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Sep 2, 2017

  1. File.symlink? fix typo

    ahorek committed Sep 2, 2017
    Copy the full SHA
    24af91c View commit details

Commits on Sep 4, 2017

  1. Merge pull request #4772 from ahorek/fixsymlink

    File.symlink? fix typo
    enebo authored Sep 4, 2017
    Copy the full SHA
    0461262 View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/main/ruby/jruby/kernel/file.rb
2 changes: 1 addition & 1 deletion core/src/main/ruby/jruby/kernel/file.rb
Original file line number Diff line number Diff line change
@@ -130,7 +130,7 @@ def self.symlink?(file)
return false if file =~ /^(classpath:|classloader:|uri:classloader|jar:)/ || !File.exist?(file)

file.slice!(5..-1) if file =~ /^file:/
wfile = checked.wincode
wfile = file.wincode
attrib = GetFileAttributesW(wfile)

if attrib == INVALID_FILE_ATTRIBUTES