From: Yu Watanabe Date: Tue, 21 Dec 2021 11:34:23 +0000 (+0900) Subject: errno-name: drop aliases defined for specific arch X-Git-Tag: v250~13^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95d88436eaa840b93fc3eda4737d3aa6a04ea3fe;p=thirdparty%2Fsystemd.git errno-name: drop aliases defined for specific arch In kernel's arch/parisc/include/uapi/asm/errno.h, ECANCELLED and EREFUSED are defined as aliases of ECANCELED and ECONNREFUSED, respectively. Let's drop them. Fixes #21844. --- diff --git a/src/basic/generate-errno-list.sh b/src/basic/generate-errno-list.sh index d2ce51e981d..f756b2e0208 100755 --- a/src/basic/generate-errno-list.sh +++ b/src/basic/generate-errno-list.sh @@ -3,5 +3,9 @@ set -eu set -o pipefail +# In kernel's arch/parisc/include/uapi/asm/errno.h, ECANCELLED and EREFUSED are defined as aliases of +# ECANCELED and ECONNREFUSED, respectively. Let's drop them. + ${1:?} -dM -include errno.h -