summaryrefslogtreecommitdiff
path: root/Porting/config.sh
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-11-28 09:20:46 -0700
committerKarl Williamson <khw@cpan.org>2020-12-19 22:00:29 -0700
commit9d228af78ad17dabb51f9059d215cc88c059a22a (patch)
tree861d3ac1bcddf309504abbcae654f2748cbe1a4a /Porting/config.sh
parent57d4826ad702b8c483b826af1c82f52ce64651ff (diff)
downloadperl-9d228af78ad17dabb51f9059d215cc88c059a22a.tar.gz
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.
Diffstat (limited to 'Porting/config.sh')
-rw-r--r--Porting/config.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/Porting/config.sh b/Porting/config.sh
index 1401eaa615..392decb9ae 100644
--- a/Porting/config.sh
+++ b/Porting/config.sh
@@ -264,6 +264,7 @@ d_gdbm_ndbm_h_uses_prototypes='undef'
d_gdbmndbm_h_uses_prototypes='undef'
d_getaddrinfo='define'
d_getcwd='define'
+d_getenv_preserves_other_thread='define'
d_getespwnam='undef'
d_getfsstat='undef'
d_getgrent='define'