Skip Menu |

This queue is for tickets about the Sys-Filesystem CPAN distribution.

Report information
The Basics
Id: 43681
Status: resolved
Priority: 0/
Queue: Sys-Filesystem

People
Owner: Nobody in particular
Requestors: Brucem [...] dynamicrange.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.22
Fixed in: (no value)



Subject: Darwin does not pass tests (OSX 10.5)
This modules fails install on OSX 10.5 for two reasons. First is that in the Darwin.pm subclass, "->{special}" is set explicitly to 0. This defeats the check for regular filesystems, which looks for either the absence of the key or the value being undef. This is also different from the other subclasses (they don't explicitly set it to 0) so deleting this line seems like the right thing. The other one is trickier. There is a test of "options". But Darwin does not set any options, so the test always fails (since options come back as undef). I chose an approach of returning a static string (' '). It might be more appropriate to remove the test, or make it optional since this is kind of hacky. Other than that...thanks for a nice clean module!
Subject: darwin.patch
*** Wildcards.pm.orig 2009-02-25 20:33:39.000000000 -0800 --- Wildcards.pm 2009-02-25 20:34:13.000000000 -0800 *************** my %types = ( *** 69,74 **** --- 69,75 ---- win32 => [ qw/jokers commas/ ], ); $types{$_} = $types{win32} for qw/dos os2 MSWin32 cygwin/; + $types{$_} = $types{unix} for qw/darwin/; my %escapes = ( jokers => '?*',
Does it work now? I applied a patch from a friend who tested it on his Mac.
On Tue Mar 10 10:40:41 2009, REHSACK wrote: Show quoted text
> Does it work now? I applied a patch from a friend who tested it on his
Mac. Works for me.
Reported resolved.