aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* win32: re-enable xconnect.cNguyễn Thái Ngọc Duy2010-09-203-3/+14
|
* win32: reimplement connect()Nguyễn Thái Ngọc Duy2010-09-202-0/+9
| | | | | | connect() now returns a socket handle, i.e. a HANDLE. This kind of handle works with read()/write(). But on the other hand, FILE* functions are dead because they are not crt file handles??
* win32: reimplement socket()Nguyễn Thái Ngọc Duy2010-09-202-1/+32
|
* win32: add init_winsock()Nguyễn Thái Ngọc Duy2010-09-202-0/+10
| | | | | All network applets must call this function before using any winsock functions.
* win32: implement inet_aton()Nguyễn Thái Ngọc Duy2010-09-203-0/+13
|
* win32: Makefile: support building with network supportNguyễn Thái Ngọc Duy2010-09-151-0/+3
|
* win32: Config.in: WIN32_NETNguyễn Thái Ngọc Duy2010-09-141-0/+5
|
* defconfig.mingw32: update to latest origin/masterNguyễn Thái Ngọc Duy2010-09-141-46/+87
| | | | base64 is also enabled
* win32: implement clearenv()Nguyễn Thái Ngọc Duy2010-09-141-1/+10
|
* Merge remote branch 'origin/master'Nguyễn Thái Ngọc Duy2010-09-1465-3487/+4215
|\
| * hush: optional support for history savingDenys Vlasenko2010-09-122-2/+22
| | | | | | | | | | | | | | function old new delta hush_main 945 995 +50 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * smemcap: use correct tar magicDenys Vlasenko2010-09-121-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * *: s/perror/bb_simple_perror_msg/gMarek Polacek2010-09-122-6/+6
| | | | | | | | | | | | | | | | | | | | | | function old new delta readLines 448 446 -2 doCommands 2449 2438 -11 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-13) Total: -13 bytes Signed-off-by: Marek Polacek <mmpolacek@gmail.com> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * Fixed a couple of failing tar testsDan Fandrich2010-09-121-4/+5
| | | | | | | | | | | | | | | | | | The tar symlinks mode test is fixed similarly to the hardlinks test in 0d7cb4cc, and the read-only test is skipped by SKIP_KNOWN_BUGS. Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * busybox: add "busybox --list[-full]" to help textDenys Vlasenko2010-09-121-0/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * hush: move the EXIT trap comment. no code changesDenys Vlasenko2010-09-121-2/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * hush: fix EXIT trap display inside exit trap handlerDenys Vlasenko2010-09-123-4/+45
| | | | | | | | | | | | | | function old new delta hush_exit 84 78 -6 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * shell/match.c: shrink by dropping double bool inversionDenys Vlasenko2010-09-121-6/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * hush: fix handling of \" in quoted/unquoted `cmd`Denys Vlasenko2010-09-125-22/+50
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * ash: shrink by folding an if check into setprompt; unindent big blockDenys Vlasenko2010-09-121-166/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta setprompt_if - 66 +66 parseheredoc 126 124 -2 parsecmd 68 66 -2 redirect 1254 1249 -5 xxreadtoken 351 343 -8 readtoken1 3219 3204 -15 setprompt 62 - -62 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 0/5 up/down: 66/-94) Total: -28 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * ash: add missing casts to match CTLfoo; add TODO commentsDenys Vlasenko2010-09-121-8/+12
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * hush: remove forgotten commented-out block. no code changesDenys Vlasenko2010-09-101-4/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * hush: do fewer strdups in % and hash expansionsDenys Vlasenko2010-09-103-13/+30
| | | | | | | | | | | | | | | | function old new delta builtin_umask 133 132 -1 expand_one_var 1552 1543 -9 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * hush: better function and parameter namesDenys Vlasenko2010-09-101-20/+55
| | | | | | | | | | | | | | Also, trim code which isn't needed for non-bash compat. No logic changes. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * hush: fixes to testsuiteDenys Vlasenko2010-09-102-6/+8
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * hush: fix var_bash5.tests failureDenys Vlasenko2010-09-103-26/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta expand_one_var 1513 1552 +39 expand_pseudo_dquoted 118 135 +17 expand_string_to_string 110 126 +16 setup_heredoc 298 308 +10 expand_and_evaluate_arith 69 79 +10 parse_stream_dquoted 233 241 +8 setup_redirects 220 225 +5 run_list 956 961 +5 expand_assignments 76 81 +5 run_pipe 1587 1590 +3 parse_stream 2371 2374 +3 builtin_umask 132 133 +1 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 12/0 up/down: 122/0) Total: 122 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * hush: fix var_bash3.tests failureDenys Vlasenko2010-09-101-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta expand_one_var 1513 1538 +25 parse_stream_dquoted 233 241 +8 expand_pseudo_dquoted 118 126 +8 setup_heredoc 298 303 +5 expand_and_evaluate_arith 69 74 +5 parse_stream 2371 2374 +3 builtin_umask 132 133 +1 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 7/0 up/down: 55/0) Total: 55 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * hush: remove useless ESC_GLOB_CHARS clears/resotresDenys Vlasenko2010-09-101-15/+4
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta o_addQstr 43 165 +122 expand_on_ifs 210 189 -21 expand_vars_to_list 1122 1094 -28 o_addqblock 139 - -139 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/2 up/down: 122/-188) Total: -66 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * hush: fix a bug where expand_one_var wasn't restoring 1st char of the ↵Denys Vlasenko2010-09-091-17/+27
| | | | | | | | | | | | | | | | | | | | encoded $var function old new delta expand_one_var 1515 1513 -2 expand_vars_to_list 1133 1122 -11 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * hush: make parse_dollar flag quited status regardless of glob escaping statusDenys Vlasenko2010-09-093-21/+22
| | | | | | | | | | | | | | | | | | | | | | function old new delta parse_stream_dquoted 228 233 +5 parse_stream 2369 2371 +2 parse_dollar 730 717 -13 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 7/-13) Total: -6 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * hush: simplification in parse_stream, parse_stream_dquotedDenys Vlasenko2010-09-091-14/+14
| | | | | | | | | | | | | | | | function old new delta parse_stream 2354 2369 +15 parse_stream_dquoted 250 228 -22 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * hush: simplify parse_stream_dquotedDenys Vlasenko2010-09-091-16/+6
| | | | | | | | | | | | | | function old new delta parse_stream_dquoted 303 250 -53 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * hush: straighten out the logic in parse_streamDenys Vlasenko2010-09-091-17/+10
| | | | | | | | | | | | | | function old new delta parse_stream 2399 2354 -45 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * Avoid side effects in putc(), which may be implemented as a macroDan Fandrich2010-09-093-8/+12
| | | | | | | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * hush: eliminate redundant parameter of expand_vars_to_list()Denys Vlasenko2010-09-081-10/+12
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * hush: replace flag bytes in struct o_string with bit flagsDenys Vlasenko2010-09-081-36/+40
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * hush: remove unused enum typedefDenys Vlasenko2010-09-081-3/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * hush: fix set -- q w e; (IFS='' echo "$*"; IFS=''; echo "$*"); echo "$*"Denys Vlasenko2010-09-081-26/+39
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * nc: show help text on bad parametersDenys Vlasenko2010-09-071-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * lineedit: do not hang on error, but return error indicator.Denys Vlasenko2010-09-071-6/+6
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * shell: unify endofname() in hush and ashDenys Vlasenko2010-09-074-43/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta builtin_umask 132 133 +1 changepath 195 194 -1 expand_and_evaluate_arith 77 69 -8 ash_arith 143 135 -8 expand_one_var 1551 1515 -36 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/4 up/down: 1/-53) Total: -52 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * hush: a few relatively trivial simplificationsDenys Vlasenko2010-09-071-58/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta helper_export_local 130 135 +5 set_vars_and_save_old 89 85 -4 expand_variables 147 141 -6 get_ptr_to_local_var 77 70 -7 get_local_var_value 171 164 -7 delete_finished_bg_job 31 16 -15 hush_exit 101 84 -17 free_pipe_list 31 12 -19 check_and_run_traps 232 205 -27 free_pipe 205 130 -75 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/9 up/down: 5/-177) Total: -172 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * hush: style cleanups. no code changesDenys Vlasenko2010-09-071-18/+16
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * Again fix license line formatDenys Vlasenko2010-09-061-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * blockdev: code shrinkDenys Vlasenko2010-09-061-22/+34
| | | | | | | | | | | | | | function old new delta blockdev_main 292 255 -37 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * blockdev: make "blockdev --rereadpt /dev/sda EXTRA_ARG" complain. +6 bytes.Denys Vlasenko2010-09-061-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * made 3 license strings to follow the usual form ("or later" bit is not changed!)Denys Vlasenko2010-09-063-3/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * blockdev: -2 bytesDenys Vlasenko2010-09-061-6/+9
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * tweak blockdev's help textDenys Vlasenko2010-09-061-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * tweak udhcpd help textDenys Vlasenko2010-09-061-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>