This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add Configure probe for getenv() buffer race
authorKarl Williamson <khw@cpan.org>
Sat, 28 Nov 2020 16:20:46 +0000 (09:20 -0700)
committerKarl Williamson <khw@cpan.org>
Sun, 20 Dec 2020 05:00:29 +0000 (22:00 -0700)
commit9d228af78ad17dabb51f9059d215cc88c059a22a
tree861d3ac1bcddf309504abbcae654f2748cbe1a4a
parent57d4826ad702b8c483b826af1c82f52ce64651ff
Add Configure probe for getenv() buffer race

Most implementations do not have a problem with two getenv()'s running
simultaneously in different threads.  But Posix doesn't require such
good behavior.  This adds a simple probe to test the current system.
14 files changed:
Configure
Cross/config.sh-arm-linux
Cross/config.sh-arm-linux-n770
NetWare/config.wc
Porting/config.sh
config_h.SH
configure.com
metaconfig.h
plan9/config_sh.sample
uconfig.h
uconfig.sh
uconfig64.sh
win32/config.gc
win32/config.vc