summaryrefslogtreecommitdiff
path: root/sysutils/crashme
diff options
context:
space:
mode:
authorabs <abs>1999-06-27 01:41:46 +0000
committerabs <abs>1999-06-27 01:41:46 +0000
commit74516ee9b890a05e832773c1e5f4477751512f1c (patch)
tree723dbcd0405ce2996e75aaca65b100785b266c39 /sysutils/crashme
parentb02efefd72e602a822757149075e020ecf36a62c (diff)
downloadpkgsrc-74516ee9b890a05e832773c1e5f4477751512f1c.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);}}