From: Collin Funk Date: Wed, 14 Jan 2026 04:45:32 +0000 (-0800) Subject: maint: avoid syntax-check failure from previous commit X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=418d4084b49be5d25433bc9b90d6c9c64bbdeb94;p=thirdparty%2Fcoreutils.git maint: avoid syntax-check failure from previous commit * src/copy-file-data.c (sparse_copy): Use nullptr instead of NULL. --- diff --git a/src/copy-file-data.c b/src/copy-file-data.c index a48d06b79d..382a86ede3 100644 --- a/src/copy-file-data.c +++ b/src/copy-file-data.c @@ -148,7 +148,7 @@ sparse_copy (int src_fd, int dest_fd, char **abuf, idx_t buf_size, { /* Don’t treat EFBIG as a reportable error from copy_file_range. If the input is at EOF and the output position is 2**63 - 1, - copy_file_range (ifd, NULL, ofd, NULL, 2146435072, 0) + copy_file_range (ifd, nullptr, ofd, nullptr, 2146435072, 0) incorrectly fails with EFBIG. Problem observed on Ubuntu 25.10 x86-64 with Linux kernel 6.17.0-8-generic #8-Ubuntu. */ if (errno == EFBIG)