diff options
| author | jtc <jtc@NetBSD.org> | 1996-12-18 04:50:04 +0000 |
|---|---|---|
| committer | jtc <jtc@NetBSD.org> | 1996-12-18 04:50:04 +0000 |
| commit | 614eee469b65bd482b14553104f101ac100b7715 (patch) | |
| tree | 89399581dc4ca937a6958bbafc226648e96c006b /bin/ksh/exec.c | |
| parent | e70f884a92536b7a8a0fd2fb90e21d74f03a81d3 (diff) | |
import pdksh 5.2.12
Diffstat (limited to 'bin/ksh/exec.c')
| -rw-r--r-- | bin/ksh/exec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ksh/exec.c b/bin/ksh/exec.c index 0d315289067..09c16cc56c7 100644 --- a/bin/ksh/exec.c +++ b/bin/ksh/exec.c @@ -32,7 +32,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 */ @@ -415,6 +415,7 @@ execute(t, flags) } #endif restoresigs(); + cleanup_proc_env(); ksh_execve(t->str, t->args, ap); if (errno == ENOEXEC) scriptexec(t, ap); |
