Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the PathTools CPAN distribution.

Report information
The Basics
Id:
29015
Status:
open
Priority:
Low/Low
Queue:

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

BugTracker
Severity:
Normal
Broken in:
(no value)
Fixed in:
(no value)



Subject: tmpdir() on Cygwin needs filetest pragma
The -x functions on Cygwin can fail when used against windows filesystem paths. I observed this failure in tmpdir(), as -w 'C:\Temp' returns the empty string. As a result, tmpdir doesn't respect the value of $ENV{TMPDIR} if that is a path back to the Windows filesystem. Here is a simplified example from the Cygwin command line of the problem and the result using filetest: $ perl -e 'print -w "c:\\temp"' $ perl -e 'use filetest qw/access/; print -w "c:\\temp"' 1
On Mon Aug 27 10:26:50 2007, DAGOLDEN wrote:
Show quoted text
> The -x functions on Cygwin can fail when used against windows filesystem > paths. I observed this failure in tmpdir(), as -w 'C:\Temp' returns the > empty string. As a result, tmpdir doesn't respect the value of > $ENV{TMPDIR} if that is a path back to the Windows filesystem. > > Here is a simplified example from the Cygwin command line of the problem > and the result using filetest: > > $ perl -e 'print -w "c:\\temp"' > > $ perl -e 'use filetest qw/access/; print -w "c:\\temp"' > 1 >
David, Do these problems persist for you on more recent versions of Perl on Cygwin? Thank you very much. Jim Keenan
Subject: Re: [rt.cpan.org #29015] tmpdir() on Cygwin needs filetest pragma
Date: Sat, 23 Nov 2013 22:39:41 -0500
To: bug-PathTools@rt.cpan.org
From: David Golden <dagolden@cpan.org>
On Sat, Nov 23, 2013 at 8:06 PM, James E Keenan via RT <bug-PathTools@rt.cpan.org> wrote:
Show quoted text
> Do these problems persist for you on more recent versions of Perl on Cygwin?
I haven't touched Cygwin in years, so I have no idea. Sorry. -- David Golden <dagolden@cpan.org> Take back your inbox! → http://www.bunchmail.com/ Twitter/IRC: @xdg


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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