Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 5a738012a711a4d40f6be4ca90c5b62cb17c1f19
https://github.com/Perl/perl5/commit/5a738012a711a4d40f6be4ca90c5b62cb17c1f19
Author: Mike Fulton <[email protected]>
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.