aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-03 21:00:43 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-03 21:00:43 +0000
commitd8cf793135eac928e653eb5178894a611aa27837 (patch)
tree8c555cc94aca9fabd177526e554d93bed4886642 /shell
parent63adc7384791548741e3a2afbee1be40d99fe9d2 (diff)
downloadbusybox-w32-d8cf793135eac928e653eb5178894a611aa27837.tar.gz
busybox-w32-d8cf793135eac928e653eb5178894a611aa27837.tar.bz2
busybox-w32-d8cf793135eac928e653eb5178894a611aa27837.zip
bb_applet_name -> applet_name
git-svn-id: svn://busybox.net/trunk/busybox@16306 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c4
-rw-r--r--shell/cmdedit.c2
-rw-r--r--shell/lash.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 7d4da434e..0d9fa7fe2 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -3753,7 +3753,7 @@ tryexec(char *cmd, char **argv, char **envp)
3753 while (*c != NULL) { 3753 while (*c != NULL) {
3754 c++; argc++; 3754 c++; argc++;
3755 } 3755 }
3756 bb_applet_name = cmd; 3756 applet_name = cmd;
3757 exit(a->main(argc, argv)); 3757 exit(a->main(argc, argv));
3758 } 3758 }
3759#ifdef CONFIG_FEATURE_SH_STANDALONE_SHELL 3759#ifdef CONFIG_FEATURE_SH_STANDALONE_SHELL
@@ -13658,7 +13658,7 @@ static arith_t arith (const char *expr, int *perrcode)
13658 13658
13659 13659
13660#ifdef DEBUG 13660#ifdef DEBUG
13661const char *bb_applet_name = "debug stuff usage"; 13661const char *applet_name = "debug stuff usage";
13662int main(int argc, char **argv) 13662int main(int argc, char **argv)
13663{ 13663{
13664 return ash_main(argc, argv); 13664 return ash_main(argc, argv);
diff --git a/shell/cmdedit.c b/shell/cmdedit.c
index 9a57f750e..a9fc84798 100644
--- a/shell/cmdedit.c
+++ b/shell/cmdedit.c
@@ -1892,7 +1892,7 @@ rewrite_line:
1892 1892
1893#ifdef TEST 1893#ifdef TEST
1894 1894
1895const char *bb_applet_name = "debug stuff usage"; 1895const char *applet_name = "debug stuff usage";
1896 1896
1897#ifdef CONFIG_FEATURE_NONPRINTABLE_INVERSE_PUT 1897#ifdef CONFIG_FEATURE_NONPRINTABLE_INVERSE_PUT
1898#include <locale.h> 1898#include <locale.h>
diff --git a/shell/lash.c b/shell/lash.c
index 9c862a17f..c499612cc 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -1145,7 +1145,7 @@ static int pseudo_exec(struct child_prog *child)
1145 /* Check if the command matches any of the forking builtins. */ 1145 /* Check if the command matches any of the forking builtins. */
1146 for (x = bltins_forking; x->cmd; x++) { 1146 for (x = bltins_forking; x->cmd; x++) {
1147 if (strcmp(child->argv[0], x->cmd) == 0) { 1147 if (strcmp(child->argv[0], x->cmd) == 0) {
1148 bb_applet_name=x->cmd; 1148 applet_name=x->cmd;
1149 _exit (x->function(child)); 1149 _exit (x->function(child));
1150 } 1150 }
1151 } 1151 }