From 9d228af78ad17dabb51f9059d215cc88c059a22a Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 28 Nov 2020 09:20:46 -0700 Subject: 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. --- metaconfig.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'metaconfig.h') diff --git a/metaconfig.h b/metaconfig.h index baba5eac68..ae0093afd4 100644 --- a/metaconfig.h +++ b/metaconfig.h @@ -14,4 +14,6 @@ * they should be removed from here. * * HAS_WCRTOMB + * GETENV_PRESERVES_OTHER_THREAD + * */ -- cgit v1.2.1