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.
halt='found operator at end of line' \
$(_sc_search_regexp)
-# Don't use "readlink" or "readlinkat" directly
-sc_prohibit_readlink:
- @prohibit='\<readlink(at)? \(' \
- halt='do not use readlink(at); use via xreadlink or areadlink*' \
- $(_sc_search_regexp)
-
# Don't use address of "stat" or "lstat" functions
sc_prohibit_stat_macro_address:
@prohibit='\<l?stat '':|&l?stat\>' \