diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-01-05 21:23:44 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-01-05 21:23:44 +0000 |
commit | 744b064a341523d14fe20599977488ca45880315 (patch) | |
tree | 6e9fd04294c39ac33b362dfea576e5f98f4c4e49 | |
parent | 59d31b68c3cf0feadd3630b7b547649d3756caf2 (diff) | |
download | busybox-w32-744b064a341523d14fe20599977488ca45880315.tar.gz busybox-w32-744b064a341523d14fe20599977488ca45880315.tar.bz2 busybox-w32-744b064a341523d14fe20599977488ca45880315.zip |
Needs to be NULL at init in all cases.
-rw-r--r-- | lash.c | 2 | ||||
-rw-r--r-- | sh.c | 2 | ||||
-rw-r--r-- | shell/lash.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -203,7 +203,7 @@ unsigned int shell_context; /* Used in cmdedit.c to reset the | |||
203 | 203 | ||
204 | /* Globals that are static to this file */ | 204 | /* Globals that are static to this file */ |
205 | static char *cwd; | 205 | static char *cwd; |
206 | static char *local_pending_command; | 206 | static char *local_pending_command = NULL; |
207 | static struct jobset job_list = { NULL, NULL }; | 207 | static struct jobset job_list = { NULL, NULL }; |
208 | static int argc; | 208 | static int argc; |
209 | static char **argv; | 209 | static char **argv; |
@@ -203,7 +203,7 @@ unsigned int shell_context; /* Used in cmdedit.c to reset the | |||
203 | 203 | ||
204 | /* Globals that are static to this file */ | 204 | /* Globals that are static to this file */ |
205 | static char *cwd; | 205 | static char *cwd; |
206 | static char *local_pending_command; | 206 | static char *local_pending_command = NULL; |
207 | static struct jobset job_list = { NULL, NULL }; | 207 | static struct jobset job_list = { NULL, NULL }; |
208 | static int argc; | 208 | static int argc; |
209 | static char **argv; | 209 | static char **argv; |
diff --git a/shell/lash.c b/shell/lash.c index 36e8aa5ea..98d6b65a6 100644 --- a/shell/lash.c +++ b/shell/lash.c | |||
@@ -203,7 +203,7 @@ unsigned int shell_context; /* Used in cmdedit.c to reset the | |||
203 | 203 | ||
204 | /* Globals that are static to this file */ | 204 | /* Globals that are static to this file */ |
205 | static char *cwd; | 205 | static char *cwd; |
206 | static char *local_pending_command; | 206 | static char *local_pending_command = NULL; |
207 | static struct jobset job_list = { NULL, NULL }; | 207 | static struct jobset job_list = { NULL, NULL }; |
208 | static int argc; | 208 | static int argc; |
209 | static char **argv; | 209 | static char **argv; |