Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Bettwr document the hidden internal sh.c #defines, and which folks | Eric Andersen | 2000-12-06 | 1 | -2/+10 | |
| | | | | might want to use... | |||||
* | patch from Larry Doolittle to rename BB_FEATURE_SH_BUILTINS_ALWAYS_WIN | Eric Andersen | 2000-12-06 | 1 | -2/+2 | |
| | | | | to the more pedantically correct BB_FEATURE_SH_APPLETS_ALWAYS_WIN. | |||||
* | Remove #ifdef __STDC__ junk. We don't do K&R round these parts, | Eric Andersen | 2000-12-01 | 1 | -14/+2 | |
| | | | | so no point acting like we do. | |||||
* | Stop using TRUE and FALSE for exit status. | Matt Kraai | 2000-12-01 | 2 | -22/+22 | |
| | ||||||
* | Apply some patches from Gennady Feldman <gfeldman@mail.com> to | Eric Andersen | 2000-11-30 | 1 | -39/+65 | |
| | | | | | . /etc/profile, and to emulate bash prompt. I've cleaned up his patches a bit and all looks good now... | |||||
* | Patch from Larry Doolittle (with minor touchups from me so everything compiles | Eric Andersen | 2000-11-30 | 1 | -0/+1 | |
| | | | | | and works) to use the applet definitions in applets.h to autogenerate the applet function and usage prototypes. | |||||
* | Fix escape char problem. | Eric Andersen | 2000-11-30 | 1 | -4/+13 | |
| | ||||||
* | "I will always compile before I commit." | Eric Andersen | 2000-11-17 | 1 | -1/+1 | |
| | | | | | | "I will always compile before I commit." "I will always compile before I commit." -Erik | |||||
* | Fix up builtin overrides, and hack in the binary search for finding | Eric Andersen | 2000-11-17 | 1 | -28/+32 | |
| | | | | matching applets into the shell. | |||||
* | Add in a new FEATURE (off by default) BB_FEATURE_SH_BUILTINS_ALWAYS_WIN. | Eric Andersen | 2000-11-17 | 1 | -1/+18 | |
| | | | | Make the sh default to using external commands when a path is provided. | |||||
* | Patch from Gennady Feldman <gfeldman@tradeline.net> to: | Eric Andersen | 2000-11-14 | 1 | -23/+34 | |
| | | | | | | 1. Opens redirections w/ the right access. 2. Doesn't do globbing for every single parameter (so it doesn't stat every parameter). | |||||
* | Cleanup of duplicated symbols -- found by compiling with | Eric Andersen | 2000-11-07 | 1 | -1/+1 | |
| | | | | LDFLAGS += -Wl,-warn-common | |||||
* | Warning cleanup from Gennady Feldman | Eric Andersen | 2000-11-02 | 1 | -9/+10 | |
| | | | | -Erik | |||||
* | Consolidate handling of some fopen failures. | Matt Kraai | 2000-09-27 | 1 | -4/+1 | |
| | ||||||
* | Renamed "internal.h" to the more sensible "busybox.h". | Eric Andersen | 2000-09-25 | 2 | -2/+2 | |
| | | | | -Erik | |||||
* | Add in exec support (patch from Torbj?rn Axelsson <torax@cendio.se>) | Eric Andersen | 2000-09-21 | 1 | -1/+16 | |
| | | | | | and disable backticks (since they are still wierdly broken in some cases. | |||||
* | I think these featires are fairly safe... | Eric Andersen | 2000-09-19 | 1 | -2/+2 | |
| | | | | -Erik | |||||
* | Avoid segfaults by not using snprintf to copy strings. | Matt Kraai | 2000-09-19 | 1 | -1/+2 | |
| | ||||||
* | "exit NUMBER" should exit, not return | Pavel Roskin | 2000-09-15 | 1 | -1/+1 | |
| | ||||||
* | Backslashes shouldn't be treated as backticks. | Matt Kraai | 2000-09-14 | 1 | -10/+11 | |
| | ||||||
* | Copy the string terminator. | Matt Kraai | 2000-09-14 | 1 | -1/+1 | |
| | ||||||
* | Don't fork for the . (source) command so that environment settings are | Matt Kraai | 2000-09-13 | 1 | -1/+2 | |
| | | | | preserved. | |||||
* | Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead of | Matt Kraai | 2000-09-13 | 1 | -7/+7 | |
| | | | | segfaulting or handling errors the same way themselves. | |||||
* | Fix unchecked calls to {m,c,re}alloc so that they print an error and | Matt Kraai | 2000-09-13 | 1 | -16/+15 | |
| | | | | exit rather than segfaulting (what an improvement). | |||||
* | Reset optind so that getopt works in busybox applets called directly by sh. | Matt Kraai | 2000-09-06 | 1 | -17/+7 | |
| | | | | Change the behavior of -c to correctly handle $1..$9. | |||||
* | Turn off some debug noise. | Eric Andersen | 2000-08-21 | 1 | -2/+2 | |
| | | | | -Erik | |||||
* | Clean up the nasty blunder I'd made of how different behaviors happen. | Eric Andersen | 2000-07-28 | 1 | -14/+16 | |
| | | | | -Erik | |||||
* | Oops. Forgot an ifdef | Eric Andersen | 2000-07-28 | 1 | -0/+2 | |
| | | | | -Erik | |||||
* | More sh updates (with related changes to everything else). Switched | Eric Andersen | 2000-07-28 | 3 | -62/+143 | |
| | | | | | | to using getopt and cleaned up the resulting mess. if-then-else-fi is now basically working (given a bunch of constraints). -Erik | |||||
* | More shell features.... if-then-else-fi is now basically usable (disable | Eric Andersen | 2000-07-27 | 1 | -113/+239 | |
| | | | | | | by default pending further debugging). Added in some basic shell environment support (i.e. $?, $0-$9, $$, $!, $#). -Erik | |||||
* | Minor style cleanups. | Eric Andersen | 2000-07-26 | 1 | -8/+9 | |
| | ||||||
* | Finish off fixing up the memleaks (I think). Added the beginnings of | Eric Andersen | 2000-07-25 | 1 | -38/+123 | |
| | | | | | some if-then-else-fi support (nonfunctional and turned off) -Erik | |||||
* | Use BB_FEATURE_CLEAN_UP where appropriate | Eric Andersen | 2000-07-25 | 1 | -0/+12 | |
| | | | | -Erik | |||||
* | Avoid trying to free NULL ptrs. Comment on malloc usages. | Eric Andersen | 2000-07-19 | 1 | -4/+6 | |
| | | | | -Erik | |||||
* | Sigh -- can't sleep. Clean up some mem leaks, fixed some bugs. | Eric Andersen | 2000-07-18 | 1 | -39/+43 | |
| | | | | -Erik | |||||
* | New message added to messages.c: full_version | Pavel Roskin | 2000-07-17 | 1 | -1/+5 | |
| | | | | Used where possible | |||||
* | Backtick support to infinite (memory limited) levels of nesting is | Eric Andersen | 2000-07-17 | 1 | -30/+85 | |
| | | | | | | | | | | | | now implemented... So now busybox shell can do cool stuff like: /home/andersen/CVS/busybox # echo foo `wc README` bar foo 71 422 2951 README bar I love writing cool new features.... Muhahahaha... (I think this is leaking a little bit of memory every time it expands a backtick process, so I still needs to do a bit of cleanup...) -Erik | |||||
* | Extract usage information into a separate file. | Matt Kraai | 2000-07-16 | 1 | -8/+0 | |
| | ||||||
* | More cleanups. | Eric Andersen | 2000-07-14 | 1 | -3/+3 | |
| | | | | -Erik | |||||
* | Use errorMsg rather than fprintf. | Matt Kraai | 2000-07-14 | 1 | -10/+10 | |
| | ||||||
* | Fix some stupid memory bugs. | Eric Andersen | 2000-07-14 | 1 | -2/+1 | |
| | | | | -Erik | |||||
* | Add in redimentary backtick suport (doesn't work properly yet, but is | Eric Andersen | 2000-07-14 | 1 | -40/+73 | |
| | | | | | close). -Erik | |||||
* | Added a smallish TODO comment. | Mark Whitley | 2000-07-13 | 1 | -0/+5 | |
| | ||||||
* | Added some smallish comments to help folks understand why we have two tables | Mark Whitley | 2000-07-12 | 1 | -2/+5 | |
| | | | | of builtins and the reasoning behind it. | |||||
* | Always report the applet name when doing error reporting. | Matt Kraai | 2000-07-12 | 1 | -5/+5 | |
| | ||||||
* | Function name cleanup. | Eric Andersen | 2000-07-10 | 1 | -41/+45 | |
| | | | | -Erik | |||||
* | Naming fix | Eric Andersen | 2000-07-07 | 1 | -3/+3 | |
| | | | | -Erik | |||||
* | Had an extra tcsetpgrp. | Eric Andersen | 2000-07-06 | 1 | -4/+0 | |
| | | | | -Erik | |||||
* | Fixed a potential infinite loop. First delete any chars after the | Eric Andersen | 2000-07-04 | 1 | -1/+10 | |
| | | | | | | | cursor, then delete everything before it. Before this, we would just delete everything before the cursor and freak out if there were still chars left (i.e. stuff after the cursor). -Erik | |||||
* | sh fixes from Marius Groeger <mag@sysgo.de> | Eric Andersen | 2000-07-03 | 1 | -12/+67 | |
| | | | | -Erik |