80b47941aa
We have the SUBST framework for a reason. (hi joerg! And don't tell me it's too unreliable, I won't believe it.)
30 lines
821 B
Text
30 lines
821 B
Text
$NetBSD: patch-ad,v 1.3 2008/01/05 19:21:00 rillig Exp $
|
|
|
|
--- src/pgp.c.orig Tue Jun 19 19:03:47 2001
|
|
+++ src/pgp.c Wed Jul 18 19:22:05 2001
|
|
@@ -161,7 +159,7 @@ static int GetPGPKey (name, target, targ
|
|
char *path;
|
|
case pgp2:
|
|
|
|
- execl(pgp2_path,
|
|
+ execlp(pgp2_path,
|
|
pgp2_path,"+verbose=0", "+language=en", "-kv", c,
|
|
(char *)0);
|
|
tmp = errno;
|
|
@@ -169,14 +167,14 @@ static int GetPGPKey (name, target, targ
|
|
break;
|
|
case pgp5:
|
|
path = elm_message(FRM("%s/pgpk"),pgp5_dir);
|
|
- execl(path,
|
|
+ execlp(path,
|
|
path, "+verbose=0","+language=en",
|
|
"-l", c, (char *)0);
|
|
tmp = errno;
|
|
perror(path);
|
|
break;
|
|
case gpg:
|
|
- execl(gpg_path,
|
|
+ execlp(gpg_path,
|
|
gpg_path,"--list-public-keys",c,(char *)0);
|
|
tmp = errno;
|
|
perror(gpg_path);
|