Ruby returning invalid entry sizes

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Jul 9 14:13:00 GMT 2018


On Jul  9 09:25, cyg Simple wrote:
> On 7/9/2018 5:10 AM, Corinna Vinschen wrote:
> > 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, you typoed the word "always" in the Changelog.
> 
> +       * fhandler_disk_file.cc (fhandler_base::fstat_helper): Alwasy set

Yes?  The ChangeLog is from 2011.  What's your point?


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/786fc92c/attachment.sig>


More information about the Cygwin mailing list