develooper Front page | perl.perl5.porters | Postings from February 2009

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

Thread Next
From:
John Malmberg
Date:
February 17, 2009 20:50
Subject:
Time64 needs to call VMS.C gmtime() and localtime() always.
Message ID:
499B9387.7020704@gmail.com
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
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