File::Stat is totally broken on Windows
---------------------------------------

                 Key: JRUBY-4073
                 URL: http://jira.codehaus.org/browse/JRUBY-4073
             Project: JRuby
          Issue Type: Bug
          Components: Windows
    Affects Versions: JRuby 1.5
         Environment: jruby from master branch on Win Vista x64, jdk x32.
            Reporter: Vladimir Sizikov
            Assignee: Wayne Meissner
            Priority: Blocker
             Fix For: JRuby 1.5


{code}
D:\work\jruby-dev\jruby>jirb

irb(main):001:0> s = File::Stat.new('README')

=> #<File::Stat dev=0x3, ino=0, mode=0100666, nlink=1, uid=0, gid=0, rdev=0x3, 
size=7726687178972, blksize=125
4511901, blocks=-4253318551, atime=Thu Jan 01 01:00:00 +0100 1970, mtime=Thu 
Jan 01 01:00:00 +0100 1970, ctime
=Thu Jan 01 01:00:00 +0100 1970>
{code}

Note the wrong values for almost all entries. Huge sizes reported.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.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


Reply via email to