* Ruby returning invalid entry sizes
@ 2018-07-09 3:34 Steven Penny
2018-07-09 9:11 ` Corinna Vinschen
0 siblings, 1 reply; 4+ messages in thread
From: Steven Penny @ 2018-07-09 3:34 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Ruby returning invalid entry sizes
2018-07-09 3:34 Ruby returning invalid entry sizes Steven Penny
@ 2018-07-09 9:11 ` Corinna Vinschen
2018-07-09 13:25 ` cyg Simple
0 siblings, 1 reply; 4+ messages in thread
From: Corinna Vinschen @ 2018-07-09 9:11 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 542 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Ruby returning invalid entry sizes
2018-07-09 9:11 ` Corinna Vinschen
@ 2018-07-09 13:25 ` cyg Simple
2018-07-09 14:13 ` Corinna Vinschen
0 siblings, 1 reply; 4+ messages in thread
From: cyg Simple @ 2018-07-09 13:25 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Ruby returning invalid entry sizes
2018-07-09 13:25 ` cyg Simple
@ 2018-07-09 14:13 ` Corinna Vinschen
0 siblings, 0 replies; 4+ messages in thread
From: Corinna Vinschen @ 2018-07-09 14:13 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 872 bytes --]
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-07-09 14:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-09 3:34 Ruby returning invalid entry sizes Steven Penny
2018-07-09 9:11 ` Corinna Vinschen
2018-07-09 13:25 ` cyg Simple
2018-07-09 14:13 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).