niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Not Unix » VMS » vmsperl
long path name support issues.
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
John E. Malmberg
*nix forums Guru Wannabe


Joined: 30 May 2005
Posts: 264

PostPosted: Mon Feb 13, 2006 2:13 am    Post subject: long path name support issues. Reply with quote

For OpenVMS long filename support, I will need to set the macro
MAXPATHLEN to the proper size of either 256 or 4096 depending on the
platform and version.

In order to do that through other macros, rmsdef.h would need to be
included in vmsish.h instead of in vms.h and other modules.


Also to fix several problems seen in the glob support on OpenVMS and add
proper EFS character support, I need to make similar changes to it as in
the submitted patches to the Perl_readdir and Perl_opendir routines.

Glob is currently broken for 'foo[xxx]' and the './foo/*' cases, which
are currently not being tested for in the Perl self tests.

It looks like rather than making the new routines public instead of
static, it may be better to do what Craig Berry suggested earlier, to
move the VMS specific glob code from doio.c into vms.c. That way the
optimizer can work at it's best and inline/trim several commonly used
subroutines.

So what I am looking at doing is creating a routine named:

PerlIO *
Perl_vms_start_glob
(pTHX_ SV *tmpglob,
IO *io,
SV * const tmpcmd,
PerlIO *fp)

in vms/vms.c and then moving the vms glob code there, and have
Perl_start_glob() call it.

And then I can start fixing the VMS to UNIX conversions to handle EFS
characters properly. With the EFS escape characters, it is not
practical to scan a file specification backwards for delimiter
characters, so those conversions need to be changed to use SYS$FILESCAN
for finding the delimiters.

-John
wb8tyw@qsl.net
Personal Opinion Only
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Sat Nov 22, 2008 11:41 am | All times are GMT
navigation Forum index » Not Unix » VMS » vmsperl
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Install suse from USB without BIOS support vjy04 Suse 0 Tue Jun 24, 2008 8:57 am
No new posts Install suse from USB without BIOS support vjy04 Suse 0 Tue Jun 24, 2008 8:56 am
No new posts Install suse from USB without BIOS support vjy04 Suse 0 Tue Jun 24, 2008 8:56 am
No new posts Install suse from USB without BIOS support vjy04 Suse 0 Tue Jun 24, 2008 8:55 am
No new posts Postfix SMTP client issues damber Postfix 1 Sat Apr 19, 2008 11:33 am

Credit Card | Loans | Credit Counseling | Credit Cards | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1216s ][ Queries: 16 (0.0576s) ][ GZIP on - Debug on ]