From: Steven Penny <svnpenn@gmail.com>
To: cygwin@cygwin.com
Subject: Ruby returning invalid entry sizes
Date: Mon, 09 Jul 2018 03:34:00 -0000 [thread overview]
Message-ID: <5b42d7c7.1c69fb81.25197.c280@mx.google.com> (raw)
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
next reply other threads:[~2018-07-09 3:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-09 3:34 Steven Penny [this message]
2018-07-09 9:11 ` Corinna Vinschen
2018-07-09 13:25 ` cyg Simple
2018-07-09 14:13 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5b42d7c7.1c69fb81.25197.c280@mx.google.com \
--to=svnpenn@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).