develooper Front page | perl.perl5.changes | Postings from January 2022

[Perl/perl5] 5a7380: Specify PERL_USE_SAFE_PUTENV when configuringASCI...

From:
Karl Williamson via perl5-changes
Date:
January 1, 2022 23:05
Subject:
[Perl/perl5] 5a7380: Specify PERL_USE_SAFE_PUTENV when configuringASCI...
Message ID:
Perl/perl5/push/refs/heads/blead/979158-5a7380@github.com
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 5a738012a711a4d40f6be4ca90c5b62cb17c1f19
      https://github.com/Perl/perl5/commit/5a738012a711a4d40f6be4ca90c5b62cb17c1f19
  Author: Mike Fulton <mikefultonpersonal@gmail.com>
  Date:   2022-01-01 (Sat, 01 Jan 2022)

  Changed paths:
    M hints/os390.sh

  Log Message:
  -----------
  Specify PERL_USE_SAFE_PUTENV when configuring ASCII z/OS builds

The Perl code expects that the ``environ`` global variable can be
re-allocated to new storage and then have entries added and removed from
it. This isn't supported by z/OS when in Bi-Modal mode and so
_PERL_USE_SAFE_PUTENV_ macro is defined to use the _env_ services to
manipulate ``environ`` instead of doing so directly. It is not clear if
it is valid to re-allocate storage for the ``environ`` global variable
or not, although it is worth pursuing with the z/OS development team as
a longer-term potential fix.





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About