Michael Haupt created JRUBY-6376:
------------------------------------

             Summary: File.stat.size on Solaris: ridiculously large results
                 Key: JRUBY-6376
                 URL: https://jira.codehaus.org/browse/JRUBY-6376
             Project: JRuby
          Issue Type: Bug
         Environment: Solaris (SunOS 5.11), jruby 1.7.0.dev (ruby-1.8.7-p357) 
(2012-01-24 fffffff) (Java HotSpot(TM) Client VM 1.7.0) [SunOS-x86-java]
            Reporter: Michael Haupt
            Assignee: Thomas E Enebo
            Priority: Blocker


... not sure if this is a duplicate; I did search but could not find precisely 
this issue!

$ cat stat.rb
stat = File.stat('testfile.txt')
puts "#{stat.size}"

$ touch testfile
$ wc -c testfile
       0 testfile
$ bin/jruby stat.rb
5701209781360918528

--
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


Reply via email to