This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]