aboutsummaryrefslogtreecommitdiff
path: root/shell
AgeCommit message (Collapse)Author
2006-01-30Note on SVN 13424: Don't mix "default y" and select of something earlier Rob Landley
in the menu hierarchy or else make allnoconfig winds up leaving whatever the select points to as "y". (In this case, "make allnoconfig" is leaving CONFIG_TEST as "y".)
2006-01-25C99 say: "char" declaration may be signed or unsigned default"Vladimir N. Oleynik"
2006-01-25Add more bash-like dot-dirs cmdedit feature"Vladimir N. Oleynik"
Close bug 648. Restore my whitespace
2006-01-25just whitespaceTim Riker
2006-01-22- add platform.h.Bernhard Reutner-Fischer
- use shorter boilerplate while at it.
2006-01-19- cleanup Config.in. Use "select CONFIG_FOO" and add the correspondingBernhard Reutner-Fischer
"depends on CONFIG_BAR" instead of the if !CONFIG_FOO ...default y stanza.
2006-01-19restore 8-bit syntax works, last debian patch is broken. Noticed by Vladimir ↵"Vladimir N. Oleynik"
Dronnikov
2006-01-15sync with dash_0.5.3-1"Vladimir N. Oleynik"
2006-01-15- shared libbusybox.Bernhard Reutner-Fischer
- IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
2005-12-15sync license from mainstream"Vladimir N. Oleynik"
2005-12-13remove sigsetmask, noticed by Bernhard"Vladimir N. Oleynik"
2005-12-12Uninitialized variable causing intermittent syntax errors (bug 449).Rob Landley
2005-10-17data --> text"Vladimir N. Oleynik"
2005-10-15common BUFSIZ BSS buffer, small reduce code, data and bss"Vladimir N. Oleynik"
2005-10-12usage bb_dev_null"Vladimir N. Oleynik"
2005-09-29change interface to bb_xasprintf() - more perfect for me."Vladimir N. Oleynik"
ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers reduce 100 bytes don't care in sum
2005-09-26correct set prompt if CONFIG_ASH_EXPAND_PRMT enabled, small automatic ↵"Vladimir N. Oleynik"
space->tabs convert by my personal editor
2005-09-24use the shorter license headerMike Frysinger
2005-09-24use brief license lineMike Frysinger
2005-09-24rename menu and touchup whitespaceMike Frysinger
2005-09-22Reduce exported from msh applet"Vladimir N. Oleynik"
2005-09-22Reduce exported from lash applet"Vladimir N. Oleynik"
2005-09-22Reduce exported from hush applet"Vladimir N. Oleynik"
2005-09-22more remove lost exported"Vladimir N. Oleynik"
2005-09-07committing:Paul Fox
Summary 0000242: ash: read -t broken this also implements -n and -s options to read. (they're configured together because most of their code is in common, and separating them seemed silly.
2005-09-05destroy bug [0000404]"Vladimir N. Oleynik"
2005-09-051) sync with dash_0.5.2-7"Vladimir N. Oleynik"
2) but expand PS# as config option 3) correct kill error message again 4) remove show "line number" for interactive run (patch pending for dash)
2005-08-14Patch from Stephane Billiart to improve ash error message.Rob Landley
2005-08-09implemented a builtin echo command in ash. moved the guts of thePaul Fox
echo applet into libbb, and now call bb_echo() from both echo.c and ash.c
2005-08-04commiting:Paul Fox
0000025: vi-editing mode for ash
2005-07-27use toplevel ARFLAGS and update default ARFLAGS to be quietMike Frysinger
2005-07-21revert 10881, and refix by changing "if (vallen)" to "if (val)". thisPaul Fox
is per the upstream fix for dash, in dash_0.5.2-6.diff. thanks vodz, for catching this.
2005-07-20applying fix for:Paul Fox
0000261: Unsafe empty env var export in ash
2005-07-20applyinf fix for:Paul Fox
0000155: variable expansion with braces in backticks in msh
2005-07-20applying fix from:Paul Fox
0000152: ash: quoting rules for local variables different to globals
2005-07-19applying:Paul Fox
0000054: Tab completing filenames in ash causes SEGV Simple tab completion operations cause busybox (ash) to access illegal addresses.
2005-05-07This one's from me. Fix ash "standalone shell".Rob Landley
If we exec /proc/self/exe and only fall back to /bin/busybox if /proc isn't there, then we have a reasonable chance of having the standalone shell work even if busybox isn't installed in /bin on the system in question. Still won't work in a chroot environment, but it's an improvement.
2005-03-04Shaun Jackman writes: Newlib uses both __getopt_initialized and optind to ↵Mike Frysinger
track initialization of getopt()
2005-02-10- no need to check if JOBS is defined. Config.in ensures it.Ned Ludd
2005-02-09- add ash read -t timeout support. initial code provided by Tim Yamin on ↵Ned Ludd
Oct/21/2004 on the busybox mailing list. Edited his code a little to keep syntax highlighers happy and make it optional when CONFIG_ASH_TIMEOUT is defined
2004-10-08Fix CONFIG_ASH_MATH_SUPPORT_64 so it actually worksEric Andersen
2004-10-08Hiroshi Ito writes:Eric Andersen
ash "unset OLDPWD; cd -" causes segmentation fault. ( OLDPWD is not set when sh is invoked from getty. ) patch against current CVS is attached.
2004-10-08egor duda writes:Eric Andersen
Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor
2004-09-24Fix a typoGlenn L McGrath
2004-09-24A bit of extra explanation regarding STANDALONEEric Andersen
2004-09-08Patrick Huesmann noticed BusyBox would not link whenEric Andersen
CONFIG_FEATURE_COMMAND_EDITING was defined *and* CONFIG_FEATURE_COMMAND_TAB_COMPLETION was undefined. Vladimir N. Oleynik writes: Its declare always, also if CONFIG_FEATURE_COMMAND_TAB_COMPLETION undefined. Patch to CVS version attached. --w vodz
2004-09-02Jonas Holmberg from axis dot com writes:Eric Andersen
This patch makes msh handle variable expansion within backticks more correctly. Current behaviour (wrong): -------------------------- BusyBox v1.00-rc3 (2004.08.26-11:51+0000) Built-in shell (msh) Enter 'help' for a list of built-in commands. $ A='`echo hello`' $ echo $A `echo hello` $ echo `echo $A` hello $ New behaviour (correct): ------------------------ BusyBox v1.00-rc3 (2004.08.26-11:51+0000) Built-in shell (msh) Enter 'help' for a list of built-in commands. $ A='`echo hello`' $ echo $A `echo hello` $ echo `echo $A` `echo hello` $ The current behaviour (wrong according to standards) was actually my fault. msh handles backticks by executing a subshell (which makes it work on MMU-less systems). Executing a subshell makes it hard to only expand variables once in the parent. Therefore I export all variables that will be expanded within the backticks and let the subshell handle the expansion instead. The bug was found while searching for security leaks in CGI-scripts. Current behaviour of msh makes it easy to expand backticks by mistake in $QUERY_STRING. I recommend appling the patch before release of bb 1.00. /Jonas
2004-08-27Quiet a few warningsEric Andersen
2004-08-19Patch from Vladimir N. Oleynik:Eric Andersen
On Wed Aug 18, 2004 at 06:52:57PM +0800, Matt Johnston wrote: > I've come across some strange-seeming behaviour when running programs > under Busybox (1.0.0-rc3) ash. If the child process sets stdin to be > non-blocking and then exits, the parent ash will also exit. A quick strace > shows that a subsequent read() from stdin returns EAGAIN (as would be > expected): Thanks! Patch attached. --w vodz
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