This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In vmsify, leave ../ path components alone.
authorCraig A. Berry <craigberry@mac.com>
Sun, 15 Jan 2012 04:40:24 +0000 (22:40 -0600)
committerCraig A. Berry <craigberry@mac.com>
Sun, 15 Jan 2012 04:40:24 +0000 (22:40 -0600)
commit4ab1eb56da9e51d7afaf7663e76680cf1e618834
treebf99c104192a014673e0fdc9b387f2d06f31711e
parentd3a16da4332bc355764973b70da72fc54272f32b
In vmsify, leave ../ path components alone.

Way back in 08c7cbbb0fc466967038dcb56ca4f1b828b96269, we started
eliminating ../ components when converting paths from Unix syntax
to VMS syntax.  No corresponding change was made when converting
in the opposite direction, so this was inconsistent.  We should
get a valid path either way, but doing more interpretation than
necessary seems uncalled for, so this patch restores the previous
behavior.

This also paves the way to eliminate some inconsistencies between
what we do when Extended Filename Syntax (EFS) is in effect and
when it's not.
vms/ext/filespec.t
vms/vms.c