From: Bruno Haible Date: Mon, 14 Aug 2023 18:59:41 +0000 (+0200) Subject: build: fix recent compilation error on GNU/Hurd X-Git-Tag: v9.4~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db1d95f43b1bbccfef2959d8ccfad39165dd146d;p=thirdparty%2Fcoreutils.git build: fix recent compilation error on GNU/Hurd * src/copy.c (set_author): Revert change from MACH_PORT_NULL to MACH_PORT_nullptr from commit 16b5ca6e (2023-06-29). --- diff --git a/src/copy.c b/src/copy.c index 90eebf6bc3..a4aad06a8e 100644 --- a/src/copy.c +++ b/src/copy.c @@ -981,7 +981,7 @@ set_author (char const *dst_name, int dest_desc, const struct stat *src_sb) file_t file = (dest_desc < 0 ? file_name_lookup (dst_name, 0, 0) : getdport (dest_desc)); - if (file == MACH_PORT_nullptr) + if (file == MACH_PORT_NULL) error (0, errno, _("failed to lookup file %s"), quoteaf (dst_name)); else {