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
Download (untitled) / with headers
text/plain 378b
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.
Download (untitled) / with headers
text/plain 263b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.