Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | general warning cleanupold | Nguyễn Thái Ngọc Duy | 2009-05-10 | 1 | -1/+3 |
| | |||||
* | Config.in: comment out programs/features that will not get supported anytime ↵ | Nguyễn Thái Ngọc Duy | 2009-04-28 | 1 | -2/+8 |
| | | | | soon | ||||
* | shell/ash: redo execcmd() and get rid of shellexec() | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+11 |
| | |||||
* | shell/ash: pass env vars over when forking shell | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+3 |
| | |||||
* | run-command: rework interface to pass program path directly | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -12/+7 |
| | |||||
* | shell/ash: reimplement openhere() | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+43 |
| | |||||
* | shell/ash: reimplement evalpipe() | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+62 |
| | |||||
* | shell/ash: reimplement evalsubshell() | Nguyễn Thái Ngọc Duy | 2009-04-23 | 2 | -3/+23 |
| | |||||
* | shell/ash: reimplement evalbackcmd() and backquote | Nguyễn Thái Ngọc Duy | 2009-04-23 | 2 | -0/+40 |
| | |||||
* | shell/ash: replace updatepwd() | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+89 |
| | |||||
* | shell/ash: replace shellexec() with shellspawn() | Nguyễn Thái Ngọc Duy | 2009-04-23 | 3 | -0/+156 |
| | |||||
* | shell/ash: link forkshell to main program | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+21 |
| | |||||
* | shell/ash: use dup2() where possible, due to copyfd's inefficencies | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -1/+13 |
| | |||||
* | shell/ash: reimplement copy_fd as Windows does not have F_DUPFD | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+17 |
| | | | | | This implementation is quite inefficient. Looking forward to an improvement when we manage file handle table ourselves | ||||
* | shell/ash: search for .exe automatically if .exe is not given | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -1/+21 |
| | |||||
* | shell/ash: stop looking at \r (for CRLF ending) | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+4 |
| | |||||
* | shell/ash: suport /dev/null in redirection | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+24 |
| | |||||
* | shell/ash: teach it to understand semicolon as path separator | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+12 |
| | |||||
* | shell/ash: massive ifdefs to unrelevant remove code | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -3/+104 |
| | | | | | This does not mean that it compiles. But at least it makes later patches easier to see. | ||||
* | shell/ash: add forkshell_* to transfer data via pipe | Nguyễn Thái Ngọc Duy | 2009-04-23 | 2 | -0/+129 |
| | |||||
* | shell/ash: add basic code for transferring internal data | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+783 |
| | | | | | | | Because there is no such thing like fork() on Windows, we somehow need a way to "clone" a shell process. This code streamlines important information that a subshell will need, make it ready for sending to the subshell. | ||||
* | fixes up to 1.6.1 | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+4 |
| | |||||
* | use "glibc errno" trick not only for ash, but for entire busybox | vda | 2007-05-31 | 1 | -11/+0 |
| | | | | | | | | (add/remove: 1/1 grow/shrink: 37/37 up/down: 139/-228) Total: -89 bytes git-svn-id: svn://busybox.net/trunk/busybox@18716 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | hush: trivial buglet found by randomconfig testing | vda | 2007-05-30 | 1 | -0/+2 |
| | | | | git-svn-id: svn://busybox.net/trunk/busybox@18704 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | whitespace fixes | vda | 2007-05-30 | 2 | -8/+8 |
| | | | | git-svn-id: svn://busybox.net/trunk/busybox@18703 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | usage.c: remove reference to busybox.h | vda | 2007-05-26 | 4 | -5/+9 |
| | | | | | | | | *: s/include "busybox.h"/include "libbb.h" git-svn-id: svn://busybox.net/trunk/busybox@18696 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | xpipe: introduce (saves ~170 bytes) | vda | 2007-05-26 | 2 | -6/+3 |
| | | | | | | | | udhcp/signalpipe.c: use pipe instead of socketpair. git-svn-id: svn://busybox.net/trunk/busybox@18695 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | hush: fix 'echo abc`sleep 5`def' + Ctrl-Z and Ctrl-C bugs. +50 bytes of code. | vda | 2007-05-25 | 1 | -6/+18 |
| | | | | git-svn-id: svn://busybox.net/trunk/busybox@18691 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | hush: avoid duplicating HUSH_VERSION | vda | 2007-05-25 | 1 | -15/+16 |
| | | | | git-svn-id: svn://busybox.net/trunk/busybox@18690 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | hush: micro-optimization in new variable code | vda | 2007-05-25 | 1 | -5/+5 |
| | | | | git-svn-id: svn://busybox.net/trunk/busybox@18689 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | hush: we can't do without variable->value member, saving 25 bytes of code | vda | 2007-05-25 | 1 | -42/+38 |
| | | | | | | | and some runtime memory. Rename few variables. git-svn-id: svn://busybox.net/trunk/busybox@18688 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | hush: rework variable storage and environment handling. | vda | 2007-05-25 | 4 | -167/+238 |
| | | | | | | | | | More that -100 bytes of code + memory leak plugged. Added a testcase for it. git-svn-id: svn://busybox.net/trunk/busybox@18687 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | hush: update README with yet another failure case | vda | 2007-05-24 | 1 | -0/+5 |
| | | | | git-svn-id: svn://busybox.net/trunk/busybox@18685 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | hush: fix segfaulting syntax error in interactive hush | vda | 2007-05-24 | 1 | -23/+29 |
| | | | | git-svn-id: svn://busybox.net/trunk/busybox@18684 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | hush: improve 2 testsuite tests | vda | 2007-05-24 | 4 | -2/+17 |
| | | | | git-svn-id: svn://busybox.net/trunk/busybox@18683 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | hush: add 2 tests for correct syntax error reporting | vda | 2007-05-24 | 2 | -0/+2 |
| | | | | git-svn-id: svn://busybox.net/trunk/busybox@18682 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | hush: fix handling of unmatched ${name (without closing '}') - | vda | 2007-05-24 | 1 | -5/+7 |
| | | | | | | | | | | was eating all remaining input, potentially megabytes. nofork: save/restore die_jmp too nofork: use -2222 instead of -111 as "special" return valur for zero (-111 is used by some applets. -2222 won't fit in exitcode and thus safer) git-svn-id: svn://busybox.net/trunk/busybox@18680 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | hush: make syntax error messages a bit more useful | vda | 2007-05-23 | 3 | -29/+37 |
| | | | | git-svn-id: svn://busybox.net/trunk/busybox@18674 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | hush: prepare testsuite for new, fixed error message format | vda | 2007-05-23 | 1 | -1/+1 |
| | | | | git-svn-id: svn://busybox.net/trunk/busybox@18673 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | hush: fix job control with eval /bin/external_prog | vda | 2007-05-23 | 3 | -92/+96 |
| | | | | | | | | | hush: fix parsing of unterminated "str with no EOL hush: improved make_string() (smaller, faster, needs less RAM) hush: renamed several functions git-svn-id: svn://busybox.net/trunk/busybox@18672 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | hush: fix a bit different instance of "No EOL" bug, | vda | 2007-05-23 | 5 | -40/+57 |
| | | | | | | | add testsuite for that. Expand another testsuite. git-svn-id: svn://busybox.net/trunk/busybox@18671 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | fix execute bit on hush-misc/shift.tests | vda | 2007-05-23 | 1 | -0/+0 |
| | | | | git-svn-id: svn://busybox.net/trunk/busybox@18670 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | hush: add 3 CONFIG_xxx, allowing for smaller and less capable hush. | vda | 2007-05-21 | 2 | -38/+109 |
| | | | | | | | Minimal hush is ~9k now (lash is ~7k). git-svn-id: svn://busybox.net/trunk/busybox@18663 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | shells: update README and testsuite. environment memory leak | vda | 2007-05-21 | 3 | -1/+17 |
| | | | | | | | needs to be fixed - and documented! git-svn-id: svn://busybox.net/trunk/busybox@18662 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | hush: using smallints where we can. save ~20 bytes in code and | vda | 2007-05-21 | 1 | -47/+50 |
| | | | | | | | some data storage at runtime. git-svn-id: svn://busybox.net/trunk/busybox@18661 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | hush: fix shift + $0 bug; add testcase | vda | 2007-05-20 | 3 | -1/+9 |
| | | | | git-svn-id: svn://busybox.net/trunk/busybox@18660 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | hush: trivial size optimization | vda | 2007-05-20 | 1 | -5/+6 |
| | | | | git-svn-id: svn://busybox.net/trunk/busybox@18659 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | hush: make process substitution configurable; add a testcase | vda | 2007-05-20 | 4 | -1/+22 |
| | | | | git-svn-id: svn://busybox.net/trunk/busybox@18658 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | ash: implement type -p, costs less than 10 bytes | vda | 2007-05-20 | 1 | -16/+11 |
| | | | | | | | (patch by Mats Erik Andersson <mats.andersson64@comhem.se>) git-svn-id: svn://busybox.net/trunk/busybox@18654 69ca8d6d-28ef-0310-b511-8ec308f3f277 | ||||
* | cttyhack: new applet. | vda | 2007-05-18 | 3 | -0/+95 |
| | | | | git-svn-id: svn://busybox.net/trunk/busybox@18649 69ca8d6d-28ef-0310-b511-8ec308f3f277 |