aboutsummaryrefslogtreecommitdiff
path: root/shell
AgeCommit message (Collapse)Author
2006-08-03Remove xcalloc() and convert its callers to xzalloc(). About half of themRob Landley
were using "1" as one of the arguments anyway, and as for the rest a multiply and a push isn't noticeably bigger than pushing two arguments on the stack.
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-16Cleaup read() and write() variants, plus a couple of new functions likeRob Landley
xlseek and fdlength() for the new mkswap.
2006-07-12A couple things that got tangled up in my tree, easier to check in both thanRob Landley
untangle them: Rewrite u_signal_names() into get_signum() and get_signame(), plus trim the signal list to that required by posix (they can specify the numbers for the rest if they really need them). (This is preparatory cleanup for adding a timeout applet like Roberto Foglietta wants.) Export the itoa (added due to Denis Vlasenko, although it's not quite his preferred implementation) from xfuncs.c so it's actually used, and remove several other redundant implementations of itoa and utoa() in the tree.
2006-07-09Bugfix from Shaun Jackman (check that argv[optind] isn't null beforeRob Landley
dereferencing it) plus a bunch of tweaks from me.
2006-07-06Bug fix from Vladimir Oleynic via Paul Fox for:Rob Landley
echo "+bond0" > /sys/class/net/bonding_masters while true; do echo hello done
2006-07-03Remove the silly redundancy from that header file include."Robert P. J. Day"
2006-07-02Standardize on the vi editing directives being on the first line."Robert P. J. Day"
2006-07-01Patch from Shaun Jackman moving the var=value logic to here it can do some good.Rob Landley
2006-07-01Get rid of all "#if 0" content."Robert P. J. Day"
2006-07-01Remove all usage of the "register" storage class specifier."Robert P. J. Day"
2006-07-01Remove "#if 1" directives."Robert P. J. Day"
2006-06-26dont setpgrp() for now as it breaks system() and that is more important than ↵Mike Frysinger
ctrl+c handling of background processes
2006-06-25- convert old-style parameter declarations (K&R) to modern style.Bernhard Reutner-Fischer
2006-06-21- add note about strict orderingBernhard Reutner-Fischer
2006-06-21Jean Wolter writes: ash uses bsearch to search in the list of built-in ↵Mike Frysinger
commands, therefore the list of built-in commands has to be ordered. Revision 15077 introduced the source built-in and destroyed this order. And now ash doesn't find the shift command anymore.
2006-06-20Cleanup patch from Shaun Jackman converting %m to perror.Rob Landley
2006-06-20assign default debug level to the MSHDEBUG defineMike Frysinger
2006-06-19Make some 64 bit warnings go away on x86-64.Rob Landley
2006-06-14Upgrade the standalone shell code to use CONFIG_BUSYBOX_EXEC_PATH.Rob Landley
2006-06-13Patch from Shaun Jackman to detect "name=value" variable assignments. RandomRob Landley
cleanup at the end by me to make some unrelated #ifdefs go away...
2006-06-13Make lash smaller. (Use llist_t for file closing, and different allocationRob Landley
functions.)
2006-06-08remove leading "Enable" from the config option text. not only is itPaul Fox
redundant, but it made the menuconfig shortcut mechanism mostly useless, since so many of the entries started with 'E'.
2006-06-08made "test" an ash built-in.Paul Fox
moved the contents of libbb/bb_echo.c back into coreutils/echo.c, which is a more reasonable place for them than libbb. this forces anyone who wants echo and test to be builtin to ash to also have them available as applets. their cost is very small, and the number of people who wouldn't want them as applets is also very small. added warning about shell builtins vs. CONFIG_FEATURE_SH_STANDALONE_SHELL, which conflicts with their use. thanks to nathanael copa for debugging help. some string size optimization in test.c may have been lost with this commit, but this is a good new baseline.
2006-06-07- reuse strings and messages. Saves about 600BBernhard Reutner-Fischer
2006-06-06make the default prompt suck less when using fancy promptsMike Frysinger
2006-06-032006-06-02 Shaun Jackman <sjackman@gmail.com>Bernhard Reutner-Fischer
* shell/lash.c (pseudo_exec) [_NEWLIB_VERSION]: Remove the __getopt_initialized hackery.
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-06-02use xmalloc()Mike Frysinger
2006-05-27Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley
2006-05-26- use portability wrapper define bb_setpgrp.Bernhard Reutner-Fischer
2006-05-19- replace _PATH_DEVNULL with bb_dev_nullBernhard Reutner-Fischer
2006-05-13pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Mike Frysinger
mailing list
2006-05-12Patch from Lucas C. Villa Real adding "source" as a synonym for the "." command.Rob Landley
2006-05-05didnt mean to commit debug enableMike Frysinger
2006-05-05use %p when printing pointers, not %xMike Frysinger
2006-05-05fix Bug 659 as reported by Robin GetzMike Frysinger
2006-04-13Patch from Robert P Day: let menuconfig indent stuff for us, we don't haveRob Landley
to do it in Config.in.
2006-03-13- revert back to r14406Bernhard Reutner-Fischer
2006-03-10Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley
the busybox binary) into enums (which don't).
2006-03-09- backout using features which are not available with the previous stableBernhard Reutner-Fischer
version of make (3.71.1).
2006-03-07vi-mode changes: eliminate warnings from out-of-range-for-typePaul Fox
case labels that are emitted by gcc4. rearrange macros to eliminate these extra case labels entirely (since the optimizer may no longer do it for us). eliminate static BUFSIZ character deletion buffer -- malloc it, and make it much much smaller.
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2006-03-03Typo fixes brought to you by the letters a, l, and Robert P. Day.Rob Landley
2006-03-02- use absolute path for top_builddir and top_srcdir.Bernhard Reutner-Fischer
Fixes make trying to include the very same file in an endless loop.
2006-03-01- fixes parallel builds (make -j)Bernhard Reutner-Fischer
- use less resources for the buildsystem itself
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-21Don't build directory libraries unless we're building an applet that needs it.Rob Landley
Cherry-picked from Devin Bayer's big MacOS X patch.