]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* src/job.c (child_execute_job): Update gnulib find_in_given_path()
authorPete Dietl <petedietl@gmail.com>
Thu, 31 Dec 2020 23:55:19 +0000 (15:55 -0800)
committerPaul Smith <psmith@gnu.org>
Thu, 25 Mar 2021 18:25:26 +0000 (14:25 -0400)
Copyright-paperwork-exempt: yes

src/job.c

index d6e28d3a7a54f152c2f5ac123381bc4bc1a5af6e..ee59b95b6816652247b421d1f1f7ddf82a383d72 100644 (file)
--- 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, NULL, 0);
   }
 
   if (!cmd)