aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-06-03Remove #ifdeffed out code, both KEEP_UNUSED and #if 0.Rob Landley
2006-06-03- remove superfluous call of stack_machine(0) upon exit.Bernhard Reutner-Fischer
2006-06-03- no need to have timer_duration in the data section.Bernhard Reutner-Fischer
- cleanup a little bit while at it.
2006-06-03- use bb_msg_write_error in 3 placesBernhard Reutner-Fischer
- whitespace
2006-06-03- 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-03- move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer
and eventual platform specific includes in early. - remove two supposedly superfluous newlines from ...error_msg() in modprobe and use shorter boilerplate while at it.
2006-06-03- patch from Yann E. Morin: makes modprobe understand shell patternsBernhard Reutner-Fischer
(especially '*') in module aliases, such as: "alias usb:v0582p0075d*dc*dsc*dp*ic*isc*ip* snd_usb_audio" Fixes bug #889 842162 10244 645924 1498330 16dcda busybox.old-4.1.20060603-1948 842178 10244 645924 1498346 16dcea busybox.new-4.1.20060603-1948
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-03- No options should set the current system time.Bernhard Reutner-Fischer
Shaun Jackman writes: A bug introduced in svn 11946 broke rdate. It no longer sets the current system time when no options are specified. The options have the opposite sense from what one might think, and, oddly enough, -ps is intentionally a no-op. Quoth rdate(8) from the BSD System Manager's Manual: -p Do not set, just print the remote time -s Do not print the time.
2006-06-02Patch from Atsushi Nemoto:Rob Landley
This patch make depmod.pl more robust in cross environment.  If native nm did not recognize target's object, you can override it with NM environment variable.
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-02Header cleanup: don't #include headers that libbb.h already includes.Rob Landley
2006-06-02#ifdef reduction.Rob Landley
2006-06-02- fix CONFIG_DEBUG_INIT compile failureBernhard Reutner-Fischer
2006-06-02use xmalloc()Mike Frysinger
2006-06-02fix fdflish typo (reported by erik hovland)Paul Fox
2006-06-01- look at bb_applet_name. Should close bugs #892 and #893Bernhard Reutner-Fischer
also restructure code a bit so the fix only adds 1 byte..
2006-06-01- shrink logread a bit.Bernhard Reutner-Fischer
text data bss dec hex filename 862 26 188 1076 434 logread.o.orig 825 26 188 1039 40f logread.o
2006-06-01make halt and poweroff messages more accurate (i.e., claim "we're about to",Paul Fox
rather than "it's done", and combine with reboot handler to save space.
2006-06-01Shaun Jackman pointed out that KERNEL_VERSION() is used without guards, soRob Landley
defining it in a guard is silly.
2006-06-01The common case APPLET() macro only needs three arguments.Rob Landley
2006-05-31Bugfix from Shaun Jackman: don't attempt to write 64 bytes and then fail ifRob Landley
the write wasn't 192 bytes long.
2006-05-31Add CONFIG_NITPICK. (And tweak a couple other help entries while I'm there.)Rob Landley
Nothing's actually using it yet, but we need it.
2006-05-31Patch from Tito to remove long options from hdparm.Rob Landley
2006-05-31Use BB endianness macro.Rob Landley
2006-05-31Header file cleanup. platform.h apparently needs to be included early on so itRob Landley
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.
2006-05-31Add catv (separate applet instead of cat -v). Also cleanup cat.c comments,Rob Landley
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. */
2006-05-31- fix IMA compile error i introduced when adding this untested snippet.Bernhard Reutner-Fischer
2006-05-31ha! a scratch-buffer! ;)Bernhard Reutner-Fischer
put the isdigit hack into it to help landley out..
2006-05-31- make getopt_ulflags aware of CONFIG_GETOPT_LONGBernhard Reutner-Fischer
2006-05-31- add CONFIG_FEATURE_WGET_LONG_OPTIONSBernhard Reutner-Fischer
2006-05-31- convert xcalloc(1,x) to xzallocBernhard Reutner-Fischer
2006-05-31- shrink klogd a bitBernhard Reutner-Fischer
text data bss dec hex filename 569 0 0 569 239 sysklogd/klogd.o.orig 537 0 0 537 219 sysklogd/klogd.o
2006-05-31- s/defined(__uClinux__)/BB_NOMMU/Bernhard Reutner-Fischer
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().
2006-05-31- conditionally define BB_NOMMUBernhard Reutner-Fischer
2006-05-30Since we have less than 100k of usage.h data anyway, using bzip -9 is silly.Rob Landley
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.
2006-05-30Test to see if I can rename a file without blanking its history...Rob Landley
2006-05-30Note about BB_NOMMU.Rob Landley
2006-05-30- consolidate "Sending SIG%s to all processes"; untested..Bernhard Reutner-Fischer
text data bss dec hex filename 5379 32 8 5419 152b init/init.o.oorig 5358 32 8 5398 1516 init/init.o
2006-05-30- this could use a brother which deals with glibc based systems..Bernhard Reutner-Fischer
2006-05-30- remove useless variable "status" from init_main.Bernhard Reutner-Fischer
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
2006-05-30- use config_buffer for message()Bernhard Reutner-Fischer
- 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
2006-05-30Put parentheses around some of the SWAP() macros, as pointed out by PeterRob Landley
Kjellerstedt.
2006-05-29Teach bloatometer about .rodata, and tweak the display into something thatRob Landley
has a better chance of getting merged.
2006-05-29- cleanup conftest temporary files.Bernhard Reutner-Fischer
2006-05-29- DEBUG_INIT -> config CONFIG_DEBUG_INITBernhard Reutner-Fischer
2006-05-29- landley, remove this?Bernhard Reutner-Fischer
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