summaryrefslogtreecommitdiff
path: root/sysutils/crashme
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>1999-06-27 01:41:46 +0000
committerabs <abs@pkgsrc.org>1999-06-27 01:41:46 +0000
commita6681d7ab9a5c50242e6119ab1f237e7e5078165 (patch)
tree723dbcd0405ce2996e75aaca65b100785b266c39 /sysutils/crashme
parent98add0685c8cdc145a741d5e96352370abac5557 (diff)
downloadpkgsrc-a6681d7ab9a5c50242e6119ab1f237e7e5078165.tar.gz
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.
Diffstat (limited to 'sysutils/crashme')
-rw-r--r--sysutils/crashme/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
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);}}