Skip Menu |

This queue is for tickets about the Env-Path CPAN distribution.

Report information
The Basics
Id: 85120
Status: open
Priority: 0/
Queue: Env-Path

People
Owner: Nobody in particular
Requestors: BBYRD [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.18
Fixed in: (no value)



Subject: Don't trust the execute bit in Cygwin
Even with some of Cygwin's attempts at mapping Win32->UNIX permissions, using Perl's "-x" in Cygwin isn't very reliable. However, Cygwin does clean up the path to use ':' (which is correctly reported in Config), and more or less doesn't act like MSWIN. Thus, in your Whence sub (the else part), it should check for ($^O =~ /cygwin/i) and skip the execute checks in that block.
On Tue May 07 22:34:42 2013, BBYRD wrote: Show quoted text
> Thus, in your Whence sub (the else part), it should check for ($^O =~ > /cygwin/i) and skip the execute checks in that block.
I uploaded 0.19 with the suggested fix, though I was unable to test it without Cygwin.