From 2ba6fb653c7d029e9ecef8e6d7d762674d2573ff Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 15 Jan 2022 12:12:21 -0800 Subject: [PATCH] build: allow readlinkat calls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem reported by Bernhard Voelker in: https://lists.gnu.org/r/coreutils/2022-01/msg00026.html * cfg.mk (sc_prohibit_readlink): Remove. It’s OK to call readlinkat to determine whether a file is a symbolic link. --- cfg.mk | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cfg.mk b/cfg.mk index c6284256c..90066f19a 100644 --- a/cfg.mk +++ b/cfg.mk @@ -441,12 +441,6 @@ sc_prohibit_operator_at_end_of_line: halt='found operator at end of line' \ $(_sc_search_regexp) -# Don't use "readlink" or "readlinkat" directly -sc_prohibit_readlink: - @prohibit='\' \ -- 2.32.0