Daniel Berger created JRUBY-6309:
------------------------------------
Summary: File::Stat#blksize and other issues
Key: JRUBY-6309
URL: https://jira.codehaus.org/browse/JRUBY-6309
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.6.5
Environment: jruby 1.6.5 (ruby-1.8.7-p330) (2011-10-25 9dcd388) (Java
HotSpot(TM) Client VM 1.6.0_29) [Windows Vi
Reporter: Daniel Berger
Assignee: Thomas E Enebo
I guess this is a bit of a followup to JRUBY-4073. File::Stat.blksize on
Windows does not match MRI and Ruby 1.8.7, which returns nil. JRuby returns
512. In the majority of cases the blksize on Windows is actually 4096. I'm not
sure if you're trying to match MRI's behavior or return the correct value, but
either way it's busted.
Other File::Stat methods do not match MRI, including blocks, dev_major,
rdev_major, dev_minor and rdev_minor. In the case of grpowned?, MRI always
returns false as far as I can tell, while JRuby always returns true.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email