aboutsummaryrefslogtreecommitdiff
path: root/shell/lash.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Cleanup patch from Shaun Jackman converting %m to perror.Rob Landley2006-06-201-4/+4
|
* Make some 64 bit warnings go away on x86-64.Rob Landley2006-06-191-7/+5
|
* Patch from Shaun Jackman to detect "name=value" variable assignments. RandomRob Landley2006-06-131-10/+11
| | | | cleanup at the end by me to make some unrelated #ifdefs go away...
* Make lash smaller. (Use llist_t for file closing, and different allocationRob Landley2006-06-131-71/+24
| | | | functions.)
* - reuse strings and messages. Saves about 600BBernhard Reutner-Fischer2006-06-071-2/+2
|
* 2006-06-02 Shaun Jackman <sjackman@gmail.com>Bernhard Reutner-Fischer2006-06-031-6/+1
| | | | | | * shell/lash.c (pseudo_exec) [_NEWLIB_VERSION]: Remove the __getopt_initialized hackery.
* - move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer2006-06-021-1/+1
| | | | and eventual platform specific includes in early.
* Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley2006-03-101-5/+7
| | | | the busybox binary) into enums (which don't).
* moved BB_BANNER to applets/version.c file: make kernel like version, "Vladimir N. Oleynik"2006-02-161-1/+1
| | | | removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
* fix up yet more annoying signed/unsigned and mixed type errorsEric Andersen2006-01-301-1/+1
|
* just whitespaceTim Riker2006-01-251-1/+1
|
* - add platform.h.Bernhard Reutner-Fischer2006-01-221-15/+2
| | | | - use shorter boilerplate while at it.
* Reduce exported from lash applet"Vladimir N. Oleynik"2005-09-221-2/+2
|
* Shaun Jackman writes: Newlib uses both __getopt_initialized and optind to ↵Mike Frysinger2005-03-041-5/+11
| | | | track initialization of getopt()
* Joe.C writes:Eric Andersen2004-08-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This bug is in busybox 1.0.0-rc2. When using lash exec builtin with redirection, the opened file fd keep increasing. For example, please try the following command with lash. ls -al /proc/<lash pid>/fd exec /bin/sh 2>/dev/null ls -al /proc/<lash pid>/fd The last 'ls' command output will look like this. The fd number 4 shouldn't exist. lrwx------ 1 501 100 64 Aug 13 13:56 4 -> /dev/pts/5 l-wx------ 1 501 100 64 Aug 13 13:56 2 -> /dev/null lrwx------ 1 501 100 64 Aug 13 13:56 1 -> /dev/pts/5 lrwx------ 1 501 100 64 Aug 13 13:56 0 -> /dev/pts/5 dr-xr-xr-x 3 501 100 0 Aug 13 13:56 .. dr-x------ 2 501 100 0 Aug 13 13:56 . This one-line patch fix this problem by setting CLOEXEC flag for squirrel fd. Please apply. Joe.C
* Jamie Guinan writes:Eric Andersen2004-04-121-1/+1
| | | | | | | | | | | It looks like latest uClibc defines ARCH_HAS_MMU, but a few busybox files test UCLIBC_HAS_MMU, resulting in vfork() getting called instead of fork(), etc. Patch below. Only tested for lash. Cheers, -Jamie
* Remove the CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN option. It was sortofEric Andersen2004-04-071-9/+0
| | | | stupid and didn't work properly anyways.
* s/fileno\(stdin\)/STDIN_FILENO/gEric Andersen2004-03-271-1/+1
| | | | s/fileno\(stdout\)/STDOUT_FILENO/g
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-3/+3
|
* Fix some goofy formattingEric Andersen2004-03-121-4/+3
|
* Patch by Felipe Kellermann to fix a compiler compatability problemGlenn L McGrath2004-03-051-6/+6
|
* oops. Leave the default feature set enbled for now...Eric Andersen2004-02-101-2/+2
|
* Initial effort at disabling job control as wellEric Andersen2004-02-101-6/+35
|
* Support disabling pipe and redirect supportEric Andersen2004-02-101-40/+67
|
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-2/+1
|
* Major coreutils update.Manuel Novoa III2003-03-191-35/+35
|
* Squash a warning by making function declaration a proper prototypeEric Andersen2002-12-111-1/+1
|
* Change if(x)free(x); to free(x);Aaron Lehmann2002-11-281-8/+4
|
* Teach lash to get $1 $2 $3 etc correctEric Andersen2002-11-081-1/+1
| | | | -Erik
* Use %m, not strerror, and strerror(err) was broken anyways and should have beenEric Andersen2002-09-301-1/+1
| | | | strerror(errno). Problem noted by Alexey V. Neyman <alex.neyman@auriga.ru>
* Avoid calling exit() from within fork/vfork'ed processes.Eric Andersen2002-09-261-3/+7
| | | | -Erik
* A couple of small bugfixes from Marshall M. Midden <m4@brecis.com>Eric Andersen2002-07-311-3/+6
|
* Fix a buffer overflow found by Gerardo Puga <gpuga@gioia.ing.unlp.edu.ar>Eric Andersen2002-06-061-1/+1
| | | | -Erik
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai2001-12-201-1/+1
|
* Begin moving things to busybox.netEric Andersen2001-12-081-1/+1
| | | | -Erik
* Change strdup calls to xstrdup (patch from Steve Merrifield).Matt Kraai2001-11-121-1/+1
|
* Add in some (theoretical) uClinux support. Some init cleanupsEric Andersen2001-10-281-1/+6
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-18/+20
| | | | -Erik
* Add an option to make the shells not advertise their busybox natureEric Andersen2001-10-191-0/+2
|
* Patch from Magnus Damm <damm@opensource.se> to avoid lash hangingEric Andersen2001-10-031-1/+7
| | | | on serial ports
* Fix a warning and potential segfault in lash when BB_FEATURE_CLEAN_UPEric Andersen2001-08-221-2/+2
| | | | is enabled
* Allow multiple shells to be enabled.Matt Kraai2001-08-011-1/+1
|
* Patch from vodz:Eric Andersen2001-07-121-5/+1
| | | | | | | Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function
* don't whine if all we need to do is remove a bg jobEric Andersen2001-06-271-1/+2
|
* Re-enable globbing (I'd accidentaly removed it) and finish off the lastEric Andersen2001-06-271-10/+224
| | | | | of the job control polishing. Works fine now. -Erik
* This should finish off the job control issues with lash. Make certainEric Andersen2001-06-251-15/+46
| | | | | we have a controlling terminal... -Erik
* This commit guts lash, restoring it to what it was originally intended to do,Eric Andersen2001-06-211-582/+32
| | | | | | just be a simple command line interpreter with basic pipe, redirect, and job control. For all the more fancy things, people should use hush or ash. -Erik
* Patch from larry to fix some grammar errors.Eric Andersen2001-05-231-2/+2
|
* Patch from Lars Kellogg-Stedman <lars@larsshack.org> to fix bugEric Andersen2001-05-211-3/+3
| | | | #1130 (i.e. When you turn on features it should always ADD features)
* Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.cMatt Kraai2001-05-161-2/+2
| | | | by Larry Doolittle.