aboutsummaryrefslogtreecommitdiff
path: root/shell/lash.c
AgeCommit message (Collapse)Author
2006-07-01Patch from Shaun Jackman moving the var=value logic to here it can do some good.Rob Landley
2006-07-01Get rid of all "#if 0" content."Robert P. J. Day"
2006-07-01Remove all usage of the "register" storage class specifier."Robert P. J. Day"
2006-06-20Cleanup patch from Shaun Jackman converting %m to perror.Rob Landley
2006-06-19Make some 64 bit warnings go away on x86-64.Rob Landley
2006-06-13Patch from Shaun Jackman to detect "name=value" variable assignments. RandomRob Landley
cleanup at the end by me to make some unrelated #ifdefs go away...
2006-06-13Make lash smaller. (Use llist_t for file closing, and different allocationRob Landley
functions.)
2006-06-07- reuse strings and messages. Saves about 600BBernhard Reutner-Fischer
2006-06-032006-06-02 Shaun Jackman <sjackman@gmail.com>Bernhard Reutner-Fischer
* shell/lash.c (pseudo_exec) [_NEWLIB_VERSION]: Remove the __getopt_initialized hackery.
2006-06-02- move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer
and eventual platform specific includes in early.
2006-03-10Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley
the busybox binary) into enums (which don't).
2006-02-16moved BB_BANNER to applets/version.c file: make kernel like version, "Vladimir N. Oleynik"
removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
2006-01-30fix up yet more annoying signed/unsigned and mixed type errorsEric Andersen
2006-01-25just whitespaceTim Riker
2006-01-22- add platform.h.Bernhard Reutner-Fischer
- use shorter boilerplate while at it.
2005-09-22Reduce exported from lash applet"Vladimir N. Oleynik"
2005-03-04Shaun Jackman writes: Newlib uses both __getopt_initialized and optind to ↵Mike Frysinger
track initialization of getopt()
2004-08-16Joe.C writes:Eric Andersen
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
2004-04-12Jamie Guinan writes:Eric Andersen
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
2004-04-07Remove the CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN option. It was sortofEric Andersen
stupid and didn't work properly anyways.
2004-03-27s/fileno\(stdin\)/STDIN_FILENO/gEric Andersen
s/fileno\(stdout\)/STDOUT_FILENO/g
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-03-12Fix some goofy formattingEric Andersen
2004-03-05Patch by Felipe Kellermann to fix a compiler compatability problemGlenn L McGrath
2004-02-10oops. Leave the default feature set enbled for now...Eric Andersen
2004-02-10Initial effort at disabling job control as wellEric Andersen
2004-02-10Support disabling pipe and redirect supportEric Andersen
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-03-19Major coreutils update.Manuel Novoa III
2002-12-11Squash a warning by making function declaration a proper prototypeEric Andersen
2002-11-28Change if(x)free(x); to free(x);Aaron Lehmann
2002-11-08Teach lash to get $1 $2 $3 etc correctEric Andersen
-Erik
2002-09-30Use %m, not strerror, and strerror(err) was broken anyways and should have beenEric Andersen
strerror(errno). Problem noted by Alexey V. Neyman <alex.neyman@auriga.ru>
2002-09-26Avoid calling exit() from within fork/vfork'ed processes.Eric Andersen
-Erik
2002-07-31A couple of small bugfixes from Marshall M. Midden <m4@brecis.com>Eric Andersen
2002-06-06Fix a buffer overflow found by Gerardo Puga <gpuga@gioia.ing.unlp.edu.ar>Eric Andersen
-Erik
2001-12-20Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai
2001-12-08Begin moving things to busybox.netEric Andersen
-Erik
2001-11-12Change strdup calls to xstrdup (patch from Steve Merrifield).Matt Kraai
2001-10-28Add in some (theoretical) uClinux support. Some init cleanupsEric Andersen
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-10-19Add an option to make the shells not advertise their busybox natureEric Andersen
2001-10-03Patch from Magnus Damm <damm@opensource.se> to avoid lash hangingEric Andersen
on serial ports
2001-08-22Fix a warning and potential segfault in lash when BB_FEATURE_CLEAN_UPEric Andersen
is enabled
2001-08-01Allow multiple shells to be enabled.Matt Kraai
2001-07-12Patch from vodz:Eric Andersen
Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function
2001-06-27don't whine if all we need to do is remove a bg jobEric Andersen
2001-06-27Re-enable globbing (I'd accidentaly removed it) and finish off the lastEric Andersen
of the job control polishing. Works fine now. -Erik
2001-06-25This should finish off the job control issues with lash. Make certainEric Andersen
we have a controlling terminal... -Erik
2001-06-21This commit guts lash, restoring it to what it was originally intended to do,Eric Andersen
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