develooper Front page | perl.perl5.porters | Postings from July 2003

[PATCH] fix for File::Find logical name collision on VMS

From:
Craig A. Berry
Date:
July 21, 2003 17:40
Subject:
[PATCH] fix for File::Find logical name collision on VMS
Message ID:
3F1C87F4.2070401@mac.com
On VMS we've been afflicted by a bug that crops up when a directory name
and a logical name are the same. (A logical name is a sort of cross
between a symlink and an environment variable). The problem boils down
to the fact that "cd 'foo'" means one thing when foo is defined as a
logical name and another thing when it isn't.

This problem never occurs with native utilities because there is always
punctuation that distinguishes between foo as a logical name and [.foo]
as a relative directory name. The patch here makes File::Find do the
same thing, adding directory syntax to directory names when there isn't
any already there.

The patch also removes the assumption that the .dir extension will
always be in lower case.





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