aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-12-23 23:36:47 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-12-23 23:36:47 +0000
commit4e12b1a2a9e68685dff61acaee1e1f6c377d978c (patch)
tree6d2745f77060d05f843eb186c5227246667d33cb /shell
parentb3523b9cd3ba71b82e36466b17aae3d65a53203e (diff)
downloadbusybox-w32-4e12b1a2a9e68685dff61acaee1e1f6c377d978c.tar.gz
busybox-w32-4e12b1a2a9e68685dff61acaee1e1f6c377d978c.tar.bz2
busybox-w32-4e12b1a2a9e68685dff61acaee1e1f6c377d978c.zip
libbb: introduce and use xmalloc_ttyname (-32 in bss).
ash: small code shrink text data bss dec hex filename 793669 504 7524 801697 c3ba1 busybox_old 793659 504 7492 801655 c3b77 busybox_unstripped
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 2fc903b37..492ccd79f 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -13691,7 +13691,7 @@ int ash_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
13691int ash_main(int argc UNUSED_PARAM, char **argv) 13691int ash_main(int argc UNUSED_PARAM, char **argv)
13692{ 13692{
13693 char *shinit; 13693 char *shinit;
13694 volatile int state; 13694 volatile smallint state;
13695 struct jmploc jmploc; 13695 struct jmploc jmploc;
13696 struct stackmark smark; 13696 struct stackmark smark;
13697 13697
@@ -13714,7 +13714,7 @@ int ash_main(int argc UNUSED_PARAM, char **argv)
13714 state = 0; 13714 state = 0;
13715 if (setjmp(jmploc.loc)) { 13715 if (setjmp(jmploc.loc)) {
13716 int e; 13716 int e;
13717 int s; 13717 smallint s;
13718 13718
13719 reset(); 13719 reset();
13720 13720
@@ -13769,7 +13769,7 @@ int ash_main(int argc UNUSED_PARAM, char **argv)
13769 } 13769 }
13770 } 13770 }
13771#endif 13771#endif
13772 if (argv[0] && argv[0][0] == '-') 13772 if (/* argv[0] && */ argv[0][0] == '-')
13773 isloginsh = 1; 13773 isloginsh = 1;
13774 if (isloginsh) { 13774 if (isloginsh) {
13775 state = 1; 13775 state = 1;