diff options
author | abs <abs> | 1999-06-27 01:41:46 +0000 |
---|---|---|
committer | abs <abs> | 1999-06-27 01:41:46 +0000 |
commit | e4a1311baa74f63d47c68f9ac04e90dde2fca71f (patch) | |
tree | 723dbcd0405ce2996e75aaca65b100785b266c39 /sysutils/crashme | |
parent | 97669e613868a1d5fa4a4e8436795de9ea026380 (diff) | |
download | pkgsrc-e4a1311baa74f63d47c68f9ac04e90dde2fca71f.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-ab | 13 |
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);}} |