aboutsummaryrefslogtreecommitdiff
path: root/shell/hush.c
AgeCommit message (Collapse)Author
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-02-03assorted fixes for bugs found with randomconfigDenis Vlasenko
2007-01-30hush: style fixesDenis Vlasenko
2007-01-30hush: now it's -Wwrite-strings cleanDenis Vlasenko
2007-01-30hush: style fixesDenis Vlasenko
2007-01-30hust: -Wwrite-strings fixesDenis Vlasenko
2007-01-29preparatory patch for -Wwrite-strings #2Denis Vlasenko
2007-01-22cmdedit is not a 'command' editing anymore, it's just editing (generic),Denis Vlasenko
so rename stuff accordingly.
2007-01-22Convert cmdedit into more generic line input facilityDenis Vlasenko
(make history and completion optional at runtime). Use it for fdisk, as an example. Some unrelated fixes in fdisk are also here.
2007-01-19openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeDenis Vlasenko
(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();
2006-12-26style fixesDenis Vlasenko
last xcalloc replaced by xzalloc
2006-11-27style cleanup: return(a) -> return a, part 2Denis Vlasenko
2006-11-27style cleanup: return(a) -> return a, part 1Denis Vlasenko
2006-10-20message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko
2006-10-11hush.c: stop using __FILE__ (bad in out-of-tree builds)Denis Vlasenko
2006-09-29Yet another silly little byte saving. couldn't -> cannotDenis Vlasenko
2006-09-15Unbreak allbareconfig.Rob Landley
2006-08-29Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damageRob Landley
(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).
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
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.)
2006-07-19Replace the previous checkin with the correct fix.Rob Landley
2006-07-18For now, get around the error that "child" might be uninitialized."Robert P. J. Day"
2006-07-01Get rid of all "#if 0" content."Robert P. J. Day"
2006-07-01Remove "#if 1" directives."Robert P. J. Day"
2006-06-20Cleanup patch from Shaun Jackman converting %m to perror.Rob Landley
2006-06-02- move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer
and eventual platform specific includes in early.
2006-02-24I was playing around with a dependency generator a couple weeks ago and I foundRob Landley
some #include files that aren't in the tree. No biggie...
2006-02-16moved BB_BANNER to applets/version.c file: make kernel like version, "Vladimir N. Oleynik"
removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
2006-01-31quick analize signed->unsigned: protect overflow of map[char], getchar->EOF. ↵"Vladimir N. Oleynik"
Use ATTRIBUTE_UNUSE.
2006-01-30fix up yet more annoying signed/unsigned and mixed type errorsEric Andersen
2006-01-25just whitespaceTim Riker
2006-01-22- add platform.h.Bernhard Reutner-Fischer
- use shorter boilerplate while at it.
2005-12-12Uninitialized variable causing intermittent syntax errors (bug 449).Rob Landley
2005-10-17data --> text"Vladimir N. Oleynik"
2005-09-22Reduce exported from hush applet"Vladimir N. Oleynik"
2004-04-14Larry Doolittle writes:Eric Andersen
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
2004-04-12Wolfgang Denk writes:Eric Andersen
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
2004-04-12Jamie Guinan writes:Eric Andersen
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
2004-04-07Remove the CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN option. It was sortofEric Andersen
stupid and didn't work properly anyways.
2004-03-27s/fileno\(stdin\)/STDIN_FILENO/gEric Andersen
s/fileno\(stdout\)/STDOUT_FILENO/g
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-03-19Major coreutils update.Manuel Novoa III
2002-12-06Make hush comple once againEric Andersen
2002-11-28Change if(x)free(x); to free(x);Aaron Lehmann
2002-04-13Nice patch from Wolfgang Denk <wd@denx.de> to provide hush withEric Andersen
shell loops (for, while, until) and control operators (||, &&)
2001-10-31Fixup some silly prototype warningsEric Andersen
2001-10-28Add in some (theoretical) uClinux support. Some init cleanupsEric Andersen
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-10-19Add an option to make the shells not advertise their busybox natureEric Andersen
2001-08-01Allow multiple shells to be enabled.Matt Kraai