bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

src/job.c patch


From: Pete Dietl
Subject: src/job.c patch
Date: Thu, 31 Dec 2020 16:01:58 -0800

From: Pete Dietl <petedietl@gmail.com>
Date: Thu, 31 Dec 2020 15:55:19 -0800
Subject: [PATCH] * src/job.c: add third argument to find_in_given_path
 function call.

Gnulib added a third argument to this function on 2020-12-14
---
 src/job.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/job.c b/src/job.c
index d6e28d3..861527b 100644
--- a/src/job.c
+++ b/src/job.c
@@ -2391,7 +2391,7 @@ child_execute_job (struct childbase *child, int
good_stdin, char **argv)
           }
       }

-    cmd = (char *)find_in_given_path (argv[0], p, 0);
+    cmd = (char *)find_in_given_path (argv[0], p, 0, NULL);
   }

   if (!cmd)
--
2.25.1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]