summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2001-05-03A todo update from larry to acknowledge the existance of hushEric Andersen
2001-05-03devfs does not support creation of regular files. So change theEric Andersen
test a bit so as to not possibly create a regular file. -Erik
2001-05-03Remove summary header. Not present in GNU or SUSv2.Matt Kraai
2001-05-02Move up waitpid error check so that errno isn't clobbered by tcsetpgrp.Matt Kraai
2001-05-02Canonicalize path before trying to unmount it.Matt Kraai
2001-05-02Fix bug #1108 by always canonicalizing arguments.Matt Kraai
2001-05-02Some more job control updates. It will now sucessfully backgroundEric Andersen
stuff. Good luck getting things back into the foreground though... -Erik
2001-05-02Don't treat newline as pipe separator when processing substitutions.Matt Kraai
2001-05-02Use .png for images (removing all .gifs) and make them all 90x36Eric Andersen
-Erik
2001-05-02Fix $(...) construction. Noted and patched by Larry DoolittleMatt Kraai
<ldoolitt@recycle.lbl.gov>. I'm just a patch whore. :)
2001-05-02First pass at getting job control working. This gets the infrastructureEric Andersen
in place, but something is still missing/wrong in there. Testing with 'grep foo &' seems to put _hush_ into the background. Pondering... -Erik
2001-05-02Use the current pgrp, not pid, when resetting the foreground process group.Matt Kraai
Fixes bizarre suspension when executing `echo`.
2001-05-02Don't segfault if the first word is the empty string.Matt Kraai
2001-05-02Another update from Larry:Eric Andersen
Makes hush return code equal to that of the last command executed. Fixes the mode where input comes from a file.
2001-05-01Skip headers with empty filenames, rather than stopping.Matt Kraai
2001-05-01Another refinement, this time from Larry.Eric Andersen
2001-05-01Argh. Now we break non-pristine builds. Check a bit more carefully.Eric Andersen
-Erik
2001-05-01Oops. The dangers of applying patches by hand...Eric Andersen
2001-05-01Another hush update from Larry:Eric Andersen
Minor improvements. Something is still broken with running scripts via "hush filename". All the following are now handled acceptably (matches ash, not bash). if true; then echo foo1; fi if true; then echo foo2; fi if true; false; then echo bar; else echo foo3; fi if true || false; then echo foo4; fi - Larry
2001-05-01A patch from Larry to fix pristine source builds (again).Eric Andersen
I just can't seem to _not_ break it. Sigh.
2001-04-30Some more hush.c updates from Larry Doolittle.Eric Andersen
2001-04-30Oops. I was a bit too hasty and also changed applet_name.Eric Andersen
2001-04-30Made new xreadlink function for libbb and changed applets to use it instead ofMark Whitley
readlink(2).
2001-04-30These messages can be .rodata, so make them even more const.Eric Andersen
-Erik
2001-04-30These do not need initial values. Let them live in the bss.Eric Andersen
-Erik
2001-04-30Per suggestion by Matt, make sh.c a real target. There is noEric Andersen
need for the useless sh_link dummy target -- use the real thing. -Erik
2001-04-30Fix user permissions of copied directories.Matt Kraai
2001-04-30Simplify permission handling for FIFOs.Matt Kraai
2001-04-30Fix exit status when there is an error copying a file.Matt Kraai
2001-04-29Logic reversal for last_char_isGlenn L McGrath
2001-04-28fix to applet_source_list rule so Debian package continues to buildDavid Kimdon
2001-04-27Matt was complaining. Hopefully this helps the sh.c link situationEric Andersen
2001-04-27Terminate source correctly when copying symlink. Report and patch byMatt Kraai
Brian Webb <webbb@desertscenes.net>.
2001-04-27Use BUFSIZ for the_command to match size used in cmdeditEric Andersen
2001-04-27An update to hush from Larry:Eric Andersen
It should recover more smoothly from syntax errors, and it now has a decent guess when the reserved word construct is over (or not) to control execution and prompting. I took out all the redundant standalone test copies of libbb routines, but left in a hook so I can include those for my testing. I'll post that include file on my web site. - Larry
2001-04-26Be a bit more sneaky about the sh.c symlink so you don't need toEric Andersen
do a mke clean for it to happen. -Erik
2001-04-26Ignore some generated filesEric Andersen
2001-04-26This is the initial checkin of Larry Doolittle's hush.c, using hisEric Andersen
April 25, 2001 snapshot, adjusted a bit by me so it has cmdedit support. This checkin also removes sh.c. In the future sh.c will be a symlink to your shell of choice. For now, this symlink will default to pointing to lash.c (as in the past). If you change the symlink to point to hush.c, then thats what you will get. This symlink business is a temporary situation, which will be cleaned up Real Soon Now(tm). -Erik
2001-04-26Disable lashEric Andersen
-Erik
2001-04-26These days busybox.pod is autogenerated, so it should be removedEric Andersen
from CVS.
2001-04-26A fix from Larry for a corner case where insmod could end upEric Andersen
doing an xrealloc(0).
2001-04-26Fix handling of permission addition and removal (e.g., o-r).Matt Kraai
2001-04-26Doh. I never allocated storate for the struct stat I am using.Eric Andersen
There was just a never initialized pointer. -Erik
2001-04-26Fix handling of -R flag.Matt Kraai
2001-04-26Another nice cleanup from Larry. This adds a new last_char_is() function andEric Andersen
uses it to avoid possible buffer underruns whn strlen is zero, and avoid the possible space-hogging inline of strlen() in several cases. -Erik
2001-04-26As Larry pointed out, this the off by one canbe fixed much more elegantly.Eric Andersen
2001-04-26Fix a silly off-by-one error noticed by Santiago Garcia Mantinan ↵Eric Andersen
<manty@debian.org> -Erik
2001-04-25Applied patch from Larry Doolittle to fix pristine build breakage.Mark Whitley
2001-04-25Removed obsoleted BB_FEATURE_RM_INTERACTIVEMark Whitley
2001-04-25Applied patch from I.Q. to add -s to cmp.Mark Whitley