develooper Front page | perl.perl5.porters | Postings from March 2001

Re: File::Spec->rel2abs bug?

Thread Previous
From:
Dave Rolsky
Date:
March 16, 2001 21:35
Subject:
Re: File::Spec->rel2abs bug?
Message ID:
Pine.LNX.4.30.0103162338310.15597-100000@urth.org
On Sat, 17 Mar 2001, barries wrote:

> I've had some code kicking around for a while for a mincanonpath that
> does .. reduction.  It's a bit tricky even on a simple path grammar like
> Unix's, let alone on filesystems/OSs that support UNC names or other
> concepts of volumes (ie multiple roots).  It would make apps a bit more
> stable in the face of symlinks, here's the Unix flavor of it:
[snip code]
> I have some worked up for MacOS, etc., too and a test suite, but there's
> been little call for this.  I should work up a patch and send it in...

Actually, Ken Williams recently put some code like this into the Mason
core code but we'd really much prefer to see it in File::Spec.

I don't know how much of a call that is but I don't see how this would
detract from the usefulness of File::Spec.

-dave

/*==================
www.urth.org
We await the New Sun
==================*/


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About