From 41615f0f8fe791706f977c9705138315947f4404 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 4 Mar 2023 11:42:16 -0800 Subject: [PATCH] =?utf8?q?split:=20don=E2=80=99t=20assume=20pid=5Ft=20fits?= =?utf8?q?=20in=20int?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * src/split.c (filter_pid): Now pid_t, not int. (of_t): opid member is now pid_t, not int. --- src/split.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/split.c b/src/split.c index c8d54576b5..524a4fb78b 100644 --- a/src/split.c +++ b/src/split.c @@ -54,7 +54,7 @@ static char const *filter_command; /* Process ID of the filter. */ -static int filter_pid; +static pid_t filter_pid; /* Array of open pipes. */ static int *open_pipes; @@ -1037,7 +1037,7 @@ typedef struct of_info char *of_name; int ofd; FILE *ofile; - int opid; + pid_t opid; } of_t; enum -- 2.47.2