From: Paul Eggert Date: Sat, 4 Mar 2023 19:42:16 +0000 (-0800) Subject: split: don’t assume pid_t fits in int X-Git-Tag: v9.2~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41615f0f8fe791706f977c9705138315947f4404;p=thirdparty%2Fcoreutils.git split: don’t assume pid_t fits in int * src/split.c (filter_pid): Now pid_t, not int. (of_t): opid member is now pid_t, not int. --- 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