Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-01-05 | Patch from larry doolittle to be ever so careful to cleanup | Eric Andersen | |
all open file descriptors, lest wierdness happen later. | |||
2001-01-05 | Better label the globals. | Eric Andersen | |
2001-01-05 | Patch from Larry Doolittle to set values to static variables that live in the | Eric Andersen | |
bss at runtime, since sh.c can call sh.c, which causes these variables to not be set to their defaults as god intended. -Erik | |||
2001-01-05 | Fix a segfault by only constructing the prompt when we need to. If we don't | Matt Kraai | |
do this we will segfault processing /etc/.profile since cwd isn't yet set. | |||
2001-01-04 | Move window size handling to cmdedit.c. Move prompt setup to ↵ | Eric Andersen | |
setup_prompt_string() | |||
2000-12-22 | Cleanup from Gennady Feldman <gfeldman@mail.com> | Eric Andersen | |
2000-12-22 | Use busybox error handling functions wherever possible. | Matt Kraai | |
2000-12-21 | Another sh.c patch from Larry Doolittle. This makes redirects work properly | Eric Andersen | |
with non-forking shell builtins. Especially helpful for "read". This patch also beautifies builtin_fg_bg, clarifies the problems with run_command_predicate, makes if/then/else support the default, and corrects the sense of the BB_FEATURE_SH_ENVIRONMENT comment. | |||
2000-12-20 | Fix a warning in sh.c. Remove use of getline() in md5sum since | Eric Andersen | |
nobody else uses it and it is a GNU extension anyways... | |||
2000-12-18 | Ok, this is a pretty major update to sh.c. I renamed all the variables and | Eric Andersen | |
function names to conform with the style guide. I also did a lot of work on the if-then-alse-fi logic and added prototype (i.e. it segfaults when enabled) line continuation support. Furthermore, this patch includes Larry Doolittle's work on restructuring some of the data structures that represent the job and child_program, allowing several simplifications and fixing several bugs. -Erik | |||
2000-12-12 | Mem leak fix from Matt Kraai | Eric Andersen | |
2000-12-11 | Patch from Matt Kraai to fox sh.c escape problem such that | Eric Andersen | |
running things like 'echo "\n\tHi\n\t\!"' and 'echo -e "\n\tHi\n\t\!"' behave as under bash. | |||
2000-12-08 | Put in i to getopt, so i will work... | Eric Andersen | |
2000-12-07 | Changed names of functions in utility.c and all affected files, to make | Mark Whitley | |
compliant with the style guide. Everybody rebuild your tags file! | |||
2000-12-06 | Bettwr document the hidden internal sh.c #defines, and which folks | Eric Andersen | |
might want to use... | |||
2000-12-06 | patch from Larry Doolittle to rename BB_FEATURE_SH_BUILTINS_ALWAYS_WIN | Eric Andersen | |
to the more pedantically correct BB_FEATURE_SH_APPLETS_ALWAYS_WIN. | |||
2000-12-01 | Stop using TRUE and FALSE for exit status. | Matt Kraai | |
2000-11-30 | Apply some patches from Gennady Feldman <gfeldman@mail.com> to | Eric Andersen | |
. /etc/profile, and to emulate bash prompt. I've cleaned up his patches a bit and all looks good now... | |||
2000-11-30 | Patch from Larry Doolittle (with minor touchups from me so everything compiles | Eric Andersen | |
and works) to use the applet definitions in applets.h to autogenerate the applet function and usage prototypes. | |||
2000-11-30 | Fix escape char problem. | Eric Andersen | |
2000-11-17 | "I will always compile before I commit." | Eric Andersen | |
"I will always compile before I commit." "I will always compile before I commit." -Erik | |||
2000-11-17 | Fix up builtin overrides, and hack in the binary search for finding | Eric Andersen | |
matching applets into the shell. | |||
2000-11-17 | Add in a new FEATURE (off by default) BB_FEATURE_SH_BUILTINS_ALWAYS_WIN. | Eric Andersen | |
Make the sh default to using external commands when a path is provided. | |||
2000-11-14 | Patch from Gennady Feldman <gfeldman@tradeline.net> to: | Eric Andersen | |
1. Opens redirections w/ the right access. 2. Doesn't do globbing for every single parameter (so it doesn't stat every parameter). | |||
2000-09-27 | Consolidate handling of some fopen failures. | Matt Kraai | |
2000-09-25 | Renamed "internal.h" to the more sensible "busybox.h". | Eric Andersen | |
-Erik | |||
2000-09-21 | Add in exec support (patch from Torbj?rn Axelsson <torax@cendio.se>) | Eric Andersen | |
and disable backticks (since they are still wierdly broken in some cases. | |||
2000-09-19 | I think these featires are fairly safe... | Eric Andersen | |
-Erik | |||
2000-09-19 | Avoid segfaults by not using snprintf to copy strings. | Matt Kraai | |
2000-09-15 | "exit NUMBER" should exit, not return | Pavel Roskin | |
2000-09-14 | Backslashes shouldn't be treated as backticks. | Matt Kraai | |
2000-09-14 | Copy the string terminator. | Matt Kraai | |
2000-09-13 | Don't fork for the . (source) command so that environment settings are | Matt Kraai | |
preserved. | |||
2000-09-13 | Fix unchecked calls to {m,c,re}alloc so that they print an error and | Matt Kraai | |
exit rather than segfaulting (what an improvement). | |||
2000-09-06 | Reset optind so that getopt works in busybox applets called directly by sh. | Matt Kraai | |
Change the behavior of -c to correctly handle $1..$9. | |||
2000-08-21 | Turn off some debug noise. | Eric Andersen | |
-Erik | |||
2000-07-28 | Clean up the nasty blunder I'd made of how different behaviors happen. | Eric Andersen | |
-Erik | |||
2000-07-28 | Oops. Forgot an ifdef | Eric Andersen | |
-Erik | |||
2000-07-28 | More sh updates (with related changes to everything else). Switched | Eric Andersen | |
to using getopt and cleaned up the resulting mess. if-then-else-fi is now basically working (given a bunch of constraints). -Erik | |||
2000-07-27 | More shell features.... if-then-else-fi is now basically usable (disable | Eric Andersen | |
by default pending further debugging). Added in some basic shell environment support (i.e. $?, $0-$9, $$, $!, $#). -Erik | |||
2000-07-26 | Minor style cleanups. | Eric Andersen | |
2000-07-25 | Finish off fixing up the memleaks (I think). Added the beginnings of | Eric Andersen | |
some if-then-else-fi support (nonfunctional and turned off) -Erik | |||
2000-07-18 | Sigh -- can't sleep. Clean up some mem leaks, fixed some bugs. | Eric Andersen | |
-Erik | |||
2000-07-17 | New message added to messages.c: full_version | Pavel Roskin | |
Used where possible | |||
2000-07-17 | Backtick support to infinite (memory limited) levels of nesting is | Eric Andersen | |
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 | |||
2000-07-16 | Extract usage information into a separate file. | Matt Kraai | |
2000-07-14 | More cleanups. | Eric Andersen | |
-Erik | |||
2000-07-14 | Use errorMsg rather than fprintf. | Matt Kraai | |
2000-07-14 | Add in redimentary backtick suport (doesn't work properly yet, but is | Eric Andersen | |
close). -Erik | |||
2000-07-12 | Added some smallish comments to help folks understand why we have two tables | Mark Whitley | |
of builtins and the reasoning behind it. |