aboutsummaryrefslogtreecommitdiff
path: root/libbb/appletlib.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* *: remove remaining instances of ".data" hackDenis Vlasenko2008-04-221-5/+0
|
* Avoid linking in printf/bsearch if possible. -20k for static bbox withDenis Vlasenko2008-04-081-23/+73
| | | | | | | | | | | "basename", "true" and "false" only. function old new delta full_write2_str - 25 +25 bb_show_usage 183 202 +19 main 883 898 +15 run_applet_and_exit 501 507 +6
* shells: do not frocibly enable test, echo and kill _applets_,Denis Vlasenko2008-04-011-2/+40
| | | | | | | | | | | | | | | | | | | just build relevant source and use xxx_main functions. build system: add a special case when we have exactly one applet enabled (makes "true", "false", "basename" REALLY tiny). getopt32: do not use stdio. function old new delta getopt32 1385 1412 +27 make_device 1187 1200 +13 basename_main 120 127 +7 tcpudpsvd_main 1922 1926 +4 testcmd 5 - -5 echocmd 5 - -5 fuser_main 1243 1231 -12 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 4/1 up/down: 51/-22) Total: 29 bytes
* clean up TODO file. No real code changes.Denis Vlasenko2008-03-171-0/+1
|
* *: fix fallout from -Wunused-parameterDenis Vlasenko2008-03-171-1/+1
| | | | | | | | | | | | | | | | | | function old new delta bbunpack 358 366 +8 passwd_main 1070 1072 +2 handle_incoming_and_exit 2651 2653 +2 getpty 88 86 -2 script_main 975 972 -3 inetd_main 2036 2033 -3 dname_enc 377 373 -4 make_new_session 474 462 -12 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/5 up/down: 12/-24) Total: -12 bytes text data bss dec hex filename 797429 658 7428 805515 c4a8b busybox_old 797417 658 7428 805503 c4a7f busybox_unstripped
* *: add -Wunused-parameter; fix resulting breakageDenis Vlasenko2008-03-171-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta procps_scan 1265 1298 +33 aliascmd 278 283 +5 parse_file_cmd 116 120 +4 dname_enc 373 377 +4 setcmd 90 93 +3 execcmd 57 60 +3 count_lines 72 74 +2 process_command_subs 340 339 -1 test_main 409 407 -2 mknod_main 179 177 -2 handle_incoming_and_exit 2653 2651 -2 argstr 1312 1310 -2 shiftcmd 131 128 -3 exitcmd 46 43 -3 dotcmd 297 294 -3 breakcmd 86 83 -3 evalpipe 353 349 -4 evalcommand 1180 1176 -4 evalcmd 109 105 -4 send_tree 374 369 -5 mkfifo_main 82 77 -5 evalsubshell 152 147 -5 typecmd 75 69 -6 letcmd 61 55 -6 add_cmd 1190 1183 -7 main 891 883 -8 ash_main 1415 1407 -8 parse_stream 1377 1367 -10 alloc_procps_scan 55 - -55 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 7/21 up/down: 54/-148) Total: -94 bytes text data bss dec hex filename 797195 658 7428 805281 c49a1 busybox_old 797101 658 7428 805187 c4943 busybox_unstripped
* *: add optimization barrier to all "G trick" locationsDenis Vlasenko2008-02-271-0/+1
|
* small code readability and typo fixesDenis Vlasenko2008-02-221-1/+1
|
* *: move getopt reset code to better place(s)Denis Vlasenko2008-01-281-1/+0
|
* defconfig: updateDenis Vlasenko2007-12-241-4/+6
| | | | | | | appletli.c: add vda's (C) top: fixlet for incorrect display of "0" Makefile: reduce stack size from 20k to 16k
* Further optimize applet tables; prettify build outputDenis Vlasenko2007-11-291-7/+7
| | | | | | | text data bss dec hex filename 775923 929 9100 785952 bfe20 busybox_old 775565 929 9100 785594 bfcba busybox_unstripped
* reorganize applet table. Eliminates pointers to names.Denis Vlasenko2007-11-281-44/+43
| | | | | | | | | Should be a big win for libbusybox. busybox wins too: text data bss dec hex filename 776524 929 9100 786553 c0079 busybox_old 775903 929 9100 785932 bfe0c busybox_unstripped
* appletlib.c: make it actally follow _BB_SUID_ALWAYS rulesDenis Vlasenko2007-10-291-6/+3
| | | | | | | | | | adduser: implement -S and code shrink / fix uid selection *: sanitize getspnam_r use text data bss dec hex filename 777042 974 9676 787692 c04ec busybox_old 776883 974 9676 787533 c044d busybox_unstripped
* fix a problem with two different applet_name'sDenis Vlasenko2007-10-111-2/+3
|
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-111-3/+3
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* Move applets/applet.c into libbb, allows to get rid of --whole-archiveDenis Vlasenko2007-10-101-4/+549
| | | | | (smaller code). Tested in static and shared mode.
* get rid of global "struct bb_applet *current_applet"Denis Vlasenko2007-10-101-1/+4
|
* whitespace fixDenis Vlasenko2007-10-081-1/+1
|
* add libbb/appletlib.cDenis Vlasenko2007-10-081-0/+139