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

[patch@27613] VMS long file path support active.

Thread Next
From:
John E. Malmberg
Date:
March 27, 2006 05:06
Subject:
[patch@27613] VMS long file path support active.
Message ID:
4427E31D.2030801@qsl.net
This patch activates support for long file path names on the versions 
and platforms of OpenVMS that support it.

vmsish.h contains the changes needed to set the MAXPATHLEN macro to the 
maximum path length that OpenVMS will handle.

vms.c converts the last few routines that had too small of buffers for 
filename storage to have large enough buffers, and enables readdir and 
the glob support to return the longer pathnames.

The mystat structure now contains a private copy of original pathname in 
VMS format shortened to 255 characters for use with doing the 
perl_cando() code.

TODO:

Tests to torture the new lengths on ODS-5 volumes.

Activate _USE_STD_STAT now that there should be no code in vms.c that 
depend on the old VMS stat structure.

Recommend that once tested, _USE_STD_STAT be default on OpenVMS 8.2 and 
later for Alpha and Integrity built with 64 bit support.

Improve parsing of EFS Character specifications.

Start trimming redundant code for supporting 0DS-2 variants of some 
routines in ODS-5 and use macros in the ODS-5 code to hide the differences.

Stretch goal: UNICODE filename support.  Would anyone use it?

-John
wb8tyw@qsl.net
Personal Opinion Only



Thread Next


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