aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* devfs does not support creation of regular files. So change theEric Andersen2001-05-032-12/+6
| | | | | test a bit so as to not possibly create a regular file. -Erik
* Remove summary header. Not present in GNU or SUSv2.Matt Kraai2001-05-032-4/+2
|
* Move up waitpid error check so that errno isn't clobbered by tcsetpgrp.Matt Kraai2001-05-022-6/+6
|
* Canonicalize path before trying to unmount it.Matt Kraai2001-05-022-2/+12
|
* Fix bug #1108 by always canonicalizing arguments.Matt Kraai2001-05-022-26/+32
|
* Some more job control updates. It will now sucessfully backgroundEric Andersen2001-05-022-92/+148
| | | | | stuff. Good luck getting things back into the foreground though... -Erik
* Don't treat newline as pipe separator when processing substitutions.Matt Kraai2001-05-022-2/+8
|
* Use .png for images (removing all .gifs) and make them all 90x36Eric Andersen2001-05-0211-7/+7
| | | | -Erik
* Fix $(...) construction. Noted and patched by Larry DoolittleMatt Kraai2001-05-022-0/+2
| | | | <ldoolitt@recycle.lbl.gov>. I'm just a patch whore. :)
* First pass at getting job control working. This gets the infrastructureEric Andersen2001-05-022-26/+284
| | | | | | in place, but something is still missing/wrong in there. Testing with 'grep foo &' seems to put _hush_ into the background. Pondering... -Erik
* Use the current pgrp, not pid, when resetting the foreground process group.Matt Kraai2001-05-022-2/+2
| | | | Fixes bizarre suspension when executing `echo`.
* Don't segfault if the first word is the empty string.Matt Kraai2001-05-022-4/+8
|
* Another update from Larry:Eric Andersen2001-05-022-34/+38
| | | | | Makes hush return code equal to that of the last command executed. Fixes the mode where input comes from a file.
* Skip headers with empty filenames, rather than stopping.Matt Kraai2001-05-012-2/+2
|
* Another refinement, this time from Larry.Eric Andersen2001-05-012-2/+2
|
* Argh. Now we break non-pristine builds. Check a bit more carefully.Eric Andersen2001-05-012-2/+2
| | | | -Erik
* Oops. The dangers of applying patches by hand...Eric Andersen2001-05-011-1/+1
|
* Another hush update from Larry:Eric Andersen2001-05-012-10/+26
| | | | | | | | | | | | | | 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
* A patch from Larry to fix pristine source builds (again).Eric Andersen2001-05-013-3/+3
| | | | I just can't seem to _not_ break it. Sigh.
* Some more hush.c updates from Larry Doolittle.Eric Andersen2001-04-302-26/+92
|
* Oops. I was a bit too hasty and also changed applet_name.Eric Andersen2001-04-302-2/+2
|
* Made new xreadlink function for libbb and changed applets to use it instead ofMark Whitley2001-04-3013-90/+77
| | | | readlink(2).
* These messages can be .rodata, so make them even more const.Eric Andersen2001-04-303-38/+38
| | | | -Erik
* These do not need initial values. Let them live in the bss.Eric Andersen2001-04-304-6/+6
| | | | -Erik
* Per suggestion by Matt, make sh.c a real target. There is noEric Andersen2001-04-301-4/+4
| | | | | need for the useless sh_link dummy target -- use the real thing. -Erik
* Fix user permissions of copied directories.Matt Kraai2001-04-301-1/+8
|
* Simplify permission handling for FIFOs.Matt Kraai2001-04-301-12/+1
|
* Fix exit status when there is an error copying a file.Matt Kraai2001-04-301-1/+1
|
* Logic reversal for last_char_isGlenn L McGrath2001-04-292-2/+2
|
* fix to applet_source_list rule so Debian package continues to buildDavid Kimdon2001-04-281-1/+1
|
* Matt was complaining. Hopefully this helps the sh.c link situationEric Andersen2001-04-271-4/+4
|
* Terminate source correctly when copying symlink. Report and patch byMatt Kraai2001-04-271-2/+3
| | | | Brian Webb <webbb@desertscenes.net>.
* Use BUFSIZ for the_command to match size used in cmdeditEric Andersen2001-04-272-2/+2
|
* An update to hush from Larry:Eric Andersen2001-04-272-188/+40
| | | | | | | | | | | 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
* Be a bit more sneaky about the sh.c symlink so you don't need toEric Andersen2001-04-261-2/+4
| | | | | do a mke clean for it to happen. -Erik
* Ignore some generated filesEric Andersen2001-04-262-1/+2
|
* This is the initial checkin of Larry Doolittle's hush.c, using hisEric Andersen2001-04-264-1935/+4383
| | | | | | | | | | | | 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
* Disable lashEric Andersen2001-04-264-0/+4
| | | | -Erik
* These days busybox.pod is autogenerated, so it should be removedEric Andersen2001-04-261-2549/+0
| | | | from CVS.
* A fix from Larry for a corner case where insmod could end upEric Andersen2001-04-262-6/+16
| | | | doing an xrealloc(0).
* Fix handling of permission addition and removal (e.g., o-r).Matt Kraai2001-04-262-18/+18
|
* Doh. I never allocated storate for the struct stat I am using.Eric Andersen2001-04-262-6/+6
| | | | | There was just a never initialized pointer. -Erik
* Fix handling of -R flag.Matt Kraai2001-04-266-0/+6
|
* Another nice cleanup from Larry. This adds a new last_char_is() function andEric Andersen2001-04-2612-11/+46
| | | | | | uses it to avoid possible buffer underruns whn strlen is zero, and avoid the possible space-hogging inline of strlen() in several cases. -Erik
* As Larry pointed out, this the off by one canbe fixed much more elegantly.Eric Andersen2001-04-266-6/+6
|
* Fix a silly off-by-one error noticed by Santiago Garcia Mantinan ↵Eric Andersen2001-04-266-6/+6
| | | | | | <manty@debian.org> -Erik
* Applied patch from Larry Doolittle to fix pristine build breakage.Mark Whitley2001-04-251-0/+1
|
* Removed obsoleted BB_FEATURE_RM_INTERACTIVEMark Whitley2001-04-255-24/+3
|
* Applied patch from I.Q. to add -s to cmp.Mark Whitley2001-04-255-18/+49
|
* libbb.h now includes ../busybox.h. This way, files in libbb that haveMark Whitley2001-04-253-1/+9
| | | | | BB_[FEATURE] #defines won't be ignored. Credit to Magnus Damm for spotting this.