summaryrefslogtreecommitdiff
path: root/shell/hush.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* assorted fixes for bugs found with randomconfigDenis Vlasenko2007-02-031-4/+4
|
* hush: style fixesDenis Vlasenko2007-01-301-89/+105
|
* hush: now it's -Wwrite-strings cleanDenis Vlasenko2007-01-301-26/+32
|
* hush: style fixesDenis Vlasenko2007-01-301-314/+332
|
* hust: -Wwrite-strings fixesDenis Vlasenko2007-01-301-15/+18
|
* preparatory patch for -Wwrite-strings #2Denis Vlasenko2007-01-291-1/+2
|
* cmdedit is not a 'command' editing anymore, it's just editing (generic),Denis Vlasenko2007-01-221-9/+10
| | | | so rename stuff accordingly.
* Convert cmdedit into more generic line input facilityDenis Vlasenko2007-01-221-3/+10
| | | | | | (make history and completion optional at runtime). Use it for fdisk, as an example. Some unrelated fixes in fdisk are also here.
* openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeDenis Vlasenko2007-01-191-3/+3
| | | | | | | | | (will close all fd's > 2 on daemonization now) getty: fix "getty -" support, and also do not try to chown/chmod "-" telnetd: fix "lost ctty" bug Yet another attempt on saner function names: bb_sanitize_server_stdio(0/1) -> bb_sanitize_stdio() + bb_daemonize();
* style fixesDenis Vlasenko2006-12-261-1/+1
| | | | last xcalloc replaced by xzalloc
* style cleanup: return(a) -> return a, part 2Denis Vlasenko2006-11-271-2/+2
|
* style cleanup: return(a) -> return a, part 1Denis Vlasenko2006-11-271-2/+2
|
* 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
|