From: Paul Eggert Date: Sat, 15 Jan 2022 20:12:21 +0000 (-0800) Subject: build: allow readlinkat calls X-Git-Tag: v9.1~139 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ba6fb653c7d029e9ecef8e6d7d762674d2573ff;p=thirdparty%2Fcoreutils.git build: allow readlinkat calls 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. --- diff --git a/cfg.mk b/cfg.mk index c6284256ca..90066f19a1 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='\' \