aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-05-29- set_term() doesn't need an argument. (Like r15220 this is just compile-tested)Bernhard Reutner-Fischer
text data bss dec hex filename 5432 32 8 5472 1560 init/init.o.r15220 5426 32 8 5466 155a init/init.o
2006-05-29- move common code into new open_new_terminal() function;Bernhard Reutner-Fischer
text data bss dec hex filename 864434 10244 645892 1520570 1733ba busybox_old 864386 10244 645892 1520522 17338a busybox_unstripped add/remove: 1/0 grow/shrink: 0/2 up/down: 92/-143 (-51) function old new delta open_new_terminal - 92 +92 exec_signal 345 276 -69 run 1527 1453 -74 Again, 48 != 51 so let's trust the former..
2006-05-29- just whitespaceBernhard Reutner-Fischer
2006-05-29- ls: remove unused variableBernhard Reutner-Fischer
- dpkg.c, diff: use xstat text data bss dec hex filename 848823 9100 645216 1503139 16efa3 busybox_old 848679 9100 645216 1502995 16ef13 busybox_unstripped bloatcheck is completely useless as it sees -79 for this, which is bogus.
2006-05-29More size shrinkage.Rob Landley
2006-05-29Size reductions, mostly switching things to use libbb functions.Rob Landley
2006-05-29Add SWAP_LE?? and SWAP_BE?? macros, and make things use them. Converts valuesRob Landley
to/from little endian or big endian, which is a NOP if that's what the current platform already is.
2006-05-29This is not C++.Rob Landley
2006-05-29A few new todo items from email with Bernhard.Rob Landley
2006-05-29Remove _() and N_() from platform.h. #define them as NOP macros in the twoRob Landley
files still using them. I didn't remove them from e2fsck.c to avoid stomping pending cleanup patches from Garrett, and I didn't bother to remove them from fdisk.c because that entire file needs to be rewritten from scratch.
2006-05-29Remove _().Rob Landley
2006-05-29Remove _().Rob Landley
2006-05-28I changed last10 to last25, and just bumped it up to 50 so I renamed itRob Landley
"recent.html". There's a symlink from each of the old names for the moment, I'll zap those eventually...
2006-05-28Fix hdparm to use PRIu64 instead of typecasting to long long (which is 128 bitsRob Landley
on 64 bit platforms), and move #include <inttypes.h> to libbb.h.
2006-05-28Put the ending quote on the help entry...Rob Landley
2006-05-28Fix some warnings in allbareconfig.Rob Landley
2006-05-28My first bout of untangling udhcp. Make lots of gratuitous #defines goRob Landley
away, substitutie BB_VER for an external VERSION, use busybox CONFIG symbols rather than checking for them then defining others, etc. Lots more cleanup to do...
2006-05-27Move portability stuff to platform.h, and clean up adjtimex.c a bit whileRob Landley
I'm in the area.
2006-05-27Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley
2006-05-27Update FAQ to mention make baseline when talking about make bloatcheck.Rob Landley
2006-05-27Consolidate the .PHONY targets and add "make baseline" for bloatcheck.Rob Landley
2006-05-27- use the defines CURRENT_TTY and VC_1; also shrink xargs a tiny bit:Bernhard Reutner-Fischer
add/remove: 0/0 grow/shrink: 2/6 up/down: 5/-37 (-32) function old new delta static.add_interface 271 274 +3 static.glob3 36 38 +2 static.renice_main 409 408 -1 static.readcmd 1083 1081 -2 static.changepath 176 174 -2 static.parse_opts 56 51 -5 static.rx_main 1095 1088 -7 static.xargs_main 759 739 -20 ---------------------------------------------------------------- Result :-) -32
2006-05-26Change llist_add_* to take the address of the list rather than returning the newRob Landley
head, and change all the callers.
2006-05-26Slight sanity fix: data is void *, not char *. And it's called dataRob Landley
almost everywhere, so be consistent.
2006-05-26- provide fallback defines for non-linuxBernhard Reutner-Fischer
2006-05-26- provide fallback defines for non-linuxBernhard Reutner-Fischer
2006-05-26- add central knob to turn off getopt_long everywhere. EXPERIMENTAL!Bernhard Reutner-Fischer
Adds "Enable getopt long" under "General options", default y. Send patches to fix getopt_ulflags and run_parts.c if you turn this off.. See http://busybox.net/lists/busybox/2006-May/021828.html for a start to run-parts
2006-05-26- use strtol instead of strtoll if the latter does not existBernhard Reutner-Fischer
- add and use wrapper for attribute - add and use replacement for vasprintf if it is unavailable
2006-05-26- introduce and use bb_path_wtmp_file for portability (saves 11 Bytes).Bernhard Reutner-Fischer
- fix last.c to also look at the double-underscore UT_ defines.
2006-05-26- use portability wrapper define bb_setpgrp.Bernhard Reutner-Fischer
2006-05-26- work around bug in gcc-3.4.x on ARMBernhard Reutner-Fischer
2006-05-26- move llist to top of file so we can potentially use it in all prototypes ↵Bernhard Reutner-Fischer
easily
2006-05-26- make find_mount_point conditional on df and eject; Fixes `make hosttools´ onBernhard Reutner-Fischer
hosts where mntent.h does not exist.
2006-05-26- add workaround for tar being broken since it uses a non-portable constant.Bernhard Reutner-Fischer
2006-05-26- use the SED given by the userBernhard Reutner-Fischer
- use the portable `` instead of $(). There is no bbsh, so this is needed.
2006-05-26- add target hosttools (see make help)Bernhard Reutner-Fischer
- rename check_gcc to check_cc and pass the CC to use as arg#1; peruse check_cc for HOSTCFLAGS - add and use check_strip - add checks for {,no-}whole-archive and {start,end}-group LD flags
2006-05-26- use ATTRIBUTE_ALWAYS_INLINE if requestedBernhard Reutner-Fischer
- use shorter boilerplate while at it
2006-05-26- move libc checks from busybox.h to platform.hBernhard Reutner-Fischer
- add ATTRIBUTE_ALWAYS_INLINE, endian handling for DEC UNIX, some more compiler dependent defines to platform.h - add conditional bb_setpgrp define to platform.h - remove superfluous specifying args from "#define fdprintf dprintf"
2006-05-26- patch from Tito to pretty print the overall deltaBernhard Reutner-Fischer
2006-05-26Yann E. MORIN. writes:Mike Frysinger
hdparm has a uint64_t passed to printf with a %llu format (which is ok, because it's the same size), but without first being casted(?) to unsigned long long int. Which is kinda funny because it's done OK on a few lines above...
2006-05-26errno and h_errno values are not the same #876 by rfelkerMike Frysinger
2006-05-26fix spelling mistakesMike Frysinger
2006-05-26check for queueing dependancy dependancies typosMike Frysinger
2006-05-26queuing is spelled correctlyMike Frysinger
2006-05-25Rich Felker suggested removing dprintf() from watch, and one thing led toRob Landley
another... This adds bb_xspawn() support, which does vfork/exec. (I don't know why using a static instead of a local adds ~40 bytes, but using the local doesn't work...)
2006-05-25And fix the error I just introduced. :)Rob Landley
2006-05-25Remove pointless #define.Rob Landley
2006-05-25Patch from Tito:Rob Landley
Remove -v verbose -V version -q quiet flags Remove parse_opt_v2(); Rename parse_opt_v3() to parse_xfermode() Remove if_strcat() Rearrange code in  dump_identity() to reduce size Modify some strings so that they could be optimized by the compiler Minor code clean up Remove unneeded #define <shm.h> #if BB_BIG_ENDIAN && !defined(__USE_XOPEN) # define __USE_XOPEN #endif     Must be before #include <unistd.h> and #include "busybox.h" (noticed by Bernhard Fischer <rep.nop@aon.at>) Remove duplicate code in do_time()
2006-05-25Remove a pointless #define.Rob Landley
2006-05-25make the testsuite a little less brittle:Bernhard Reutner-Fischer
- 'function fn_name\n{' breaks on older FreeBSD default shells, so use the more widely supported 'fn_name () {'. This needs more fixing.. - test for integers ought to use the proper operators - test for strings ought to use quoting of the strings to be fair to strange implementations of test(1) - make sure not to ignore return-codes != 0 from commands; Some shells exit immediately on this (much like explicitely requesting set -e in e.g. bash) TODO: *) Some older shells do not allow a space after the test-condition in an "if" statement. This doesn't work: if [ $status -ne 0 ] ; then as opposed to this: if [ $status -ne 0 ]; then or this if [ $status -ne 0 ] then *) strict spacing between commands. In some shells you have to say: foo ; bar ; baz The affected shells barf on stuff like ommitting the space, so this doesn't work: foo; bar ;baz *) $() vs. `` The former isn't really portable as opposed to the latter. *) fix frong assumption that the testsuite is run from the source-dir. This is a complete misconception and renders the testsuite completely useless. That said, i note that IMO a test-harness ought to do it's best to work in a wide variety of environments, everything else defeats it's purpose.