summaryrefslogtreecommitdiff
path: root/plan9
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 /plan9
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 'plan9')
-rw-r--r--plan9/config_sh.sample1
1 files changed, 1 insertions, 0 deletions
diff --git a/plan9/config_sh.sample b/plan9/config_sh.sample
index dfd7c32772..691f907917 100644
--- a/plan9/config_sh.sample
+++ b/plan9/config_sh.sample
@@ -248,6 +248,7 @@ d_gdbm_ndbm_h_uses_prototypes='undef'
d_gdbmndbm_h_uses_prototypes='undef'
d_getaddrinfo='undef'
d_getcwd='define'
+d_getenv_preserves_other_thread='define'
d_getespwnam='undef'
d_getfsstat='undef'
d_getgrent='define'