Let the loader initialize nep

This commit is contained in:
Todd C. Miller
2004-09-08 15:57:49 +00:00
parent 70d8f78328
commit 01dbe19ba1

4
env.c
View File

@@ -149,12 +149,10 @@ char **
zero_env(envp)
char **envp;
{
char **ep, **nep;
static char *newenv[8];
char **ep, **nep = newenv;
extern char *prev_user;
nep = newenv;
for (ep = envp; *ep; ep++) {
switch (**ep) {
case 'H':