aboutsummaryrefslogtreecommitdiff
path: root/shell/lash.c
AgeCommit message (Collapse)Author
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
2001-05-23Patch from larry to fix some grammar errors.Eric Andersen
2001-05-21Patch from Lars Kellogg-Stedman <lars@larsshack.org> to fix bugEric Andersen
#1130 (i.e. When you turn on features it should always ADD features)
2001-05-16Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.cMatt Kraai
by Larry Doolittle.
2001-05-11Fix up some silly warningsEric Andersen
2001-05-11Fix a segfault in lash, hush, and cmdedit. Each of these usedEric Andersen
xgetcwd, but did not check the return for a NULL, and then continued to call strlen on the NULL when the cwd had been removed from under it. -Erik
2001-04-25Moved some #ifdefs down below #include "busybox.h" where they belong.Mark Whitley
2001-04-23Some patches from Gennady Feldman. Fixed a glob problem such thatEric Andersen
'ls *.h Config.h' works. Fixed a silly typo with fg/bg process control. Made cmdedit exit sanely when it cannot read input.
2001-04-12Another banner consolidation from Larry Doolittle <ldoolitt@recycle.lbl.gov>.Matt Kraai
2001-04-12Fix handling of '' and "".Matt Kraai
2001-04-09Apply Vladimir's latest cleanup patch.Eric Andersen
-Erik