aboutsummaryrefslogtreecommitdiff
path: root/shell
AgeCommit message (Collapse)Author
2003-09-17Patch by Junio C Hamano to workaround a gcc compiler bug.Glenn L McGrath
The construct certain vintages of GCC (the one I have trouble with is 3.2.3) have trouble with looks like the following: static struct st a; static struct st *p = &a; struct st { int foo; }; static void init(void) { a.foo = 0; } The problem disappears if we move the struct declaration up to let the compiler know the shape of the struct before the first definition uses it, like this: struct st { int foo; }; /* this has been moved up */ static struct st a; static struct st *p = &a; static void init(void) { a.foo = 0; }
2003-09-15Patch from Bastian Blank to fix a problem when runing find under ash.Glenn L McGrath
"If the shell is compiled with -DJOBS, this is all fine -- find wasn't stopped (it was killed), so it correctly uses WTERMSIG instead of WSTOPSIG. However, if the shell _isn't_ compiled with -DJOBS (which it isn't in d-i), only WSTOPSIG is used, which extracts the high byte instead of the low byte from the status code. Since the status code is 13 (SIGPIPE), "st" suddenly gets the value 0, which is equivalent to SIGEXIT. Thus, ash prints out "EXIT" on find's exit."
2003-09-15Patch by Jean Wolter to fix a bug where a script wouldnt be executedGlenn L McGrath
unless it had #!/bin/sh in the first line "It correctly locates the script, tries to execute it via execve which fails. After that it tries to hand it over to /bin/sh which fails too, since ash - neither provides the absolute pathname to /bin/sh - nor tries to lookup the script via PATH if called as "sh script" "
2003-09-15Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize)Eric Andersen
to ensure proper fallback behavior on, i.e. serial consoles. -Erik
2003-09-12config option CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN must dependEric Andersen
on CONFIG_FEATURE_SH_STANDALONE_SHELL.
2003-09-02move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as oneGlenn L McGrath
constant. Vodz last_patch_107
2003-09-01Fix compile error and reducing size for libbb/get_console.c to previous size.Glenn L McGrath
Vodz last_patch106
2003-08-29vodz, last patch 103Glenn L McGrath
2003-08-13Rewrite timescmd() function to avoid the use of floating point and toManuel Novoa III
correct a bug in the seconds display where something like 65 seconds would be output as "1m65.000000s".
2003-08-08Use the new 'select' option to make the shell configEric Andersen
much less evil and far more obvious. -Erik
2003-08-06Latest dash update from vodzEric Andersen
2003-08-05Merge/rework config system per the latest from linux-2.6.0-test2.Eric Andersen
Fix the config bugs revealed by the updated config system. -Erik
2003-07-29Fixup typo noticed by Nick FedchikEric Andersen
2003-07-29Vladimir N. Oleynik writes:Eric Andersen
Last patch have synced form Manuel Nova III xxreadtoken() function, corrected (C) form dash debian/copyright, removed my small mistake with IFS_BROKEN (thanks by Herbert), and synced cmdedit.c from current CVS (removed libc5 support, your email correction, my (C) year corertion).
2003-07-28This is synced from dash-0.4.17 and full ready for insert to new busyboxEric Andersen
version: ftp://ftp.simtreas.ru/pub/my/bb/new News: - code is smalest! - support ${var...} expr - used new very strongly steal controlling terminal
2003-07-22Document CONFIG_ASH_CMDCMDEric Andersen
2003-07-22Patch from Terje Kvernes adding quite a lot of missing documentationEric Andersen
2003-07-22Remove remaining libc5 support codeEric Andersen
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-07-14Patch from Thomas Cameron:Eric Andersen
Hello all, This patch adds more "Help" text to the config system. Almost all applets now have a help entry. Also, I cleaned up the spacing of the existing text so that things are consistent. This patch is against this morning's CVS. Thomas Cameron CEI Systems, Inc.
2003-07-03Patch from Kent Robotti adding a bunch of menuconfig helpEric Andersen
2003-03-19Major coreutils update.Manuel Novoa III
2003-03-14Patch from Jonas Holmberg, adjusted by Robert Schwebel, andEric Andersen
later re-adjusted by me to fix msh backtick handling
2003-01-14Only call free if it is necessaryEric Andersen
2003-01-06Minor cleanup, identified by Stewart Brodie, patch by Vladimir N.Glenn L McGrath
Oleynik
2003-01-06Correct column width for tab completion and lsGlenn L McGrath
2003-01-02Fix tab-tab listing of files so it properly reflects currentEric Andersen
terminal width. -Erik
2002-12-23Fix STANDALONE_SHELL and ALWAYS_WIN options, last_path_73 by Vladimir N. OleynikGlenn L McGrath
2002-12-11Small bugfix, last_patch72 from Vladimir N. OleynikGlenn L McGrath
2002-12-11Fixup all the horrible broken function prototypesEric Andersen
-Erik
2002-12-11Squash a warning by making function declaration a proper prototypeEric Andersen
2002-12-09Command line history changes, lastpatch_71 from Vladimir N. OleynikGlenn L McGrath
2002-12-06Allow for people to select no default shellEric Andersen
2002-12-06Make hush comple once againEric Andersen
2002-12-05Yet another major rework of the BusyBox config system, using the considerablyEric Andersen
modified Kbuild system I put into uClibc. With this, there should be no more need to modify Rules.mak since I've moved all the interesting options into the config system. I think I've got everything updated, but you never know, I may have made some mistakes, so watch closely. -Erik
2002-12-03 - the number of commands in the history list is now configureable via theRobert Griebl
config system - added a new config option to allow persistant history lists. This is currently only used by ash, but the calls ({load,save}_history) could be added to the other shells as well.
2002-11-28Change if(x)free(x); to free(x);Aaron Lehmann
2002-11-27last_patch_68 from Vladimir N. OleynikGlenn L McGrath
2002-11-08Teach lash to get $1 $2 $3 etc correctEric Andersen
-Erik
2002-10-22Fix warningEric Andersen
2002-10-22Apply last_patch51_3 from vodzEric Andersen
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-30Don't even try to run ash on uClinux. It won't work.Eric Andersen
-Erik
2002-09-26Avoid calling exit() from within fork/vfork'ed processes.Eric Andersen
-Erik
2002-09-17Patch from "Joe.C" <joe@numa.com.tw>Eric Andersen
2002-09-01Some CML1 grammar fixesEric Andersen
-Erik
2002-08-23Apply vodz last_path_51-2Glenn L McGrath
2002-08-22Run through indent, fix commentsGlenn L McGrath
2002-08-02Remove ckfree, and replace all references with free. Remove freefunc,Aaron Lehmann
which is also equivilent to free. Remove some if(x)free(x) redundancies.
2002-07-31A couple of small bugfixes from Marshall M. Midden <m4@brecis.com>Eric Andersen