aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* vi: remove two globalsvda2007-05-172-69/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | awk: some 'lineno' vars were shorts, made them ints (code got smaller) awk: rename global t to global ttt. still an awful name, but at least you can grep for it now. function old new delta ttt - 28 +28 mysleep 104 120 +16 readit 408 418 +10 lineno 2 4 +2 parse_program 338 339 +1 evaluate 6446 6445 -1 syntax_error 25 23 -2 next_token 917 915 -2 new_node 26 24 -2 tv 16 8 -8 skip_spaces 68 53 -15 t 28 - -28 rfds 128 - -128 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 4/6 up/down: 57/-186) Total: -129 bytes git-svn-id: svn://busybox.net/trunk/busybox@18643 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: do "struct globals" trick. hush.o data+bss = 0 bytes now.vda2007-05-171-105/+134
| | | | | | | +60 bytes to image, but -8000 bytes in bss. git-svn-id: svn://busybox.net/trunk/busybox@18642 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: consolidated variable expansion for assignments and "normal" one.vda2007-05-171-87/+39
| | | | | | | -435 bytes. Tested against testsuite. git-svn-id: svn://busybox.net/trunk/busybox@18641 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more compile fixes from randomconfig runvda2007-05-172-8/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18640 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix trivial compile errors found by randomconfig runvda2007-05-173-0/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18639 69ca8d6d-28ef-0310-b511-8ec308f3f277
* netstat: fix error in new -W option handlingvda2007-05-161-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18638 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: take care of several easy FIXMEs. -228 bytes.vda2007-05-161-124/+68
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18637 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: another microscopic typo fixvda2007-05-161-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18636 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: fix English in commentvda2007-05-161-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18635 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: simplify read builtin; fix set_local_var (misplaced 'goto skip;')vda2007-05-161-42/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18634 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: fix expansion of quoted $VAR, $* and $@vda2007-05-169-27/+51
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18633 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: fix incorrect processing of echo "'$var'".vda2007-05-163-25/+25
| | | | | | | | | hush: rename map[] and MAP_xxx, making them easier to understand. hush: move testcase (which now passes) from hush-bugs to hush-parsing git-svn-id: svn://busybox.net/trunk/busybox@18632 69ca8d6d-28ef-0310-b511-8ec308f3f277
* netstat: introduce -W: wide, ipv6-friendly outputvda2007-05-153-178/+175
| | | | | | | | | | netstat: shrink by ~500 bytes (patch by Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>) netstat: fix for bogus state value for raw sockets git-svn-id: svn://busybox.net/trunk/busybox@18631 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - apply hunk that fixes an issue with (wrong?) dependencies. Initial notes were:aldot2007-05-151-10/+5
| | | | | | | | | | There is something wrong in the new buildsys: If one selects ip and has e.g. rule or route unset, ip still wants to build those. This fails (correctly) since rtnl_rttable_n2a and rtnl_rtrealm_n2a aren't available if they were turned off. TODO: Talk to vda about this git-svn-id: svn://busybox.net/trunk/busybox@18618 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - busybox.c was removed a while agoaldot2007-05-151-3/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18617 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: move testsuite files from hush-bugs to hush-parsingvda2007-05-144-0/+0
| | | | | | | (as these bugs are now fixed) git-svn-id: svn://busybox.net/trunk/busybox@18614 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: more fixes to variable expansion, more testcasesvda2007-05-145-29/+60
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18613 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: move towards more correct variable expansionvda2007-05-145-63/+404
| | | | | | | | hush: fix a few cases in FOR v IN ... construct unfortunately, code growth is big - ~600 bytes git-svn-id: svn://busybox.net/trunk/busybox@18612 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: fix '{ false; echo $?; }' bug.vda2007-05-1313-98/+138
| | | | | | | | hush: expand testsuite. variable expansion is still very broken git-svn-id: svn://busybox.net/trunk/busybox@18611 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: reinstate hush_test, add testcases for process substvda2007-05-117-0/+80
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18609 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: fix bug in interactive shell introduced yesterdayvda2007-05-116-118/+46
| | | | | | | | hush: fix `process subst` (2 bugs) NB: will delete and re-add hush_test in order to change file modes git-svn-id: svn://busybox.net/trunk/busybox@18608 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: fix "unterminated last line loops forever" bugvda2007-05-106-59/+146
| | | | | | | hush: add testsuite infrastructure git-svn-id: svn://busybox.net/trunk/busybox@18606 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: fix recent breakage (VAR=VAL stopped working)vda2007-05-101-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18605 69ca8d6d-28ef-0310-b511-8ec308f3f277
* msh: fix obscure case with backticks and closed fd 1vda2007-05-091-7/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18597 69ca8d6d-28ef-0310-b511-8ec308f3f277
* awk: don't segfault on printf(%*s). Close 1337.vda2007-05-091-1/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18596 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cryptpw: size reductionvda2007-05-091-18/+9
| | | | | | | | | | | function old new delta cryptpw_main 198 140 -58 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-58) Total: -58 bytes git-svn-id: svn://busybox.net/trunk/busybox@18595 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: fix incorrect usage of strtok (inadvertently used NULL sometimes).vda2007-05-091-2/+1
| | | | | | | | the change is "for(xxx)...." -> "if(var) for(xxx)...", but my gcc 4.1.2 adds _158 bytes_!! WTF?? 8( git-svn-id: svn://busybox.net/trunk/busybox@18594 69ca8d6d-28ef-0310-b511-8ec308f3f277
* less: fix case when regex search finds nothingvda2007-05-091-1/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18593 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tftp: explain "block# 0" codepath; report our decision to bail out to servervda2007-05-091-73/+70
| | | | | | | | if blocksize option doesn't look good (it was a FIXME. +33 bytes code); make code more readable. git-svn-id: svn://busybox.net/trunk/busybox@18590 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cryptpw: forgot svn add... how typical of me :(vda2007-05-083-5/+87
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18588 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tftp: code diet, and I think retransmits were broken.vda2007-05-081-209/+159
| | | | | | | | | | | | | | | function old new delta static.errcode_str - 32 +32 tftp_main 359 345 -14 tftp_bb_error_msg 32 - -32 .rodata 130931 130899 -32 tftp 1720 1558 -162 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 0/3 up/down: 32/-240) Total: -208 bytes git-svn-id: svn://busybox.net/trunk/busybox@18587 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cryptpw: new applet (a bit less than 3k added)vda2007-05-089-73/+74
| | | | | | | | (by Thomas Lundquist <lists@zelow.no>) git-svn-id: svn://busybox.net/trunk/busybox@18586 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tail: fix SEGV on "tail -N"vda2007-05-083-17/+37
| | | | | | | | config system: clarify PREFER_APPLETS/SH_STANDALONE effects in help text git-svn-id: svn://busybox.net/trunk/busybox@18585 69ca8d6d-28ef-0310-b511-8ec308f3f277
* kill: improve commentvda2007-05-061-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18568 69ca8d6d-28ef-0310-b511-8ec308f3f277
* kill: fix recent breakage of vda, also make code smaller by 21 bytes.vda2007-05-061-5/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18567 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: fix double-free in "echo TEST &"vda2007-05-062-79/+123
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18566 69ca8d6d-28ef-0310-b511-8ec308f3f277
* svlogd: fix 'SEGV on uninitialized data' and make it honor TERMvda2007-05-061-4/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18562 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: stop generating extra empty pipes in parse stage.vda2007-05-051-13/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: preparatory patch for removing extra empty pipes generationvda2007-05-051-80/+90
| | | | | | | in parse stage. No real code change here. git-svn-id: svn://busybox.net/trunk/busybox@18560 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix -Werror compilevda2007-05-041-1/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18559 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: fix "while true; do true; done" + ctrl-zvda2007-05-042-92/+123
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18558 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applets: fix compile-time warningvda2007-05-042-3/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18557 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: add parse tree debug printvda2007-05-042-5/+66
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18555 69ca8d6d-28ef-0310-b511-8ec308f3f277
* udhcpc: stop deleting our own pidfile if we daemonize.vda2007-05-033-34/+35
| | | | | | | | udhcp[cd]: stop using atexit magic fir pidfile removal. git-svn-id: svn://busybox.net/trunk/busybox@18554 69ca8d6d-28ef-0310-b511-8ec308f3f277
* awk: guard against empty environmentvda2007-05-031-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18552 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: fix "true | exit 3; echo $?" bugvda2007-05-032-46/+105
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18551 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: remove env builtin (it is buggy). Add commentsvda2007-05-021-17/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18548 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix suid config handlingvda2007-05-022-16/+27
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18547 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ifupdown: small optimization (avoid doing useless work if we arevda2007-05-021-10/+10
| | | | | | | not going to update state file) git-svn-id: svn://busybox.net/trunk/busybox@18546 69ca8d6d-28ef-0310-b511-8ec308f3f277
* allow people to stick custom things into Makefile.local so they dont need to ↵vapier2007-05-021-0/+2
| | | | | | update busybox files while integrating into other build systems (like uClinux-dist) git-svn-id: svn://busybox.net/trunk/busybox@18545 69ca8d6d-28ef-0310-b511-8ec308f3f277