bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Never call gl_FUNC_GETCWD_PATH_MAX on Darwin


From: Kirill A. Korinsky
Subject: [PATCH] Never call gl_FUNC_GETCWD_PATH_MAX on Darwin
Date: Thu, 8 Sep 2022 21:13:32 +0200

This bug never appears on macOS and it is safe to ignore it,
specially when the test itself may cause another bug.

See: https://trac.macports.org/ticket/62994
---
 m4/getcwd.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/getcwd.m4 b/m4/getcwd.m4
index 076ca3148..06edd681e 100644
--- a/m4/getcwd.m4
+++ b/m4/getcwd.m4
@@ -114,7 +114,7 @@ AC_DEFUN([gl_FUNC_GETCWD],
 
   gl_abort_bug=no
   case "$host_os" in
-    mingw*)
+    darwin* | mingw*)
       gl_cv_func_getcwd_path_max=yes
       ;;
     *)
-- 
2.37.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]