[prev in list] [next in list] [prev in thread] [next in thread]
List: autoconf-bug
Subject: Re: "thread-safe" mkdir -p
From: Paul Eggert <eggert () cs ! ucla ! edu>
Date: 2019-10-06 8:39:14
Message-ID: 1c7e5e86-c655-3f84-69e7-5ac6aef4ecea () cs ! ucla ! edu
[Download RAW message or body]
Thanks for mentioning that; I installed the attached to fix it.
["0001-Fix-terminology-typo-in-mkdir-p-check.patch" (text/x-patch)]
From 5a72a803bc4bc23f6a64dd8eed95535b1a3a144d Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Sun, 6 Oct 2019 01:37:56 -0700
Subject: [PATCH] Fix terminology typo in mkdir -p check
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Say "race-free", not
"thread-safe". Problem reported by Reuben Thomas in:
https://lists.gnu.org/r/bug-autoconf/2019-09/msg00003.html
---
lib/autoconf/programs.m4 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/autoconf/programs.m4 b/lib/autoconf/programs.m4
index cf36ac15..5c73df05 100644
--- a/lib/autoconf/programs.m4
+++ b/lib/autoconf/programs.m4
@@ -615,7 +615,7 @@ AC_SUBST(INSTALL_DATA)dnl
# AC_PROG_MKDIR_P
# ---------------
-# Check whether `mkdir -p' is known to be thread-safe, and fall back to
+# Check whether `mkdir -p' is known to be race-free, and fall back to
# install-sh -d otherwise.
#
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
@@ -663,7 +663,7 @@ AN_MAKEVAR([MKDIR_P], [AC_PROG_MKDIR_P])
AC_DEFUN_ONCE([AC_PROG_MKDIR_P],
[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
AC_REQUIRE_AUX_FILE([install-sh])dnl
-AC_MSG_CHECKING([for a thread-safe mkdir -p])
+AC_MSG_CHECKING([for a race-free mkdir -p])
if test -z "$MKDIR_P"; then
AC_CACHE_VAL([ac_cv_path_mkdir],
[_AS_PATH_WALK([$PATH$PATH_SEPARATOR/opt/sfw/bin],
--
2.21.0
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic