[#35027] [Ruby 1.9-Bug#4352][Open] [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s) — "James M. Lawrence" <redmine@...>

Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)

16 messages 2011/02/01

[#35114] [Ruby 1.9-Bug#4373][Open] http.rb:677: [BUG] Segmentation fault — Christian Fazzini <redmine@...>

Bug #4373: http.rb:677: [BUG] Segmentation fault

59 messages 2011/02/06

[#35171] [Ruby 1.9-Bug#4386][Open] encoding: directive does not affect regex expressions — mathew murphy <redmine@...>

Bug #4386: encoding: directive does not affect regex expressions

9 messages 2011/02/09

[#35237] [Ruby 1.9-Bug#4400][Open] nested at_exit hooks run in strange order — Suraj Kurapati <redmine@...>

Bug #4400: nested at_exit hooks run in strange order

12 messages 2011/02/15

[ruby-core:35084] Re: [Ruby 1.9-Bug#4343] Dir.glob does match files without extension

From: mathew <meta@...>
Date: 2011-02-04 03:38:51 UTC
List: ruby-core #35084
On Sun, Jan 30, 2011 at 23:07, Jeremy Bopp <jeremy@bopp.net> wrote:
> On 01/30/2011 06:30 PM, mathew wrote:
>> On Sat, Jan 29, 2011 at 11:49, Jeremy Bopp <jeremy@bopp.net> wrote:
>>> Where possible, Ruby scripts should see *Ruby* as the platform, not
>>> Linux, not OSX, and not Windows.
>>
>> If that's true, are Ruby filenames case-sensitive or not? And are they
>> case-preserving or not?
>
> The handling of file names is dependent on the underlying filesystem.
> That means that file names are case-insensitive and case-preserving by
> default on FAT and NTFS (used by Windows) and on HFSX (used by default
> for OSX, I think).

So if "it depends on the OS and filesystem" is the right answer for
case sensitivity, why isn't it the right answer for how file globs
work?


mathew
-- 
<URL:http://www.pobox.com/~meta/>

In This Thread