Needs to be NULL at init in all cases.
This commit is contained in:
parent
59d31b68c3
commit
744b064a34
2
lash.c
2
lash.c
@ -203,7 +203,7 @@ unsigned int shell_context; /* Used in cmdedit.c to reset the
|
||||
|
||||
/* Globals that are static to this file */
|
||||
static char *cwd;
|
||||
static char *local_pending_command;
|
||||
static char *local_pending_command = NULL;
|
||||
static struct jobset job_list = { NULL, NULL };
|
||||
static int argc;
|
||||
static char **argv;
|
||||
|
2
sh.c
2
sh.c
@ -203,7 +203,7 @@ unsigned int shell_context; /* Used in cmdedit.c to reset the
|
||||
|
||||
/* Globals that are static to this file */
|
||||
static char *cwd;
|
||||
static char *local_pending_command;
|
||||
static char *local_pending_command = NULL;
|
||||
static struct jobset job_list = { NULL, NULL };
|
||||
static int argc;
|
||||
static char **argv;
|
||||
|
@ -203,7 +203,7 @@ unsigned int shell_context; /* Used in cmdedit.c to reset the
|
||||
|
||||
/* Globals that are static to this file */
|
||||
static char *cwd;
|
||||
static char *local_pending_command;
|
||||
static char *local_pending_command = NULL;
|
||||
static struct jobset job_list = { NULL, NULL };
|
||||
static int argc;
|
||||
static char **argv;
|
||||
|
Loading…
Reference in New Issue
Block a user