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

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

Thread Next
John E. Malmberg
March 27, 2006 05:06
[patch@27613] VMS long file path support active.
Message ID:
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.


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?

Personal Opinion Only

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About