Ruby returning invalid entry sizes

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Jul 9 09:11:00 GMT 2018


On Jul  8 20:34, Steven Penny wrote:
> 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

https://sourceware.org/git/?p=newlib-cygwin.git;a=commitdiff;h=07c43238cfec


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20180709/079ba6f8/attachment.sig>


More information about the Cygwin mailing list