develooper Front page | perl.perl5.porters | Postings from June 2008

[rt.cpan.org #37250] File::Spec->case_tolerant works only on systems where one filesystem type is installed

From:
Jeff Holt via RT
Date:
June 30, 2008 14:30
Subject:
[rt.cpan.org #37250] File::Spec->case_tolerant works only on systems where one filesystem type is installed
Message ID:
rt-3.6.HEAD-8137-1214845655-1927.37250-4-0@rt.cpan.org
Mon Jun 30 13:07:26 2008: Request 37250 was acted upon.
Transaction: Ticket created by jeff.holt@method-r.com
       Queue: PathTools
     Subject: File::Spec->case_tolerant works only on systems where one filesystem type is installed
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: jeff.holt@method-r.com
      Status: new
 Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=37250 >


On systems where some filesystems are case tolerant and others are not, the
case_tolerant method produces invalid results.

This can happen at least in these two cases:

- Mac OS X has support for creating and mounting any mixture of native case
tolerant and case intolerant file systems
- Linux systems where an ntfs samba filesystem is mounted.

Two things need to happen:

- the pod for case_tolerant should indicate the bug manifestation when no
argument is provided
- the case_tolerant method should take an optional argument that, if
provided, detects the filesystem and determines if it is case tolerant.




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About