From: Collin Funk Date: Fri, 31 Oct 2025 05:05:20 +0000 (-0700) Subject: maint: avoid syntax-check failure from previous commit X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cb536625524e110d756d59cb52d0c20c0bb082d5;p=thirdparty%2Fcoreutils.git maint: avoid syntax-check failure from previous commit * src/sort.c (pipe_child): Use nullptr instead of NULL. --- diff --git a/src/sort.c b/src/sort.c index 3bb5cc8dd4..f1e7553f47 100644 --- a/src/sort.c +++ b/src/sort.c @@ -1071,8 +1071,8 @@ pipe_child (pid_t *pid, int pipefds[2], int tempfd, bool decompress, implementations/emulations of posix_spawn we get only a generic (fatal) error from the child in that case. */ resolved_compress_program = - find_in_given_path (compress_program, getenv ("PATH"), NULL, false); - if (resolved_compress_program == NULL) + find_in_given_path (compress_program, getenv ("PATH"), nullptr, false); + if (resolved_compress_program == nullptr) return errno; compress_program_to_free = nullptr; if (resolved_compress_program != compress_program)