Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-03-09 | Fix sh.c for the glab case. I was messing things up for | Eric Andersen | |
single argument commands. It should now work as expected... -Erik | |||
2001-03-09 | A '.' is a legal seperator. | Eric Andersen | |
2001-03-09 | Cleanup patch from Larry | Eric Andersen | |
2001-03-08 | Add in 'trim' routine. Fix up sh.c so it works when wordexp | Eric Andersen | |
is not available. -Erik | |||
2001-03-08 | Remember to delete un-expandable variables, and do a better job of expanding | Eric Andersen | |
shell-specific things in case the wordexp implementation is broken (ie. the stubbed out wordexp in uClibc). -Erik | |||
2001-03-08 | Rework environment variable handling to use wordexp, per a suggestion from | Eric Andersen | |
Larry Doolittle a couple of months ago. This makes the stuff-expansion in lash be ever so standards compliant. This change needs testing by everyone, but appears to be solid enough to let us close bug #1090. It works for me; however, please test this change! -Erik | |||
2001-03-07 | remove an unused variable | Eric Andersen | |
2001-03-06 | Fix the memory leak. No really this time. | Eric Andersen | |
-Erik | |||
2001-03-06 | Fix func prototype | Eric Andersen | |
2001-03-06 | Fixed a memory leak in lash. It seems that close_all was calling close() | Eric Andersen | |
directly instead of calling mark_closed(), which allowed the memory allocated by mark_open() to never be freed. -Erik | |||
2001-03-06 | Close open files before calling builtin_exec(). I've tested this | Eric Andersen | |
and it fixes bug #1121. -Erik | |||
2001-02-20 | This fixes lash so it handles environment variable expansion, regardless | Eric Andersen | |
of where the environment variables are located in an argument. This allows things like 'echo foo$1$SHELL' to expand the same way bash would expand it. Of course, to make this work I introduced a memory leak, and I am too tired to find a way to fix it. -Erik | |||
2001-02-16 | Commit Vladimir's latest cmdedit. I modified it slightly to ensure | Eric Andersen | |
parse_prompt() would be called before cmdedit_init(), since cmdedit_init() calls cmdedit_setwidth() which uses cmdedit_prmt_len, which is set by parse_prompt(). Also, added a mod, so very narrow terminals should now wrap properly... This is working very nicely for me -- Vladimir has done some very good work. | |||
2001-02-14 | This patch, put together by Manuel Novoa III, is a merge of work | Eric Andersen | |
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed. | |||
2001-02-01 | Apply a patch from Larry Doolittle to add "-all" and "-none" switches | Eric Andersen | |
to multibuild.pl. I did a little formatting adjustments to make it _very_ obvious when things stop working. I also removed the USE_PROCFS config option -- just do the right thing when USE_DEVPS_PATCH is enabled. -Erik | |||
2001-02-01 | Create find_applet_by_name function. Save 32 bytes. | Matt Kraai | |
2001-01-31 | Removed trailing \n from error_msg{,_and_die} messages. | Matt Kraai | |
2001-01-30 | Patch from Bryan Rittmeyer -- be more conservative by default | Eric Andersen | |
with the lash prompt. -Erik | |||
2001-01-27 | Fix up copyright msgs. Bump version to 0.49 in preparation for | Eric Andersen | |
a release. Update the website with release details. -Erik | |||
2001-01-26 | Fixed a li'l thinko. | Mark Whitley | |
2001-01-23 | #define -> static const int. Also got rid of some big static buffers. | Mark Whitley | |
2001-01-23 | Bug fix. | Eric Andersen | |
2001-01-20 | More printf cleanups | Eric Andersen | |
2001-01-05 | Needs to be NULL at init in all cases. | Eric Andersen | |
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 |