Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | remove duplicate CONFIG_TASKSET option | Mike Frysinger | 2006-07-03 | 1 | -7/+1 | |
| | ||||||
* | Standardize on the vi editing directives being on the first line. | "Robert P. J. Day" | 2006-07-02 | 1 | -0/+1 | |
| | ||||||
* | Revert taskset for 1.2.0. It emits a warning, breaks building under RH9, | Rob Landley | 2006-06-30 | 3 | -68/+6 | |
| | | | | | and nobody seemed interested in fixing it despite repeated complaints. I'll worry about it in the 1.3 timeframe... | |||||
* | fix watchdog on no-mmu systems by adding -F option for rexec | Mike Frysinger | 2006-06-26 | 1 | -2/+9 | |
| | ||||||
* | Various cleanups I made while going through Erik Hovland's patch submissions, | Rob Landley | 2006-06-25 | 1 | -1/+1 | |
| | | | | some of which are even from him. :) | |||||
* | - convert old-style parameter declarations (K&R) to modern style. | Bernhard Reutner-Fischer | 2006-06-25 | 1 | -1/+1 | |
| | ||||||
* | Aurelien Jacobs pointed out inline functions that could be removed. Doing so | Rob Landley | 2006-06-21 | 1 | -29/+13 | |
| | | | | shrank the code a bit. | |||||
* | Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot of | Rob Landley | 2006-06-15 | 2 | -3/+0 | |
| | | | | | | fallout due to the #include <sys/mount.h>. Removed that #include from various applets and fixed up those that were unhappy when that #include was made because they'd block copied stuff out of it. (Sigh.) | |||||
* | Patch from Erik Hovland, via Tito. | Rob Landley | 2006-06-08 | 1 | -2/+2 | |
| | ||||||
* | Some day, maybe gcc will be able to optimize out static functions that are | Rob Landley | 2006-06-08 | 1 | -1/+2 | |
| | | | | never used so we don't have to #ifdef them. Wouldn't that be nice? | |||||
* | initial support for no-mmu systems | Mike Frysinger | 2006-06-07 | 1 | -0/+4 | |
| | ||||||
* | hint at where the Magic comes from | Mike Frysinger | 2006-06-07 | 1 | -1/+1 | |
| | ||||||
* | - do away with the comment that noted that the current implementation | Bernhard Reutner-Fischer | 2006-06-07 | 1 | -1/+1 | |
| | | | | unly supports linux. | |||||
* | Fix from Tito to read from stdin only when it's not a tty. | Rob Landley | 2006-06-07 | 1 | -3/+3 | |
| | ||||||
* | Consolidate devfs garbage and mark it as obsolete. | Rob Landley | 2006-06-07 | 1 | -2/+16 | |
| | ||||||
* | - add applet taskset to set/retrieve the CPU affinity of a process | Bernhard Reutner-Fischer | 2006-06-07 | 3 | -0/+74 | |
| | | | | | | | | | | text data bss dec hex filename 584 0 0 584 248 taskset.o.gcc-2.95 509 0 0 509 1fd taskset.o.gcc-3.3 505 0 0 505 1f9 taskset.o.gcc-3.4 506 0 0 506 1fa taskset.o.gcc-4.0 498 0 0 498 1f2 taskset.o.gcc-4.1 495 0 0 495 1ef taskset.o.gcc-4.2-HEAD | |||||
* | Tito writes: this patch fixes two potential bugs with the -i -I flags that ↵ | Mike Frysinger | 2006-06-07 | 1 | -2/+2 | |
| | | | | could be reset during option parsing | |||||
* | Callers to identify() converted the endianness of the buffer. So did | Rob Landley | 2006-06-07 | 1 | -16/+16 | |
| | | | | | | identify(). This meant big endian systems had a NUXI problem. Removed the redundant conversion from the callers, and made some in-passing cleanups while I was there. | |||||
* | use vfork() instead of vork() since the only thing we do is execve() an app ↵ | Mike Frysinger | 2006-06-06 | 1 | -1/+1 | |
| | | | | after fork (allows time to work on no-mmu) | |||||
* | - remove superfluous call of stack_machine(0) upon exit. | Bernhard Reutner-Fischer | 2006-06-03 | 1 | -1/+0 | |
| | ||||||
* | - no need to have timer_duration in the data section. | Bernhard Reutner-Fischer | 2006-06-03 | 1 | -7/+4 | |
| | | | | - cleanup a little bit while at it. | |||||
* | - use bb_msg_write_error in 3 places | Bernhard Reutner-Fischer | 2006-06-03 | 1 | -368/+346 | |
| | | | | - whitespace | |||||
* | - move #include busybox.h to the very top so we pull in the config | Bernhard Reutner-Fischer | 2006-06-03 | 17 | -24/+22 | |
| | | | | and eventual platform specific includes in early. | |||||
* | Patch from Tito to remove long options from hdparm. | Rob Landley | 2006-05-31 | 2 | -25/+11 | |
| | ||||||
* | - s/defined(__uClinux__)/BB_NOMMU/ | Bernhard Reutner-Fischer | 2006-05-31 | 1 | -3/+3 | |
| | | | | | | | 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(). | |||||
* | Size reductions, mostly switching things to use libbb functions. | Rob Landley | 2006-05-29 | 1 | -1/+1 | |
| | ||||||
* | Add SWAP_LE?? and SWAP_BE?? macros, and make things use them. Converts values | Rob Landley | 2006-05-29 | 1 | -7/+5 | |
| | | | | | to/from little endian or big endian, which is a NOP if that's what the current platform already is. | |||||
* | Fix hdparm to use PRIu64 instead of typecasting to long long (which is 128 bits | Rob Landley | 2006-05-28 | 1 | -4/+4 | |
| | | | | on 64 bit platforms), and move #include <inttypes.h> to libbb.h. | |||||
* | Move portability stuff to platform.h, and clean up adjtimex.c a bit while | Rob Landley | 2006-05-27 | 1 | -58/+3 | |
| | | | | I'm in the area. | |||||
* | Consolidate #include <sys/time.h> so libbb.h does it. | Rob Landley | 2006-05-27 | 4 | -4/+0 | |
| | ||||||
* | - use the defines CURRENT_TTY and VC_1; also shrink xargs a tiny bit: | Bernhard Reutner-Fischer | 2006-05-27 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | 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 | |||||
* | - provide fallback defines for non-linux | Bernhard Reutner-Fischer | 2006-05-26 | 1 | -0/+14 | |
| | ||||||
* | - add central knob to turn off getopt_long everywhere. EXPERIMENTAL! | Bernhard Reutner-Fischer | 2006-05-26 | 1 | -1/+1 | |
| | | | | | | 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 | |||||
* | - introduce and use bb_path_wtmp_file for portability (saves 11 Bytes). | Bernhard Reutner-Fischer | 2006-05-26 | 1 | -2/+6 | |
| | | | | - fix last.c to also look at the double-underscore UT_ defines. | |||||
* | Yann E. MORIN. writes: | Mike Frysinger | 2006-05-26 | 1 | -1/+1 | |
| | | | | | | 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... | |||||
* | And fix the error I just introduced. :) | Rob Landley | 2006-05-25 | 1 | -1/+1 | |
| | ||||||
* | Remove pointless #define. | Rob Landley | 2006-05-25 | 1 | -4/+1 | |
| | ||||||
* | Patch from Tito: | Rob Landley | 2006-05-25 | 1 | -168/+123 | |
| | | | | | | | | | | | | | | | | | | | 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() | |||||
* | New version of nohup that's much smaller, less paranoid, consistent, | Rob Landley | 2006-05-21 | 1 | -15/+0 | |
| | | | | vaguely portable, and licensed GPLv2 "or later". | |||||
* | - silence warning about no return in function returning non-void | Bernhard Reutner-Fischer | 2006-05-20 | 2 | -25/+29 | |
| | | | | | - put CONFIG_DEBUG_CROND_OPTION into config no changes in size when debugging is disabled. | |||||
* | - remove emacs layout block as suggested by Robert P.J. Day | Bernhard Reutner-Fischer | 2006-05-19 | 1 | -8/+0 | |
| | | | | - use shorter boilerplate while at it | |||||
* | Patch from tito to replace shared memory usage with mlock(), slightly tweaked | Rob Landley | 2006-05-19 | 1 | -24/+10 | |
| | | | | by me. | |||||
* | - fix invalid mode | Bernhard Reutner-Fischer | 2006-05-19 | 1 | -1/+1 | |
| | ||||||
* | Largeish cleanup patch from Tito, mostly if statement therapy. | Rob Landley | 2006-05-16 | 1 | -534/+350 | |
| | ||||||
* | pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵ | Mike Frysinger | 2006-05-13 | 1 | -1/+1 | |
| | | | | mailing list | |||||
* | typecast bbig to kill format warnings | Mike Frysinger | 2006-05-11 | 1 | -3/+3 | |
| | ||||||
* | The if() is cheaper than the extra function parameter. According to make | Rob Landley | 2006-05-08 | 1 | -26/+26 | |
| | | | | bloatcheck, this saves 112 bytes on x86... | |||||
* | Cleanup patch from tito. | Rob Landley | 2006-05-07 | 1 | -379/+158 | |
| | ||||||
* | Patch from Dennis Vlasenko resetting values that get reused. | Rob Landley | 2006-05-05 | 1 | -5/+18 | |
| | ||||||
* | Remove HDIO_GETGEO_BIG which is dead (removed from 2.6) and was pointless back | Rob Landley | 2006-05-03 | 1 | -12/+4 | |
| | | | | | | | | | in 2.4 (it fetched the same hd_geometry struct only with uint cylinders instead of ushort cylinders: nothing that big has ever accurately reported gemoetry, it's all LBA. Also stop declaring the hd_geometry struct static: it's two chars, a short, and a long for a grand total of 8 bytes. That can go on the stack. |