CC: | "Cary Millsap" <cary.millsap [...] method-r.com> |
Subject: | File::Spec->case_tolerant works only on systems where one filesystem type is installed |
Date: | Mon, 30 Jun 2008 11:49:13 -0500 |
To: | bug-PathTools [...] rt.cpan.org |
From: | "Jeff Holt" <jeff.holt [...] method-r.com> |
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.