diff options
author | Karl Williamson <khw@cpan.org> | 2020-11-28 09:20:46 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-12-19 22:00:29 -0700 |
commit | 9d228af78ad17dabb51f9059d215cc88c059a22a (patch) | |
tree | 861d3ac1bcddf309504abbcae654f2748cbe1a4a /win32/config.gc | |
parent | 57d4826ad702b8c483b826af1c82f52ce64651ff (diff) | |
download | perl-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 'win32/config.gc')
-rw-r--r-- | win32/config.gc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/config.gc b/win32/config.gc index 9ffec527bf..b6e298f3b5 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -235,6 +235,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='undef' |