diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1996-11-21 07:59:41 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1996-11-21 07:59:41 +0000 |
commit | e7ba2dde1be71475ca9e13475a5da793e6e71492 (patch) | |
tree | 92fc7d77b93be740bc71187341a0164e93242b61 /bin/pdksh/exec.c | |
parent | 348b1798b3067a1b3e79d9460d7f51a07ccd44ef (diff) |
Update to 5.2.12.
Diffstat (limited to 'bin/pdksh/exec.c')
-rw-r--r-- | bin/pdksh/exec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/pdksh/exec.c b/bin/pdksh/exec.c index 345b68df31a..15027419bef 100644 --- a/bin/pdksh/exec.c +++ b/bin/pdksh/exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.c,v 1.4 1996/10/01 02:05:34 downsj Exp $ */ +/* $OpenBSD: exec.c,v 1.5 1996/11/21 07:59:28 downsj Exp $ */ /* * execute command tree @@ -34,7 +34,7 @@ static int dbteste_eval ARGS((Test_env *te, Test_op op, const char *opnd1, static void dbteste_error ARGS((Test_env *te, int offset, const char *msg)); #endif /* KSH */ #ifdef OS2 -static int search_access1 ARGS((const char *path, int mode)); +static int search_access1 ARGS((const char *path, int mode, int *errnop)); #endif /* OS2 */ @@ -417,6 +417,7 @@ execute(t, flags) } #endif restoresigs(); + cleanup_proc_env(); ksh_execve(t->str, t->args, ap); if (errno == ENOEXEC) scriptexec(t, ap); |