Let the loader initialize nep
This commit is contained in:
4
env.c
4
env.c
@@ -149,12 +149,10 @@ char **
|
|||||||
zero_env(envp)
|
zero_env(envp)
|
||||||
char **envp;
|
char **envp;
|
||||||
{
|
{
|
||||||
char **ep, **nep;
|
|
||||||
static char *newenv[8];
|
static char *newenv[8];
|
||||||
|
char **ep, **nep = newenv;
|
||||||
extern char *prev_user;
|
extern char *prev_user;
|
||||||
|
|
||||||
nep = newenv;
|
|
||||||
|
|
||||||
for (ep = envp; *ep; ep++) {
|
for (ep = envp; *ep; ep++) {
|
||||||
switch (**ep) {
|
switch (**ep) {
|
||||||
case 'H':
|
case 'H':
|
||||||
|
Reference in New Issue
Block a user