aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-06-20udhcpc: change BPF filter to not use 0xffffffff as a max packet size,Denis Vlasenko
there are kernels which don't like big (negative when viewed as signed) sizes.
2008-06-18strrchr: actually, last one was finding "" in "any" at pos 0,Denis Vlasenko
should find at pos LAST...
2008-06-18strrchr: bikeshed painting time!Denis Vlasenko
replace cubic running time implementation with quadratic make embedded test actually readable function old new delta strrstr 42 44 +2
2008-06-18ash: fix "shift BIGNUM" and "read with no variable name" bugs.Denis Vlasenko
omg. hush testsuite helps to find bugs in ash! what next? function old new delta static.arg_REPLY - 8 +8 readcmd 1023 1021 -2 shiftcmd 129 125 -4 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/2 up/down: 8/-6) Total: 2 bytes
2008-06-18cosmetics in hush testsuitesDenis Vlasenko
2008-06-18fix globbing in unquoted $* and $@Denis Vlasenko
2008-06-18fix trivial error with inverted exit code in lsDenis Vlasenko
2008-06-18hush: fix a bug with backslashes improperly handled in unquoted variables.Denis Vlasenko
with previous patch: function old new delta parse_stream 1638 1758 +120 expand_on_ifs 97 174 +77 free_pipe 206 237 +31 setup_redirect 217 220 +3 setup_redirects 143 144 +1 done_word 698 688 -10 free_strings 38 - -38 expand_variables 1451 1403 -48 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 5/2 up/down: 232/-96) Total: 136 bytes
2008-06-18hush: add testsuite for "no globbing in redirection" rule.Denis Vlasenko
simplify redirection habdling
2008-06-18hush: expand quote3.tests and move from hush-bugs to hush-parsingDenis Vlasenko
2008-06-18hush: fix last hush-bugs testcase (disappearing "", $empty"" etc)Denis Vlasenko
2008-06-18- fixes from TitoBernhard Reutner-Fischer
2008-06-17- fix includesBernhard Reutner-Fischer
2008-06-17hush: fix $$ handlingDenis Vlasenko
2008-06-17- improved strrstr impl from vda with testcases from Tito and vdaBernhard Reutner-Fischer
2008-06-17hush: fix "for a in; do echo 'I should never run'; done" bugDenis Vlasenko
2008-06-17- remove depmod from TODO, it was recently added.Bernhard Reutner-Fischer
Small touch up while at it
2008-06-17move glob_and_assign.tests from hush-bugs to hush-globDenis Vlasenko
2008-06-17hush: continue fixing quoting and subst: fix glob_and_assign.tests.Denis Vlasenko
2008-06-17hush: cleanup pass, the biggest is - moved builtins to the end of the file,Denis Vlasenko
they really annoy in the middle of parser code. no real code changes.
2008-06-17hush: fix memory leak. it was actually rather invloved problem.Denis Vlasenko
Now finally glob/variable expansion is done IN THE RIGHT ORDER! It opens up a possibility to cleanly fix remaining known bugs. function old new delta o_save_ptr 115 286 +171 o_save_ptr_helper - 115 +115 done_word 591 690 +99 o_get_last_ptr - 31 +31 expand_on_ifs 125 97 -28 add_string_to_strings 28 - -28 run_list 1895 1862 -33 debug_print_strings 42 - -42 add_strings_to_strings 126 - -126 expand_variables 1550 1394 -156 o_debug_list 168 - -168 expand_strvec_to_strvec 388 10 -378 ------------------------------------------------------------------------------ (add/remove: 2/4 grow/shrink: 2/4 up/down: 416/-959) Total: -543 bytes
2008-06-16hush: fixing fallout from last big glob fix:Denis Vlasenko
fix segfault; identify where we leak memory function old new delta expand_strvec_to_strvec 353 336 -17
2008-06-16hush: delete hush-bugs/glob_and_vars.tests for realDenis Vlasenko
2008-06-16hush: fix hush-bugs/glob_and_vars.tests testcase:Denis Vlasenko
globbing is now done _after_ variable/`cmd` substitution function old new delta expand_strvec_to_strvec 7 353 +346 expand_variables 1348 1383 +35 add_string_to_strings - 28 +28 globhack 114 - -114 done_word 778 579 -199 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 2/1 up/down: 409/-313) Total: 96 bytes
2008-06-16tftp: help compiler a bitDenis Vlasenko
2008-06-16tftpd: PXE server said to need to support "tsize" optionDenis Vlasenko
(by Pascal Bellard <pascal.bellard AT ads-lu.com>). Conditional on blocksize option && tftpd support. function old new delta tftp_protocol 1488 1670 +182 tftp_get_option - 102 +102 tftpd_main 494 538 +44 tftp_main 252 254 +2 tftp_get_blksize 97 - -97 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 3/0 up/down: 330/-97) Total: 233 bytes
2008-06-16whitespace and comment fixes, no code changesDenis Vlasenko
2008-06-15even more of help text fixesDenis Vlasenko
2008-06-15fix config help textDenis Vlasenko
2008-06-15- fix copy'n paste error.Bernhard Reutner-Fischer
thanks, vda! :)
2008-06-15Specially for Bernhard Fischer introduce USE_BB_CRYPTDenis Vlasenko
which selects between libc/custom crypt routines.
2008-06-15hush: eliminate PARSEFLAG_SEMICOLON and ctx->parse_type field.Denis Vlasenko
function old new delta parse_and_run_file 30 27 -3 hush_main 795 792 -3 initialize_context 45 39 -6 done_word 791 778 -13 parse_and_run_stream 375 338 -37 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/5 up/down: 0/-62) Total: -62 bytes
2008-06-15use USE_FEATURE_UDHCP_PORT instead of ifdefDenis Vlasenko
2008-06-15udhcpc: removing stray whitespaceDenis Vlasenko
2008-06-15further encrypt_des optimizationsDenis Vlasenko
function old new delta pw_encrypt 943 964 +21 des_crypt 1512 1509 -3 u_sbox 512 256 -256 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 21/-259) Total: -238 bytes
2008-06-15cryptpw: fix "cryptpw -a des -- TEXT" caseDenis Vlasenko
libbb/pw_encrypt_des.c: optimize function old new delta cryptpw_main 177 157 -20 des_crypt 1682 1512 -170 pw_encrypt 1036 842 -194 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-384) Total: -384 bytes Run tested.
2008-06-15*: use llist_pop for traverse-and-free list operationDenis Vlasenko
function old new delta append_file_list_to_list 109 111 +2 udhcpc_main 2414 2413 -1 run_parts_main 325 324 -1 od_main 2324 2323 -1 getopt_main 709 707 -2 env_main 253 251 -2 sed_main 659 656 -3 ps_main 522 519 -3 traceroute_main 3960 3954 -6 sort_main 844 838 -6 diff_main 866 858 -8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/10 up/down: 2/-33) Total: -31 bytes
2008-06-15udhcpc: reduce ifdef forest, no code changesDenis Vlasenko
2008-06-14crypt: code shrinkDenis Vlasenko
function old new delta des_crypt - 1682 +1682 md5_crypt - 627 +627 pw_encrypt 3608 1036 -2572 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 0/1 up/down: 2309/-2572) Total: -263 bytes
2008-06-14tar: fix "unused parameter 'gzip'" warningDenis Vlasenko
2008-06-14hush: fix a bug where we were requiring semicolon here: (cmd;)Denis Vlasenko
also fix a bug where after error prompt is not shown. function old new delta parse_stream 1612 1638 +26 parse_and_run_stream 361 375 +14 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 40/0) Total: 40 bytes
2008-06-14hush: add support for ':'; create testsuite entriesDenis Vlasenko
text data bss dec hex filename 809569 612 7044 817225 c7849 busybox_old 809528 612 7044 817184 c7820 busybox_unstripped
2008-06-14hush: support "! cmd | cmd" negationDenis Vlasenko
function old new delta done_word 749 791 +42 run_list 1821 1859 +38 checkjobs 334 351 +17 done_pipe 61 74 +13 static.reserved_list 132 144 +12 initialize_context 53 45 -8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/1 up/down: 122/-8) Total: 114 bytes
2008-06-14Update sponsors page as wellDenis Vlasenko
2008-06-14ash: small cosmetic changeDenis Vlasenko
2008-06-14ash: fix ${var/s/r} handling, add testcase.Denis Vlasenko
2008-06-14dos2unix: do not destroy symlinks and mode of the file being converted.Denis Vlasenko
2008-06-13udhcpc: kill undocumented -W, it was a no-op.Denis Vlasenko
fix option parsing in the case some CONFIG_x are off. disable -b on NOMMU, make backgrounding work correctly (if a bit differently from MMU case). Previously, it wasn't working at all. stop using global data for flags in main(), opt bitfield works as well. function old new delta cryptpw_main 177 153 -24 packed_usage 24478 24452 -26 client_background 26 - -26 udhcpc_main 2462 2372 -90 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/3 up/down: 0/-166) Total: -166 bytes
2008-06-13trivial crypt shrinkageDenis Vlasenko
function old new delta __md5_to64 27 29 +2 pw_encrypt 3631 3608 -23
2008-06-13fix typo in "Analog Devices"Denis Vlasenko