diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-07-12 20:26:32 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-07-12 20:26:32 +0000 |
commit | 7baffca714b6264cd5cfd05c314a59aeea938f8f (patch) | |
tree | 10dcece1e0bb88e35aa95c3a68896ad426e43f7a /lash.c | |
parent | 2e2b0c24a40ade30387df0a9114a8ce5c77f059f (diff) | |
download | busybox-w32-7baffca714b6264cd5cfd05c314a59aeea938f8f.tar.gz busybox-w32-7baffca714b6264cd5cfd05c314a59aeea938f8f.tar.bz2 busybox-w32-7baffca714b6264cd5cfd05c314a59aeea938f8f.zip |
Patch from vodz:
Changed email address
cmdedit API change
optimizations for traceroute and md5sum
added a new shared create_icmp_socket() function
git-svn-id: svn://busybox.net/trunk/busybox@3078 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'lash.c')
-rw-r--r-- | lash.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -170,9 +170,7 @@ static struct built_in_command bltins_forking[] = { | |||
170 | }; | 170 | }; |
171 | 171 | ||
172 | 172 | ||
173 | /* Variables we export */ | 173 | static int shell_context; /* Type prompt trigger (PS1 or PS2) */ |
174 | unsigned int shell_context; /* Used in cmdedit.c to reset the | ||
175 | context when someone hits ^C */ | ||
176 | 174 | ||
177 | 175 | ||
178 | /* Globals that are static to this file */ | 176 | /* Globals that are static to this file */ |
@@ -716,7 +714,6 @@ static int get_command(FILE * source, char *command) | |||
716 | ** child processes (rob@sysgo.de) | 714 | ** child processes (rob@sysgo.de) |
717 | */ | 715 | */ |
718 | cmdedit_read_input(prompt_str, command); | 716 | cmdedit_read_input(prompt_str, command); |
719 | cmdedit_terminate(); | ||
720 | return 0; | 717 | return 0; |
721 | #else | 718 | #else |
722 | fputs(prompt_str, stdout); | 719 | fputs(prompt_str, stdout); |
@@ -1557,7 +1554,6 @@ int shell_main(int argc_l, char **argv_l) | |||
1557 | 1554 | ||
1558 | /* These variables need re-initializing when recursing */ | 1555 | /* These variables need re-initializing when recursing */ |
1559 | last_jobid = 0; | 1556 | last_jobid = 0; |
1560 | shell_context = 0; | ||
1561 | local_pending_command = NULL; | 1557 | local_pending_command = NULL; |
1562 | close_me_head = NULL; | 1558 | close_me_head = NULL; |
1563 | job_list.head = NULL; | 1559 | job_list.head = NULL; |