Time64 needs to call VMS.C gmtime() and localtime() always.

[email protected] (John Malmberg)
Newsgroups perl.perl5.porters,perl.vmsperl
Message-ID <[email protected]>
I have not yet figured out how to fix this, but the localtime64_r 
wrapper seems to only sometimes call the vms.c localtime, and gmtime64_r 
is configured to never call it.  This is done by logic in 
time64_config.h which is not modified by the VMS Configure.com procedure.

These routines need to always call the wrappers in vms.c, or those 
routines need additional logic for VMS, as there is a vmsish time pragma 
that controls if the time functions results are in UTC or localtime.

This is causing the failure in the vmsish.t module where it is 
requesting a gmtime() return of a time value that is in local time, not GMT.

-John
[email protected]
Personal Opinion Only
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.