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

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

Craig A. Berry
July 21, 2003 17:40
[PATCH] fix for File::Find logical name collision on VMS
Message ID:
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. Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About