This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Ruby returning invalid entry sizes
- From: Steven Penny <svnpenn at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 08 Jul 2018 20:34:31 -0700 (PDT)
- Subject: Ruby returning invalid entry sizes
If you run this command with Linux Ruby or RubyInstaller [1]:
$ ruby -e 'p File.size(".")'
65536
you correctly get the IO Blocks for the current directory. However not with
Cygwin Ruby:
$ ruby -e 'p File.size(".")'
0
[1] http://rubyinstaller.org
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple