Commit Graph

  • 80b8b39899 Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms <wharms@bfs.de>) Denis Vlasenko 2007-06-25 10:55:35 +00:00
  • 1399282b47 - need to pass the PATH down to the gcc-version check to be able to find the correct cc. Fixes make PATH="$CROSS_BIN:$PATH" CROSS_COMPILE=foo- like invocations that previously failed to resolve since the information about the path set by the user was lost. Bernhard Reutner-Fischer 2007-06-25 10:41:01 +00:00
  • 88308fec80 test: suppress gcc warning telnetd: do not use suferfluous static variable. Denis Vlasenko 2007-06-25 10:35:11 +00:00
  • 56258b688c httpd: NOMMU fixes by Alex Landau <landau_alex@yahoo.com> Denis Vlasenko 2007-06-23 23:14:02 +00:00
  • 198badafd8 pidof: size optimizations (-50 bytes) Denis Vlasenko 2007-06-23 14:56:43 +00:00
  • 118b81df76 - handy to have the cross_compile block here, too Bernhard Reutner-Fischer 2007-06-22 17:39:21 +00:00
  • 2ee028dd5b syslogd: do not convert tabs to ^I Denis Vlasenko 2007-06-21 13:44:53 +00:00
  • b304eadca8 test: shrink a bit Denis Vlasenko 2007-06-21 13:35:52 +00:00
  • d67a606489 build system: remove kernel .config locations (spotted by walter harms <wharms@bfs.de>) Denis Vlasenko 2007-06-21 12:57:29 +00:00
  • 931de892cc random shrinkage of statics, -60 bytes saved Denis Vlasenko 2007-06-21 12:43:45 +00:00
  • a80b4a0fa7 tar: improve OLDGNU compat, make old SUN compat configurable Denis Vlasenko 2007-06-21 12:41:59 +00:00
  • 9a33780152 - add ATTRIBUTE_UNUSED_RESULT for internal use Bernhard Reutner-Fischer 2007-06-21 10:39:20 +00:00
  • b7e61485d6 since we removed the deprecated matches() now and thus not alot of warnings are currently seen, let's strive to fixup these: - warn a little bit about unused results Bernhard Reutner-Fischer 2007-06-21 10:28:11 +00:00
  • 789b87edf5 - remove matches() from networking/. Untested. text data bss dec hex filename 1705 0 0 1705 6a9 networking/libiproute/utils.o.orig 1676 0 0 1676 68c networking/libiproute/utils.o 766 0 0 766 2fe networking/libiproute/rtm_map.o.orig 670 0 0 670 29e networking/libiproute/rtm_map.o 4942 0 0 4942 134e networking/libiproute/iptunnel.o.orig 4687 0 0 4687 124f networking/libiproute/iptunnel.o Bernhard Reutner-Fischer 2007-06-21 10:20:13 +00:00
  • 833358798a slattach: code shrink (Bernhard Fischer <rep.dot.nop@gmail.com>) Denis Vlasenko 2007-06-21 07:27:43 +00:00
  • 88976d00d8 remove extra ')' Denis Vlasenko 2007-06-21 07:09:18 +00:00
  • 14923db72f slattach: new applet. Denis Vlasenko 2007-06-20 15:23:03 +00:00
  • cd0e80ce90 - move iprule and ipaddress from matches() to index_in_str_array text data bss dec hex filename 2544 0 0 2544 9f0 networking/libiproute/iprule.o.oorig 2356 0 0 2356 934 networking/libiproute/iprule.o 6481 0 0 6481 1951 networking/libiproute/ipaddress.o.oorig 6464 0 0 6464 1940 networking/libiproute/ipaddress.o Bernhard Reutner-Fischer 2007-06-20 14:53:49 +00:00
  • 7510384107 do not do utime() on links, it acts on link targets, and we don't want that. rename link_name to link_target, less confusing this way. Denis Vlasenko 2007-06-20 14:49:47 +00:00
  • 761ce14fd2 - remove another user of the deprecated matches() func by moving it to use index_in_str_array. Untested. text data bss dec hex filename 445 0 4 449 1c1 ip_parse_common_args.o.oorig 391 0 4 395 18b ip_parse_common_args.o Bernhard Reutner-Fischer 2007-06-20 12:42:03 +00:00
  • ee921393a5 - do not hardcode HOSTCFLAGS to gcc specific flags. Fixes errors when not using gcc as HOSTCC Bernhard Reutner-Fischer 2007-06-20 10:01:12 +00:00
  • bb0baed564 - strndupa is a GNU extension. Using strdup to avoid several errors like: util-linux/mdev.c:(.text+0x29a): undefined reference to `strndupa' Bernhard Reutner-Fischer 2007-06-20 09:56:47 +00:00
  • bb98db2ed2 echo: fix yet another buglet in non-fancy echo Denis Vlasenko 2007-06-19 23:04:17 +00:00
  • 5ad1048c3d ping: fix incorrect handling of -I (Iouri Kharon <bc-info@styx.cabel.net>) Denis Vlasenko 2007-06-19 22:54:21 +00:00
  • a19faf8bb7 find: -context support for SELinux (KaiGai Kohei <kaigai@kaigai.gr.jp>) find: make it a bit smaller Denis Vlasenko 2007-06-19 22:22:57 +00:00
  • dcf6de552a pscan: size optimization (Tito <farmatito@tiscali.it>) Denis Vlasenko 2007-06-19 16:57:47 +00:00
  • 5b5bcf24f5 punt %.bflt target in favor of proper LDFLAGS=-Wl,-elf2flt handling Mike Frysinger 2007-06-19 15:58:02 +00:00
  • 31789a81d5 top,ps: 'stringify' tty only when needed. -60 bytes. Denis Vlasenko 2007-06-19 14:43:17 +00:00
  • 362c6ec694 top: speedup if tty info is not requested Denis Vlasenko 2007-06-19 13:53:12 +00:00
  • 3afac4ce06 top,ps: reduce CPU usage in decimal conversion (optional) Denis Vlasenko 2007-06-19 13:46:24 +00:00
  • 08a61180ce ll_map: disable interface name caching code Denis Vlasenko 2007-06-19 12:11:20 +00:00
  • 2d25491ed0 defconfig: update Denis Vlasenko 2007-06-19 11:33:48 +00:00
  • a61cb92f2d make /etc/network parsing configurable. -200 bytes when off. Denis Vlasenko 2007-06-19 11:24:47 +00:00
  • 6d9ea24611 networking/interface.c: huke remaining big statics; use malloc for INET[6]_rresolve return value. Went thru callers and adjusted them - code got smaller too. Denis Vlasenko 2007-06-19 11:12:46 +00:00
  • 1b16bdaebf networking/interface.c: reduce bss usage Denis Vlasenko 2007-06-19 11:10:02 +00:00
  • 91e149a373 libbb: random hunt for statics Denis Vlasenko 2007-06-18 10:35:06 +00:00
  • 2c91efb7c2 libpwdgrp/pwd_grp.c: allocate local storage on first call, not in bss. -1k bss Denis Vlasenko 2007-06-18 10:08:27 +00:00
  • 7679145cfa ping: fix write-after-allocated-mem bug ping: use monotonic_us instead of gettimeofday: smaller code and needs only 4 bytes in the packet ping: display roundtrip times with 1/1000th of ms, not 1/10 ms precision. wget: small optimization Denis Vlasenko 2007-06-18 08:55:57 +00:00
  • ebd27aabaa fix an obvious typo while trying to access the tv_usec member Mike Frysinger 2007-06-18 07:12:31 +00:00
  • bd7bb299c0 wget: use monotonic_sec instead of gettimeofday zcip: use monotonic_us instead of gettimeofday udhcpcd: simpler, shorter random_xid() Denis Vlasenko 2007-06-17 23:40:26 +00:00
  • 459be35234 hwclock: size optimizations libbb/time.c: new file, introducing monotonic_us() pscan, traceroute, arping: use it instead of gettimeofday ping, zcip: TODO Denis Vlasenko 2007-06-17 19:09:05 +00:00
  • e79dd06782 time: *const str = "xxx" ==> str[] = "xxx" Denis Vlasenko 2007-06-17 19:04:58 +00:00
  • 787d92645b strings: strings a b was processing a twice, fix that Denis Vlasenko 2007-06-17 12:19:07 +00:00
  • ea9e798004 arping: -i should be -I Denis Vlasenko 2007-06-17 00:36:57 +00:00
  • a6163ca355 install: fix install a b /a/link/to/dir install: fix -s (strip) option nmeter: add TODO Denis Vlasenko 2007-06-17 00:35:15 +00:00
  • ab47eeee6a forgot svn add... Denis Vlasenko 2007-06-16 20:52:33 +00:00
  • 85532fc4d4 remove obsolete comment Denis Vlasenko 2007-06-16 14:16:30 +00:00
  • a7825f269d make FEATURE_HAVE_RPC auto-selectable by mount and inetd sub-features Denis Vlasenko 2007-06-16 13:56:51 +00:00
  • 7b72fc1200 pscan: new applet (portscanner). ~1350 bytes. By Tito <farmatito@tiscali.it> wget: lift 256 chars limitation on terminal width Denis Vlasenko 2007-06-16 13:37:59 +00:00
  • 53a0e97196 find: make -size match GNU find Denis Vlasenko 2007-06-16 00:30:52 +00:00
  • b941129ccb find: add conditional support for -maxdepth and -regex (needed for Linux 2.6.22-rc4 build) Denis Vlasenko 2007-06-15 23:43:11 +00:00
  • d786cc5966 fdisk: fix minor issues with help text Denis Vlasenko 2007-06-15 21:17:21 +00:00
  • be99243945 - fix test -f ./exists Note that test -f ./exists -a "-u" = "-u" doesn't work and did not work even before r18282, so this is a breakage not caused by me.. Bernhard Reutner-Fischer 2007-06-15 10:36:49 +00:00
  • 867266059b - vda perfers not to use the banner Bernhard Reutner-Fischer 2007-06-15 08:30:33 +00:00
  • 432d69cb41 applets/Kbuild: straighten it a bit Denis Vlasenko 2007-06-14 21:41:15 +00:00
  • 0e0639b702 Alex Landau writes: open firmware for reading, not writing Mike Frysinger 2007-06-14 09:29:48 +00:00
  • d8540f71ac init: make sure fd 0,1,2 are not closed, + related optimizations. Denis Vlasenko 2007-06-14 07:53:06 +00:00
  • 1adf681e87 traceroute: stop using floating point needlessly; nuke useless assignment. Denis Vlasenko 2007-06-14 07:47:52 +00:00
  • 26017b1b04 minix.h: add very simple test script Denis Vlasenko 2007-06-13 12:49:46 +00:00
  • 1fd46215b2 fsck_minix: forgotten bit of previous commit... Denis Vlasenko 2007-06-13 12:35:34 +00:00
  • a6691317e5 fsck_minix: stop using data/bss Denis Vlasenko 2007-06-13 12:28:21 +00:00
  • ca525b4f24 *: BB_BANNER -> bb_banner (it is not a const or #define)! correct_password: explain in detail why it is ok to use bb_banner fsck_minix: make it print bb version, not it's own (outdated/irrelevant) one Denis Vlasenko 2007-06-13 12:27:17 +00:00
  • b51fd3525e as suggested by Renaud Cerrato and Souf, switch over to recursive_action() for some nice shrinkage and so we work even when CONFIG_SYSFS_DEPRECATED is off Mike Frysinger 2007-06-13 09:24:50 +00:00
  • a78ef2ccf1 add support for firmware loading Mike Frysinger 2007-06-13 07:34:15 +00:00
  • d67cef2425 hush: fix read builtin to not read ahead past eol and to not use insane amounts of stack. Testsuite updated. Denis Vlasenko 2007-06-13 06:47:47 +00:00
  • f5f75c5e82 remove nearly-duplicate PATHs in several places Denis Vlasenko 2007-06-12 22:35:19 +00:00
  • f312e32662 login: make /etc/nologin support configurable. -240 bytes if not selected. Denis Vlasenko 2007-06-12 22:04:57 +00:00
  • 637c975098 fix "--help prints usage for wrong applet" bug Denis Vlasenko 2007-06-12 20:55:38 +00:00
  • 3ad5d0cbbe diff: shrink code (-85 bytes): function old new delta fiddle_sum 8 - -8 diffreg 2717 2690 -27 prepare 334 284 -50 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/2 up/down: 0/-85) Total: -85 bytes Denis Vlasenko 2007-06-12 20:54:54 +00:00
  • fdcbc4e709 - fix testing primary expressions like '"-u" = "-u"' Bernhard Reutner-Fischer 2007-06-12 13:21:08 +00:00
  • 15611bb958 A few more string duplicates found & eliminated Denis Vlasenko 2007-06-12 08:52:02 +00:00
  • 16d58d75ee catv: was abusing xopen, should not die on err, but warn only. Denis Vlasenko 2007-06-12 08:13:34 +00:00
  • cc5e090f12 move several applets to more correct ex-project. No code changes. Denis Vlasenko 2007-06-12 08:12:33 +00:00
  • aa198dd39c uudecode: nuke duplicate base64_table[]. saves 65 bytes Denis Vlasenko 2007-06-12 07:24:11 +00:00
  • 745119605e top: on user suggestion make percentile calculations configurable. -56 bytes when off. +600 bytes when on top: reorder columns, so that [P]PIDs are together and VSZ/%MEM are together. Makes more sense Denis Vlasenko 2007-06-11 16:31:55 +00:00
  • d71e45856e - use bb_msg_full_version instead of a separate string. Saves a minor 3 bytes. Bernhard Reutner-Fischer 2007-06-11 15:09:21 +00:00
  • a7c5d2c6d9 getopt_mk_fifo_nod: heed warning Denis Vlasenko 2007-06-10 19:29:37 +00:00
  • b1e5addfed top: improve global CPU percentage (smaller & faster code) Denis Vlasenko 2007-06-10 18:04:54 +00:00
  • 5a65447e30 top: add config option and code for global CPU % display Denis Vlasenko 2007-06-10 17:11:59 +00:00
  • e8a0788b24 moved biggest stack buffers to malloc space, or made their size configurable (8k of shell line edit buffer is an overkill) Denis Vlasenko 2007-06-10 15:08:44 +00:00
  • d4fea900bd add script which measures stack consumption. Denis Vlasenko 2007-06-10 00:54:27 +00:00
  • 77e44d60e6 httpd: move data off bss. httpd: do not realpath() for SCRIPT_FILENAME - it resolves symlinks but it should not: Denis Vlasenko 2007-06-09 23:49:05 +00:00
  • 66db264a5f - also note where to checkout the 1_6_stable branch Bernhard Reutner-Fischer 2007-06-09 09:12:45 +00:00
  • d6766c71a9 mdev: microscopic enhancement, should change nothing Denis Vlasenko 2007-06-08 16:18:15 +00:00
  • 9acfed2d14 grep: selection done by FEATURE_GREP_EGREP_ALIAS was broken, fix. (Maxime Bizon <mbizon@freebox.fr> (Freebox)) Denis Vlasenko 2007-06-08 15:41:27 +00:00
  • 65e14b4588 login: ask passwords even for wrong usernames. Denis Vlasenko 2007-06-08 15:27:06 +00:00
  • bdbbb7ec49 make busybox --install work even if /proc/self/exe doesn't exist Denis Vlasenko 2007-06-08 15:02:55 +00:00
  • c14d39e83a rmp: add optional support for bz2 data. +50 bytes of code Denis Vlasenko 2007-06-08 13:05:39 +00:00
  • def8260219 - fix invocation without any argument Bernhard Reutner-Fischer 2007-06-08 12:52:17 +00:00
  • 42bffbf360 hush: add missing dependencies (Maxime Bizon <mbizon@freebox.fr> (Freebox)) Denis Vlasenko 2007-06-08 08:02:53 +00:00
  • dc4ab54ea7 test: fix thinko in previous commit Denis Vlasenko 2007-06-08 07:59:54 +00:00
  • 89bca27158 test: recognize /path/to/[ case too Denis Vlasenko 2007-06-08 07:33:45 +00:00
  • 8936a19880 - Add a FAQ entry on "how do i cross compile busybox" Bernhard Reutner-Fischer 2007-06-08 07:19:06 +00:00
  • bb4b9f1fc9 - add a config-time range check for IPC_SYSLOG_BUFFER_SIZE The upper-bound doesn't look like it is working since it accepts LONG_MAX as input. I suspect that this is an lxdialog feature or something like that ;) Bernhard Reutner-Fischer 2007-06-07 13:22:56 +00:00
  • e16e6e79e4 awk: experimentally modify "global" trick to make code smaller by minimizing data offsets Denis Vlasenko 2007-06-07 13:14:53 +00:00
  • 4b49512881 - update defconfig Bernhard Reutner-Fischer 2007-06-07 13:12:51 +00:00
  • 1622cb8cea - i need this disabled code for testing a patch. Please leave it in. Bernhard Reutner-Fischer 2007-06-07 12:11:24 +00:00
  • e8b2bd4d47 - fix wrong not operator which was essentially ignored. got introduced in r18282 http://busybox.net/lists/busybox/2007-June/027652.html Bernhard Reutner-Fischer 2007-06-06 19:27:58 +00:00
  • ae5a8aac26 awk: move all data to malloc space Denis Vlasenko 2007-06-06 17:01:00 +00:00
  • c084d2f205 echo: fix non-fancy echo Denis Vlasenko 2007-06-06 07:50:51 +00:00