Ruby returning invalid entry sizes
Steven Penny
svnpenn@gmail.com
Mon Jul 9 03:34:00 GMT 2018
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
More information about the Cygwin
mailing list