Here's a test case for the bug.
My output looks like this:
UNCHBOX ~> ruby ~/Desktop/lchown-testcase.rb /tmp/lchown-test
LUNCHBOX ~> jruby ~/Desktop/lchown-testcase.rb /tmp/lchown-test
/opt/local/share/java/jruby/lib/ruby/1.8/fileutils.rb:1374:in `check_have_lchown?': wrong # of arguments(2 for 3) (ArgumentError)
from /opt/local/share/java/jruby/lib/ruby/1.8/fileutils.rb:1367:in `have_lchown?'
from /opt/local/share/java/jruby/lib/ruby/1.8/fileutils.rb:1222:in `chown'
from /opt/local/share/java/jruby/lib/ruby/1.8/fileutils.rb:961:in `chown_R'
from /opt/local/share/java/jruby/lib/ruby/1.8/fileutils.rb:1324:in `preorder_traverse'
from /opt/local/share/java/jruby/lib/ruby/1.8/fileutils.rb:959:in `chown_R'
from /opt/local/share/java/jruby/lib/ruby/1.8/fileutils.rb:958:in `each'
from /opt/local/share/java/jruby/lib/ruby/1.8/fileutils.rb:958:in `chown_R'
from /Users/coda/Desktop/lchown-testcase.rb:8
Here's a test case for the bug.
My output looks like this:
UNCHBOX ~> ruby ~/Desktop/lchown-testcase.rb /tmp/lchown-test
LUNCHBOX ~> jruby ~/Desktop/lchown-testcase.rb /tmp/lchown-test
/opt/local/share/java/jruby/lib/ruby/1.8/fileutils.rb:1374:in `check_have_lchown?': wrong # of arguments(2 for 3) (ArgumentError)
from /opt/local/share/java/jruby/lib/ruby/1.8/fileutils.rb:1367:in `have_lchown?'
from /opt/local/share/java/jruby/lib/ruby/1.8/fileutils.rb:1222:in `chown'
from /opt/local/share/java/jruby/lib/ruby/1.8/fileutils.rb:961:in `chown_R'
from /opt/local/share/java/jruby/lib/ruby/1.8/fileutils.rb:1324:in `preorder_traverse'
from /opt/local/share/java/jruby/lib/ruby/1.8/fileutils.rb:959:in `chown_R'
from /opt/local/share/java/jruby/lib/ruby/1.8/fileutils.rb:958:in `each'
from /opt/local/share/java/jruby/lib/ruby/1.8/fileutils.rb:958:in `chown_R'
from /Users/coda/Desktop/lchown-testcase.rb:8