From 1fae20a2b7894ab24bb2a17e48178e70c4cf0db9 Mon Sep 17 00:00:00 2001 From: Christian Boos Date: Sat, 27 Dec 2014 10:55:01 +0200 Subject: Fix $(shell) on hosts with 64-bit pid_t. * function.c: Use pid_t for shell_function_pid. * job.c: Likewise. Copyright-paperwork-exempt: yes --- function.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'function.c') diff --git a/function.c b/function.c index 169c3a1..269c8ac 100644 --- a/function.c +++ b/function.c @@ -1442,7 +1442,8 @@ fold_newlines (char *buffer, unsigned int *length, int trim_newlines) -int shell_function_pid = 0, shell_function_completed; +pid_t shell_function_pid = 0; +int shell_function_completed; #ifdef WINDOWS32 -- cgit v1.2.3