This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Ruby returning invalid entry sizes
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
--
cyg Simple
--
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