[Perl/perl5] e1fe20: POSIX/t/time.t fixups for VMS and tzset check

[email protected] ("Craig A. Berry" via perl5-changes)
Newsgroups perl.perl5.changes
Message-ID <Perl/perl5/push/refs/heads/craigb/posix_t_vms_todos/[email protected]>
  Branch: refs/heads/craigb/posix_t_vms_todos
  Home:   https://github.com/Perl/perl5
  Commit: e1fe205f25d72bd245a633cc6a320e5ea5387ee6
      https://github.com/Perl/perl5/commit/e1fe205f25d72bd245a633cc6a320e5ea5387ee6
  Author: Craig A. Berry <[email protected]>
  Date:   2026-03-25 (Wed, 25 Mar 2026)

  Changed paths:
    M ext/POSIX/t/time.t

  Log Message:
  -----------
  POSIX/t/time.t fixups for VMS and tzset check

The new tests for DST changes added in ecba154a518b40 were using
tzset without checking for its presence, so check that.

It turns out tzset() has been available on VMS for some time, so
it can be removed from the list of places that don't have it.

But mktime() on VMS does not set tm_zone or tm_gmtoff, so we don't
get those values when we call mktime() in locale.c:S_ints_to_tm.
Mark the relevant tests as TODO on VMS.



To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
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.