summaryrefslogtreecommitdiff
path: root/shell
AgeCommit message (Collapse)Author
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
2002-07-30Fixed a timing bug which occured when bb ash is run in a rxvt on theRobert Griebl
HP iPAQ. Sometimes we get a SIGWINCH and want to print the prompt, although the prompt is not yet initialised (0) .. so just don't print a prompt as long as the prompt string is 0
2002-07-19Applied vodz' patches #49 and #50 (with a small correction in runshell.c)Robert Griebl
#49: I found one memory overflow and memory leak in "ln" applet. Last patch reduced also 54 bytes. ;) #50: I found bug in loginutils/Makefile.in. New patch have also new function to libbb and aplied this to applets and other cosmetic changes.
2002-07-11Fixup warnings and undefined operations that show up in gcc-3.1Eric Andersen
-Erik
2002-07-04Patch from Stewart Brodie <stewart.brodie@pace.co.uk> to fix ash:Eric Andersen
When alias support is not configured, ash believes that command parameters that look like dd's "if=/dev/zero" are requests to set a temporary environment variable whilst dd is running, even though it appears after the command name. This is caused by the re-use of the checkalias global variable to indicate when both alias checking and environment variable checking. The failure to reset this flag is due to the reset action being performed only inside the feature check CHECK_ASH_ALIAS. Hence ash works as expected when aliases are configured in, and fails when not. Example script using 'date' with different settings of TZ: # TZ=Europe/London # export TZ # date Thu May 30 17:18:49 BST 2002 # TZ=America/New_York date Thu May 30 12:19:10 EDT 2002 # date Thu May 30 17:19:12 BST 2002 # date TZ=America/New_York Thu May 30 12:19:30 EDT 2002 <----- wrong, should be BST time (or error!) # date Thu May 30 17:19:35 BST 2002 Attached is a patch against revision 1.52 of ash.c which moves the checks so that checkalias is updated regardless of whether CONFIG_ASH_ALIAS is set. With this patch applied, the command shown above which should generate an error does generate an error. I have tested this patch with the 'dd' command too and that now works correctly.
2002-07-03Scrub pwd.h and grp.h handling so we don't have to play anyEric Andersen
silly games. -Erik
2002-06-06Fix a buffer overflow found by Gerardo Puga <gpuga@gioia.ing.unlp.edu.ar>Eric Andersen
-Erik
2002-06-06Patch from vodz to only setenv PATH when PATH changes, which is muchEric Andersen
smarter than my quick fix.
2002-06-04Fix for broken handling off BusyBox's own pwd/grp implementationsRobert Griebl
[Parts of this patch may overlap with my other two patches]
2002-05-14Add --login support. This is the bash way of starting a shell that shouldRobert Griebl
parse the profile files.
2002-04-26Ensure that getenv("PATH") stays current, since otherwise cmdeditEric Andersen
(which calls getenv("PATH")) would not operate upon the current PATH settings, which was really quite iritating. -Erik
2002-04-24vodz noted this line (as imported from Debian) is wrong, and has sinceEric Andersen
been fixed upstream.
2002-04-24Apply last_patch37 from vodzEric Andersen
2002-04-13Patch from Jim Treadway and Vladimir Oleynik to Add CTRL-KEric Andersen
and fix CTRL-L support for cmdedit.c
2002-04-13Nice patch from Wolfgang Denk <wd@denx.de> to provide hush withEric Andersen
shell loops (for, while, until) and control operators (||, &&)
2002-04-13make ash prompt the same as other shells if cmdedit and fancypromptTim Riker
2002-04-12Completely rework the config system so that it no longer annoys me to work onEric Andersen
the busybox development tree. This eliminates the use of recursive make, and once again allows us to run 'make' in a subdirectory with the expected result. And things are now much faster too. Greatly improved IMHO... -Erik
2002-03-20Patch from vodz to fix a potential segfaultEric Andersen
2002-01-09Make private ash config options be publicEric Andersen
2001-12-31ash patch: errname-diffAaron Lehmann
2001-12-31ash patch: initvar-diffAaron Lehmann
2001-12-31ash patch: forkshell-diffAaron Lehmann
2001-12-31ash patch: fgcmd-diffAaron Lehmann
2001-12-31ash patch: breakcmd-diffAaron Lehmann
2001-12-31ash patch: addfname-diffAaron Lehmann
2001-12-21Patch from vodz to fix broken function prototypeEric Andersen
2001-12-21Patch from vodz to implement ^L (clear screen)Eric Andersen
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-12-06The ash ansification diff!Aaron Lehmann
Please tell me if you notice any problems resulting from this.
2001-11-12Change strdup calls to xstrdup (patch from Steve Merrifield).Matt Kraai
2001-11-12Use fopen wrapper.Matt Kraai
2001-11-10Some more minor build cleanupsEric Andersen
2001-11-10Cleanup some config problems. Add a sane default config that basicallyEric Andersen
matches the default old Config.h
2001-10-31Patch from Aaron Lehmann <aaronl@vitelus.com>;Eric Andersen
This diff does 2 things: 1) removes an unnecessary function. saves 64 bytes on i386 2) allows you to disable checking of mail (actually, it's now disabled by default). this would be a nice CML1 option, but for now it's a #(define|undef) in the C file like the other internal ash options. this saves an additional 352 bytes if you leave mail disabled.
2001-10-31Fixup some silly prototype warningsEric Andersen
2001-10-31Patch from ASA <llb@udm.net.ru> to that source filesEric Andersen
are properly passed their arguments.
2001-10-28Add in some (theoretical) uClinux support. Some init cleanupsEric Andersen