From a6681d7ab9a5c50242e6119ab1f237e7e5078165 Mon Sep 17 00:00:00 2001 From: abs Date: Sun, 27 Jun 1999 01:41:46 +0000 Subject: If we install in the path, we shouldn't need to use a full path to execute. use execlp() instead of execl() to exec children. --- sysutils/crashme/patches/patch-ab | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 sysutils/crashme/patches/patch-ab diff --git a/sysutils/crashme/patches/patch-ab b/sysutils/crashme/patches/patch-ab new file mode 100644 index 00000000000..c8e0e118089 --- /dev/null +++ b/sysutils/crashme/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 1999/06/27 01:41:46 abs Exp $ + +--- crashme.c.orig Sat Jun 26 18:35:17 1999 ++++ crashme.c Sat Jun 26 18:36:01 1999 +@@ -591,7 +591,7 @@ + status = fork(); + #endif + if (status == 0) +- {status = execl(cmd,cmd,nb,arg2,nt,arg4,arg5,subprocess_ind,0); ++ {status = execlp(cmd,cmd,nb,arg2,nt,arg4,arg5,subprocess_ind,0); + if (status == -1) + {perror(cmd); + exit(1);}} -- cgit v1.2.3