summaryrefslogtreecommitdiff
path: root/shell/hush.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko2006-10-201-1/+1
|
* hush.c: stop using __FILE__ (bad in out-of-tree builds)Denis Vlasenko2006-10-111-1/+2
|
* Yet another silly little byte saving. couldn't -> cannotDenis Vlasenko2006-09-291-2/+2
|
* Unbreak allbareconfig.Rob Landley2006-09-151-5/+2
|
* Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damageRob Landley2006-08-291-23/+19
| | | | | (the e2fsprogs directory is too twisty and evil to easily fix, but I plan to rewrite it anyway so I'll just bump that up in priority a bit).
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-2/+2
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* Replace the previous checkin with the correct fix.Rob Landley2006-07-191-2/+2
|
* For now, get around the error that "child" might be uninitialized."Robert P. J. Day"2006-07-181-1/+1
|
* Get rid of all "#if 0" content."Robert P. J. Day"2006-07-011-62/+0
|
* Remove "#if 1" directives."Robert P. J. Day"2006-07-011-14/+1
|
* Cleanup patch from Shaun Jackman converting %m to perror.Rob Landley2006-06-201-1/+1
|
* - move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer2006-06-021-1/+2
| | | | and eventual platform specific includes in early.
* I was playing around with a dependency generator a couple weeks ago and I foundRob Landley2006-02-241-1/+1
| | | | some #include files that aren't in the tree. No biggie...
* moved BB_BANNER to applets/version.c file: make kernel like version, "Vladimir N. Oleynik"2006-02-161-2/+3
| | | | removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
* quick analize signed->unsigned: protect overflow of map[char], getchar->EOF. ↵"Vladimir N. Oleynik"2006-01-311-12/+12
| | | | Use ATTRIBUTE_UNUSE.
* fix up yet more annoying signed/unsigned and mixed type errorsEric Andersen2006-01-301-3/+3
|
* just whitespaceTim Riker2006-01-251-10/+10
|
* - add platform.h.Bernhard Reutner-Fischer2006-01-221-14/+2
| | | | - use shorter boilerplate while at it.
* Uninitialized variable causing intermittent syntax errors (bug 449).Rob Landley2005-12-121-0/+1
|
* data --> text"Vladimir N. Oleynik"2005-10-171-7/+7
|
* Reduce exported from hush applet"Vladimir N. Oleynik"2005-09-221-13/+15
|
* Larry Doolittle writes:Eric Andersen2004-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
* Wolfgang Denk writes:Eric Andersen2004-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | He, there is a bug in HUSH's handling of "if" / "elif" commands: $ if true > then > echo 1 > elif > true > then > echo 2 > elif > true > then > echo 3 > else > echo 4 > fi 1 2 3 $ The same bug exists in all versions of HUSH from BB v0.60.x up to and including v1.00-pre9. The attached patch fixes this: $ if true > then > echo 1 > elif > true > then > echo 2 > elif > true > then > echo 3 > else > echo 4 > fi 1 $ Best regards, Wolfgang Denk
* Jamie Guinan writes:Eric Andersen2004-04-121-2/+2
| | | | | | | | | | | It looks like latest uClibc defines ARCH_HAS_MMU, but a few busybox files test UCLIBC_HAS_MMU, resulting in vfork() getting called instead of fork(), etc. Patch below. Only tested for lash. Cheers, -Jamie
* Remove the CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN option. It was sortofEric Andersen2004-04-071-12/+0
| | | | stupid and didn't work properly anyways.
* s/fileno\(stdin\)/STDIN_FILENO/gEric Andersen2004-03-271-1/+1
| | | | s/fileno\(stdout\)/STDOUT_FILENO/g
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-56/+56
|
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-8/+10
|
* Major coreutils update.Manuel Novoa III2003-03-191-33/+33
|
* Make hush comple once againEric Andersen2002-12-061-1/+1
|
* Change if(x)free(x); to free(x);Aaron Lehmann2002-11-281-3/+2
|
* Nice patch from Wolfgang Denk <wd@denx.de> to provide hush withEric Andersen2002-04-131-39/+308
| | | | shell loops (for, while, until) and control operators (||, &&)
* Fixup some silly prototype warningsEric Andersen2001-10-311-3/+3
|
* Add in some (theoretical) uClinux support. Some init cleanupsEric Andersen2001-10-281-1/+10
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-10/+11
| | | | -Erik
* Add an option to make the shells not advertise their busybox natureEric Andersen2001-10-191-1/+4
|
* Allow multiple shells to be enabled.Matt Kraai2001-08-011-4/+4
|
* Patch from vodz:Eric Andersen2001-07-121-5/+2
| | | | | | | Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function
* More thrashing about trying to make hush behave itself wrt jobEric Andersen2001-06-281-16/+18
| | | | control...
* Explicitly call setsid()Eric Andersen2001-06-261-0/+1
|
* Don't choke if /etc/profile is not availableEric Andersen2001-06-261-8/+7
|
* Vladimir's last_patch_15Glenn L McGrath2001-06-261-1/+1
|
* Fix the code for establishing a controlling terminal.Eric Andersen2001-06-251-28/+42
| | | | -Erik
* Some more cleanups. Of special importance, never free a pipeEric Andersen2001-06-221-27/+52
| | | | | | that still has running jobs. Instead, we ignore it and expect it to be cleaned by the background job stuff. -Erik
* Some cleanups for hush. Saves about 350bytes.Eric Andersen2001-06-221-98/+67
| | | | -Erik
* Another hush update from Larry:Eric Andersen2001-06-071-14/+16
| | | | | | | Fixes the interaction between if/then/else/fi syntax and variables. I planned to do it right from the beginning, but my implementation was buggy. Also adds the relevant test cases. Also adds some old Matt Kraai variable test cases that got left out somehow.
* A patch from Larry to fix pathological things like '>""'Eric Andersen2001-06-061-5/+13
|
* Don't close file descriptors when we are duplicating them.Matt Kraai2001-06-051-1/+2
|
* Cope gracefully when people type something, then hit ^C.Eric Andersen2001-05-311-1/+4
| | | | -Erik
* Plug another memory leakEric Andersen2001-05-241-0/+1
|