Web lists-archives.com

Re: Ruby returning invalid entry sizes




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

Attachment: signature.asc
Description: PGP signature