aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* - shrink logread a bit.aldot2006-06-011-22/+6
| | | | | | | | | text data bss dec hex filename 862 26 188 1076 434 logread.o.orig 825 26 188 1039 40f logread.o git-svn-id: svn://busybox.net/trunk/busybox@15260 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make halt and poweroff messages more accurate (i.e., claim "we're about to",pgf2006-06-011-24/+21
| | | | | | | rather than "it's done", and combine with reboot handler to save space. git-svn-id: svn://busybox.net/trunk/busybox@15259 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Shaun Jackman pointed out that KERNEL_VERSION() is used without guards, solandley2006-06-011-2/+0
| | | | | | | defining it in a guard is silly. git-svn-id: svn://busybox.net/trunk/busybox@15258 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The common case APPLET() macro only needs three arguments.landley2006-06-011-232/+232
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15257 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bugfix from Shaun Jackman: don't attempt to write 64 bytes and then fail iflandley2006-05-311-1/+4
| | | | | | | the write wasn't 192 bytes long. git-svn-id: svn://busybox.net/trunk/busybox@15256 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add CONFIG_NITPICK. (And tweak a couple other help entries while I'm there.)landley2006-05-311-15/+37
| | | | | | | Nothing's actually using it yet, but we need it. git-svn-id: svn://busybox.net/trunk/busybox@15255 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Tito to remove long options from hdparm.landley2006-05-313-28/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15254 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use BB endianness macro.landley2006-05-311-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15253 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Header file cleanup. platform.h apparently needs to be included early on so itlandley2006-05-312-36/+21
| | | | | | | | | | | | | | can figure out what header files to include, and override stuff that comes later. But applets shouldn't include platform.h directly, they should include busybox.h or libbb.h. Since busybox.h already includes libbb.h, move libbb.h to the top of busybox.h and platform.h near the top of libbb.h (right after bbconfig.h, which is something platform.h also needs access to). While we're at it, move some stuff from busybox.h to libbb.h so we have one big file to audit/clean up/try to make sense of instead of many. git-svn-id: svn://busybox.net/trunk/busybox@15252 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add catv (separate applet instead of cat -v). Also cleanup cat.c comments,landley2006-05-316-29/+82
| | | | | | | | | | | | | | | | | | | | | the following of which (from cat.c) belongs in svn history instead of the source code: /* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) * * This is a new implementation of 'cat' which aims to be SUSv3 compliant. * * Changes from the previous implementation include: * 1) Multiple '-' args are accepted as required by SUSv3. The previous * implementation would close stdin and segfault on a subsequent '-'. * 2) The '-u' options is required by SUSv3. Note that the specified * behavior for '-u' is done by default, so all we need do is accept * the option. */ git-svn-id: svn://busybox.net/trunk/busybox@15251 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix IMA compile error i introduced when adding this untested snippet.aldot2006-05-312-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15250 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ha! a scratch-buffer! ;)aldot2006-05-311-0/+25
| | | | | | | put the isdigit hack into it to help landley out.. git-svn-id: svn://busybox.net/trunk/busybox@15249 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - make getopt_ulflags aware of CONFIG_GETOPT_LONGaldot2006-05-311-1/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15248 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add CONFIG_FEATURE_WGET_LONG_OPTIONSaldot2006-05-312-0/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15247 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - convert xcalloc(1,x) to xzallocaldot2006-05-311-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15246 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shrink klogd a bitaldot2006-05-311-35/+37
| | | | | | | | | text data bss dec hex filename 569 0 0 569 239 sysklogd/klogd.o.orig 537 0 0 537 219 sysklogd/klogd.o git-svn-id: svn://busybox.net/trunk/busybox@15245 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - s/defined(__uClinux__)/BB_NOMMU/aldot2006-05-317-19/+19
| | | | | | | | | | This needs a second pass to: + add bb_daemon(unsigned char no_chdir, unsigned char no_close, const char*flag) + eventually globally export argc and argv, so we don't need to pass it to bb_daemon(). git-svn-id: svn://busybox.net/trunk/busybox@15244 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - conditionally define BB_NOMMUaldot2006-05-311-4/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15243 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Since we have less than 100k of usage.h data anyway, using bzip -9 is silly.landley2006-05-301-1/+1
| | | | | | | | | | | | That says use 900k chunks when compressing, which needs about 4 megs of data structures to undo the Burrows-Wheeler transform. Switching it down to bzip -1 (100k chunks) should have no impact on the compression (since it still all fits in one chunk) but should reduce runtime decompression memory requirements to something like 500k. Still larger than gunzip, but not egregiously so. git-svn-id: svn://busybox.net/trunk/busybox@15242 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Test to see if I can rename a file without blanking its history...landley2006-05-301-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15241 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Note about BB_NOMMU.landley2006-05-301-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15240 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - consolidate "Sending SIG%s to all processes"; untested..aldot2006-05-303-6/+7
| | | | | | | | | text data bss dec hex filename 5379 32 8 5419 152b init/init.o.oorig 5358 32 8 5398 1516 init/init.o git-svn-id: svn://busybox.net/trunk/busybox@15239 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - this could use a brother which deals with glibc based systems..aldot2006-05-301-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15238 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove useless variable "status" from init_main.aldot2006-05-301-3/+2
| | | | | | | | | | | | http://www.opengroup.org/onlinepubs/009695399/functions/waitpid.html suggests that we need not specify a status if we don't want, and we don't. "If wait() or waitpid() return because the status of a child process is available, these functions shall return a value equal to the process ID of the child process. In this case, if the value of the argument stat_loc is not a null pointer, information shall be stored in the location pointed to by stat_loc. " text data bss dec hex filename 5391 32 8 5431 1537 init/init.o.06 5379 32 8 5419 152b init/init.o git-svn-id: svn://busybox.net/trunk/busybox@15237 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use config_buffer for message()aldot2006-05-301-25/+14
| | | | | | | | | | | | | | | | | - add second argument to waitfor(*action,pid); if action==NULL then use pid tor wait for. If an action was given, we wait for the action to finish just as before. In run() remove second and third occurance of the same functionality the waitfor() call now provides. Adjust the former only caller of waitfor accordingly. PS: Not using waitfor but creating a second function used a few bytes more than simply extending and reusing waitfor. text data bss dec hex filename 5426 32 8 5466 155a init/init.o.orig 5391 32 8 5431 1537 init/init.o git-svn-id: svn://busybox.net/trunk/busybox@15236 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Put parentheses around some of the SWAP() macros, as pointed out by Peterlandley2006-05-301-6/+6
| | | | | | | Kjellerstedt. git-svn-id: svn://busybox.net/trunk/busybox@15226 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Teach bloatometer about .rodata, and tweak the display into something thatlandley2006-05-291-8/+10
| | | | | | | has a better chance of getting merged. git-svn-id: svn://busybox.net/trunk/busybox@15225 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - cleanup conftest temporary files.aldot2006-05-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15224 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - DEBUG_INIT -> config CONFIG_DEBUG_INITaldot2006-05-292-13/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15223 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - landley, remove this?aldot2006-05-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15222 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - set_term() doesn't need an argument. (Like r15220 this is just compile-tested)aldot2006-05-291-6/+6
| | | | | | | | | | text data bss dec hex filename 5432 32 8 5472 1560 init/init.o.r15220 5426 32 8 5466 155a init/init.o git-svn-id: svn://busybox.net/trunk/busybox@15221 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - move common code into new open_new_terminal() function;aldot2006-05-292-24/+28
| | | | | | | | | | | | | | | | 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.. git-svn-id: svn://busybox.net/trunk/busybox@15220 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - just whitespacealdot2006-05-291-731/+741
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15219 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - ls: remove unused variablealdot2006-05-293-21/+12
| | | | | | | | | | | - 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. git-svn-id: svn://busybox.net/trunk/busybox@15218 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More size shrinkage.landley2006-05-2911-197/+37
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15217 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Size reductions, mostly switching things to use libbb functions.landley2006-05-296-91/+26
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15216 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add SWAP_LE?? and SWAP_BE?? macros, and make things use them. Converts valueslandley2006-05-294-31/+29
| | | | | | | | to/from little endian or big endian, which is a NOP if that's what the current platform already is. git-svn-id: svn://busybox.net/trunk/busybox@15215 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This is not C++.landley2006-05-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15214 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A few new todo items from email with Bernhard.landley2006-05-291-0/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15213 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove _() and N_() from platform.h. #define them as NOP macros in the twolandley2006-05-293-12/+9
| | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@15212 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove _().landley2006-05-291-14/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15211 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove _().landley2006-05-291-52/+52
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15210 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I changed last10 to last25, and just bumped it up to 50 so I renamed itlandley2006-05-281-1/+1
| | | | | | | | "recent.html". There's a symlink from each of the old names for the moment, I'll zap those eventually... git-svn-id: svn://busybox.net/trunk/busybox@15209 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix hdparm to use PRIu64 instead of typecasting to long long (which is 128 bitslandley2006-05-284-6/+5
| | | | | | | on 64 bit platforms), and move #include <inttypes.h> to libbb.h. git-svn-id: svn://busybox.net/trunk/busybox@15208 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Put the ending quote on the help entry...landley2006-05-281-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15207 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix some warnings in allbareconfig.landley2006-05-282-5/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15206 69ca8d6d-28ef-0310-b511-8ec308f3f277
* My first bout of untangling udhcp. Make lots of gratuitous #defines golandley2006-05-2817-221/+86
| | | | | | | | | 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... git-svn-id: svn://busybox.net/trunk/busybox@15205 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move portability stuff to platform.h, and clean up adjtimex.c a bit whilelandley2006-05-272-58/+20
| | | | | | | I'm in the area. git-svn-id: svn://busybox.net/trunk/busybox@15204 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Consolidate #include <sys/time.h> so libbb.h does it.landley2006-05-2740-46/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15203 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update FAQ to mention make baseline when talking about make bloatcheck.landley2006-05-271-3/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15202 69ca8d6d-28ef-0310-b511-8ec308f3f277