Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Apply Vladimir's latest cleanup patch. | Eric Andersen | 2001-04-09 | 1 | -22/+15 |
| | | | | -Erik | ||||
* | Avoid segfault when export is invoked with no arguments. Thanks to | Matt Kraai | 2001-04-04 | 1 | -0/+1 |
| | | | | Gennady Feldman. | ||||
* | Add in a new standalone env applet for fixing up app's environments | Eric Andersen | 2001-03-29 | 1 | -16/+5 |
| | | | | -Erik | ||||
* | Fix to last patch: locale code should be 9, not 7. | Mark Whitley | 2001-03-27 | 1 | -1/+1 |
| | |||||
* | Applied patch from Vladimir N. Oleynik to add locale support to the shell per | Mark Whitley | 2001-03-27 | 1 | -0/+6 |
| | | | | bug report from Ralph Jones. | ||||
* | -Wshadow sh fix from Jeff Garzik | Eric Andersen | 2001-03-23 | 1 | -2/+2 |
| | |||||
* | A nice patch from Larry Doolittle that adds -Wshadow and | Eric Andersen | 2001-03-21 | 1 | -35/+35 |
| | | | | cleans up most of the now-revealed problems. | ||||
* | Patch from Larry and Vladimir to clean up sh.c and fix | Eric Andersen | 2001-03-17 | 1 | -18/+12 |
| | | | | shell expansion to work in non POSIX locales. | ||||
* | Fix from Larry for glob problems. | Eric Andersen | 2001-03-15 | 1 | -1/+5 |
| | | | | -Erik | ||||
* | Reversed previous patch. The right way is to fix uClibc. | Mark Whitley | 2001-03-15 | 1 | -5/+0 |
| | |||||
* | Applied patch from Andreas Neuhaus to fix namespace conflict that made busybox | Mark Whitley | 2001-03-15 | 1 | -0/+5 |
| | | | | not compile with uClibc. | ||||
* | Yesterday I make strsep_space include post-token whitespace, | Eric Andersen | 2001-03-14 | 1 | -2/+1 |
| | | | | | so we should not be adding another " " between tokens. -Erik | ||||
* | I forgot to malloc space for the NULL. | Eric Andersen | 2001-03-14 | 1 | -1/+1 |
| | | | | -Erik | ||||
* | Applied patch from Larry Doolittle to fix '>\na\n' bug. Should close bug #1132 | Mark Whitley | 2001-03-14 | 1 | -3/+8 |
| | |||||
* | libc5 glob is pretty stupid and doesn't do GLOB_BRACE or GLOB_TILDE | Eric Andersen | 2001-03-14 | 1 | -1/+8 |
| | | | | -Erik | ||||
* | - Changed name of BB_FEATURE_SIMPLE_PROMPT to BB_FEATURE_SH_SIMPLE_PROMPT | Mark Whitley | 2001-03-14 | 1 | -3/+3 |
| | | | | | | | | | | | - Set BB_FEATURE_SH_STANDALONE_SHELL and BB_FEATURE_SH_APPLETS_ALWAYS_WIN to be off by default - Set BB_FEATURE_SH_SIMPLE_PROMPT to be on by default - Added some more magic to the Olympus section to make all the dependencies on the shell, cmdline editing, tab completion and friend work properly. - Tidied up the Olympus section with some whitespace. Checked the various scrips that parse through there and the extra whitespace shouldn't break anything. | ||||
* | Update the lash shell (hopefully the last time...) so things like | Eric Andersen | 2001-03-13 | 1 | -64/+116 |
| | | | | | | echo "foo bar" and echo -n "foo\t\\\\\tbar" work as expected. Merge prompt printing work from Vladimir. -Erik | ||||
* | A fix from Larry Doolittle for some nasty segfaults when sh.c tried to free a | Eric Andersen | 2001-03-12 | 1 | -3/+3 |
| | | | | | | corrupted cmd pointer, and where it would truncate a command line at the first double space. -Erik | ||||
* | When using wordexp, only try to use the expand command | Eric Andersen | 2001-03-10 | 1 | -12/+14 |
| | | | | | when something actually got expanded. Skip it otherwise. -Erik | ||||
* | Fixed a couple more cases. $FOO/bar ${FOO} and such now work | Eric Andersen | 2001-03-09 | 1 | -4/+14 |
| | | | | | | without wordexp. Of course for stuff like ${1:-foo} you still need wordexp for them to work. -Erik | ||||
* | Allow wordexp to be used if available | Eric Andersen | 2001-03-09 | 1 | -2/+2 |
| | |||||
* | Urg. Remove the debug noise | Eric Andersen | 2001-03-09 | 1 | -1/+0 |
| | |||||
* | Ok, sh.c should be working now. Many thanks to Larry Doolittle | Eric Andersen | 2001-03-09 | 1 | -85/+83 |
| | | | | | | for his timely help -- nearly all of the work in this patch is his. -Erik | ||||
* | Fix sh.c for the glab case. I was messing things up for | Eric Andersen | 2001-03-09 | 1 | -5/+6 |
| | | | | | single argument commands. It should now work as expected... -Erik | ||||
* | A '.' is a legal seperator. | Eric Andersen | 2001-03-09 | 1 | -2/+2 |
| | |||||
* | Cleanup patch from Larry | Eric Andersen | 2001-03-09 | 1 | -2/+5 |
| | |||||
* | Add in 'trim' routine. Fix up sh.c so it works when wordexp | Eric Andersen | 2001-03-08 | 1 | -11/+85 |
| | | | | | is not available. -Erik | ||||
* | Remember to delete un-expandable variables, and do a better job of expanding | Eric Andersen | 2001-03-08 | 1 | -6/+28 |
| | | | | | | shell-specific things in case the wordexp implementation is broken (ie. the stubbed out wordexp in uClibc). -Erik | ||||
* | Rework environment variable handling to use wordexp, per a suggestion from | Eric Andersen | 2001-03-08 | 1 | -108/+83 |
| | | | | | | | | | 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 | ||||
* | remove an unused variable | Eric Andersen | 2001-03-07 | 1 | -1/+0 |
| | |||||
* | Fix the memory leak. No really this time. | Eric Andersen | 2001-03-06 | 1 | -7/+9 |
| | | | | -Erik | ||||
* | Fix func prototype | Eric Andersen | 2001-03-06 | 1 | -0/+1 |
| | |||||
* | Fixed a memory leak in lash. It seems that close_all was calling close() | Eric Andersen | 2001-03-06 | 1 | -1/+1 |
| | | | | | | directly instead of calling mark_closed(), which allowed the memory allocated by mark_open() to never be freed. -Erik | ||||
* | Close open files before calling builtin_exec(). I've tested this | Eric Andersen | 2001-03-06 | 1 | -0/+1 |
| | | | | | and it fixes bug #1121. -Erik | ||||
* | This fixes lash so it handles environment variable expansion, regardless | Eric Andersen | 2001-02-20 | 1 | -17/+30 |
| | | | | | | | | 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 | ||||
* | Commit Vladimir's latest cmdedit. I modified it slightly to ensure | Eric Andersen | 2001-02-16 | 1 | -2/+1 |
| | | | | | | | | 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. | ||||
* | This patch, put together by Manuel Novoa III, is a merge of work | Eric Andersen | 2001-02-14 | 1 | -10/+7 |
| | | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed. | ||||
* | Apply a patch from Larry Doolittle to add "-all" and "-none" switches | Eric Andersen | 2001-02-01 | 1 | -1/+1 |
| | | | | | | | 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 | ||||
* | Create find_applet_by_name function. Save 32 bytes. | Matt Kraai | 2001-02-01 | 1 | -7/+5 |
| | |||||
* | Removed trailing \n from error_msg{,_and_die} messages. | Matt Kraai | 2001-01-31 | 1 | -15/+15 |
| | |||||
* | Patch from Bryan Rittmeyer -- be more conservative by default | Eric Andersen | 2001-01-30 | 1 | -0/+20 |
| | | | | | with the lash prompt. -Erik | ||||
* | Fix up copyright msgs. Bump version to 0.49 in preparation for0_49 | Eric Andersen | 2001-01-27 | 1 | -1/+1 |
| | | | | | a release. Update the website with release details. -Erik | ||||
* | Fixed a li'l thinko. | Mark Whitley | 2001-01-26 | 1 | -1/+1 |
| | |||||
* | #define -> static const int. Also got rid of some big static buffers. | Mark Whitley | 2001-01-23 | 1 | -2/+2 |
| | |||||
* | Bug fix. | Eric Andersen | 2001-01-23 | 1 | -2/+0 |
| | |||||
* | More printf cleanups | Eric Andersen | 2001-01-20 | 1 | -9/+9 |
| | |||||
* | Needs to be NULL at init in all cases. | Eric Andersen | 2001-01-05 | 1 | -1/+1 |
| | |||||
* | Patch from larry doolittle to be ever so careful to cleanup | Eric Andersen | 2001-01-05 | 1 | -16/+72 |
| | | | | all open file descriptors, lest wierdness happen later. | ||||
* | Better label the globals. | Eric Andersen | 2001-01-05 | 1 | -2/+7 |
| | |||||
* | Patch from Larry Doolittle to set values to static variables that live in the | Eric Andersen | 2001-01-05 | 1 | -2/+15 |
| | | | | | | 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 |