Commit Graph

  • c7d4b98cbd run_parts: I was wrong, NULL termination is already done because G is pre-initialized to 0. Denis Vlasenko 2007-03-28 22:05:38 +00:00
  • 45cd089df1 run_parts: NULL-terminate list of arguments; fix perror/error usage Denis Vlasenko 2007-03-28 22:04:04 +00:00
  • 450196c119 ps: work around libc bug: printf("%.*s\n", MAX_INT, buffer) Denis Vlasenko 2007-03-28 21:57:12 +00:00
  • b7cffd4bed - rewrite run-parts text data bss dec hex filename 1029 0 0 1029 405 debianutils/run_parts.o-old 478 0 0 478 1de debianutils/run_parts.o-new-bare 600 0 0 600 258 debianutils/run_parts.o-new-full Bernhard Reutner-Fischer 2007-03-28 20:35:13 +00:00
  • 0a537a0c57 - move additional fancy options not mandated by SUSv3 into a FANCY option Bernhard Reutner-Fischer 2007-03-28 16:48:40 +00:00
  • 0864f4d14f - fix formatting of help text Bernhard Reutner-Fischer 2007-03-28 16:46:03 +00:00
  • 58a275b303 - reinstate dmalloc and efence support Bernhard Reutner-Fischer 2007-03-28 15:00:27 +00:00
  • 0eec4abb13 hdparm: flag variables can easily be smaller than long Denis Vlasenko 2007-03-28 01:00:45 +00:00
  • 7c282a2078 hdparm: remove stray static (-200 bytes bss) Denis Vlasenko 2007-03-28 00:14:54 +00:00
  • f1ba749509 hdparm: whitespace style fixes Denis Vlasenko 2007-03-28 00:14:01 +00:00
  • 6a5598c2bc pidfile creation mode set to 0666 (umask affects it as usual) Denis Vlasenko 2007-03-27 22:05:34 +00:00
  • ebf48bb80c forgotten svn add... Denis Vlasenko 2007-03-27 22:02:06 +00:00
  • 10457b90db make pidfile writing configurable. [ui]toa_to_buf: change API. No users yet. Denis Vlasenko 2007-03-27 22:01:31 +00:00
  • f4d40c87d3 remove_file: cosmetic code improvement, a few bytes saved Denis Vlasenko 2007-03-26 23:14:38 +00:00
  • 3983bd5593 diff: fix SEGV (NULL deref) in diff -N Denis Vlasenko 2007-03-26 22:58:21 +00:00
  • 17a1526f9e sed: a communal variable managed to slip past 'size' ('size' happily displays 0 bytes in data and bss, but in reality sed.o used 180 bytes of it). Oh well. function old new delta pipe_putc 67 76 +9 sed_main 627 633 +6 get_next_line 161 166 +5 bbg 180 - -180 (add/remove: 0/1 grow/shrink: 3/0 up/down: 20/-180) Total: -160 bytes Denis Vlasenko 2007-03-26 20:48:46 +00:00
  • 91dd275f05 split: let me join bikeshed painting frenzy :) this one should be able to handle huge files. text data bss dec hex filename 664 4 0 668 29c busybox.t0/coreutils/split.o 628 0 0 628 274 busybox.t1/coreutils/split.o split_main 488 525 +37 suffix_len 4 - -4 next_file 77 - -77 (add/remove: 0/2 grow/shrink: 1/0 up/down: 37/-81) Total: -44 bytes Denis Vlasenko 2007-03-26 20:15:40 +00:00
  • 576de34d1c - check the suffix proper plus misc touch up Bernhard Reutner-Fischer 2007-03-26 18:19:29 +00:00
  • afa7023b46 zcip: make it work on NOMMU (+ improve NOMMU support machinery) fsck: fix bad English in a comment Denis Vlasenko 2007-03-26 17:25:33 +00:00
  • 4e1361a481 - add usage for split Bernhard Reutner-Fischer 2007-03-26 14:38:03 +00:00
  • b813eaff23 - implement suffices as required by SUSv3 - fix glitch in next_file (suffices were exhaused too early). Bernhard Reutner-Fischer 2007-03-26 14:28:12 +00:00
  • 53091ecd20 Attempt to get more applets compile for NOMMU. TODO_config_nommu documents what I managed to compile so far (yay! msh works! cool). inetd, telnetd, httpd still do not compile. TODO Also make fork(), daemon() produce warnings on compile stage (in addition to erros on link stage). Denis Vlasenko 2007-03-26 13:35:09 +00:00
  • ec1a4b5a52 pidfile.c: not used anymore BTW, previous change removed pidfile locking, -700 code (static compile) Denis Vlasenko 2007-03-26 13:24:24 +00:00
  • af1c84360f Move udhcp to new NOMMU helpers. Fix server part to compile under NOMMU. Client is not compilable yet. On MMU everything compiles (and maybe even works :) Denis Vlasenko 2007-03-26 13:22:35 +00:00
  • 5a142025d3 move everything to new NOMMU helpers, except udhcp Denis Vlasenko 2007-03-26 13:20:54 +00:00
  • bb7fcb4229 libbb: rework NOMMU helper API so that it makes more sense and easier to use. Doesn't compile - need two more commits. Denis Vlasenko 2007-03-26 13:20:04 +00:00
  • f62c6fa1ca nmeter: should die if stdout doesn't like him anymore Denis Vlasenko 2007-03-26 13:16:22 +00:00
  • cd43dfdeec - shrink a tiny bit (-8b) Bernhard Reutner-Fischer 2007-03-26 10:46:31 +00:00
  • cad04ef4f3 add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copy Denis Vlasenko 2007-03-25 23:21:05 +00:00
  • 10f8f5f443 - rough prototype for split(1). TODO: Still needs some love since it's way too big.. text data bss dec hex filename 602 4 0 606 25e coreutils/split.o Bernhard Reutner-Fischer 2007-03-25 21:50:18 +00:00
  • 55f30b05ac inetd,ed,msh: data/bss reduction (in mss, more than 9k of it) Denis Vlasenko 2007-03-24 22:42:29 +00:00
  • c0415a9833 login: nuke nonblock() - we have it in libbb; -400 bytes bss. Denis Vlasenko 2007-03-24 17:04:07 +00:00
  • 8a503be840 #ifdef out re_execed on MMU machines Denis Vlasenko 2007-03-24 16:13:33 +00:00
  • 7695328575 adduser: don't bomb out if shadow password file doesn't exist (from Tito <farmatito@tiscali.it>) Denis Vlasenko 2007-03-24 16:06:46 +00:00
  • 219d14d514 random style fixes (extra spaces deleted) Denis Vlasenko 2007-03-24 15:40:16 +00:00
  • 644849a3aa SELinux: load_policy applet - this time with svn add Denis Vlasenko 2007-03-24 15:38:49 +00:00
  • 1fc6e56684 SELinux: load_policy applet Denis Vlasenko 2007-03-24 15:37:57 +00:00
  • 5b27fbe990 dc: use common_bufsiz1 for evaluation stack msh: fix "underscore bug" (a_b=1111 didn't work) dnsd: openlog(), so that applet's name is logged Denis Vlasenko 2007-03-24 14:06:51 +00:00
  • b5b45a91f0 dnsd: last commit had a typo :( Denis Vlasenko 2007-03-24 13:09:07 +00:00
  • d3bac03988 dnsd: fix several buglets, make smaller Denis Vlasenko 2007-03-24 12:13:04 +00:00
  • 9067f13be0 NOMMU re-exec trick shuld not depend on existence of "don't daemonize" option for every affected applet (and dnsd, for example, don't have one). Thus rework re-exec support to not require it. Code got smaller too. Denis Vlasenko 2007-03-24 12:11:17 +00:00
  • 1b6fa4c57c applets.c, xfunc.c: style cleanup Denis Vlasenko 2007-03-24 12:08:36 +00:00
  • ce074df814 inetd: indent labels uniformly Denis Vlasenko 2007-03-24 12:07:31 +00:00
  • 7d10823f6a Announce 1.5.0 and move svn to 1.6.0.svn Denis Vlasenko 2007-03-22 23:31:29 +00:00
  • 4b38e29764 This revision is busybox 1.5.0 Denis Vlasenko 2007-03-22 22:27:40 +00:00
  • 58875aefe4 assorted fixes uncovered by randomconfig runs Denis Vlasenko 2007-03-22 22:22:10 +00:00
  • d0587ed966 interface: revert part of commit 18120 (eth aliases work again) Denis Vlasenko 2007-03-22 19:35:51 +00:00
  • cbcff2936e gzip: fix -d option handling Denis Vlasenko 2007-03-22 18:56:23 +00:00
  • 1787e22465 ifconfig: support (by ignoring it) "inet" before IP address or hostname Denis Vlasenko 2007-03-22 18:56:00 +00:00
  • 2a51af2579 vi: fix signed char-induced potential bugs Denis Vlasenko 2007-03-21 22:31:24 +00:00
  • 9a1fa8cf07 cmp: support 3rd and 4th arguments if DESKTOP=y (needed for gcc build) Denis Vlasenko 2007-03-21 22:30:14 +00:00
  • 7c139b4778 ash: fix signal handling Denis Vlasenko 2007-03-21 20:17:27 +00:00
  • b8e72fdde1 add info about gcc's sadistic alignment - and how to disable it Denis Vlasenko 2007-03-21 10:07:01 +00:00
  • afa37cf508 vi: remove Byte typedef and massive amount of casts. also optimize many strlen() calls. if (strlen(buf) <= 0) goto vc1 - ??!! Denis Vlasenko 2007-03-21 00:05:35 +00:00
  • f9234135f8 vi: support $EXINIT and -c Denis Vlasenko 2007-03-21 00:03:42 +00:00
  • 4f93cde77f syslogd: fix it for small BUFSIZ case Denis Vlasenko 2007-03-20 20:03:03 +00:00
  • f363065021 small doc update Denis Vlasenko 2007-03-20 15:53:11 +00:00
  • c86e052b81 fix accumulated whitespace and indentation damage Denis Vlasenko 2007-03-20 11:30:28 +00:00
  • e84aeb5bcb update docs Denis Vlasenko 2007-03-20 11:08:39 +00:00
  • 88a2aa98e0 dpkg: free_package(NULL) is ok, so don't test for NULL, just free. Denis Vlasenko 2007-03-19 21:48:56 +00:00
  • 97fd6d81b4 ls: fix segfault-if-standalone-shell, add big fat comment. Denis Vlasenko 2007-03-19 20:59:20 +00:00
  • 6111a8f2e7 - don't automatically select run-parts but point out that this is a system-utility in the strict sense. Bernhard Reutner-Fischer 2007-03-19 20:28:03 +00:00
  • 16deb86746 - very minor size tweak. TODO: mv to globals, config-out non-busybox dhcp client stuff, reduce string bloat, etc text data bss dec hex filename 7543 0 28 7571 1d93 networking/ifupdown.o.orig 7515 0 28 7543 1d77 networking/ifupdown.o Bernhard Reutner-Fischer 2007-03-19 19:54:56 +00:00
  • 3d101dd467 expand documentation Denis Vlasenko 2007-03-19 16:04:11 +00:00
  • be862096c0 - be gentle to the intel compiler and make sure we have __u64 which is needed for linux/loop.h Bernhard Reutner-Fischer 2007-03-19 15:15:06 +00:00
  • 54e3d1f00d telnet: finish style cleanup bits Denis Vlasenko 2007-03-19 14:52:26 +00:00
  • f24cdf1554 telnet: someone tried to do data optimization before me. Complete it. text data bss dec hex filename 2558 0 404 2962 b92 busybox.t2/networking/telnet.o 2542 0 0 2542 9ee busybox.t3/networking/telnet.o Denis Vlasenko 2007-03-19 14:47:09 +00:00
  • dfce08f281 fdisk: bb_common_bufsiz1 is too small for globals on 64-bit CPU Denis Vlasenko 2007-03-19 14:45:10 +00:00
  • bd852076b9 fdisk: get rid of _() macro. Shorten some messages. Stop using stderr - anyone who tries to use fdisk no-interactively is "strange" anyway. Improve storage handling in bsd module. text data bss dec hex filename 728112 1488 33788 763388 ba5fc busybox.t0/busybox 727248 1488 33372 762108 ba0fc busybox.t1/busybox Denis Vlasenko 2007-03-19 14:43:38 +00:00
  • de8a6a01d8 Kim B. Heino writes: When installing a new package with dpkg dependencies are checked correctly. But when I try to update an existing package, the dependencies are checked against the old package, not against new package. Thus the new package can break dependencies. Bernhard Reutner-Fischer 2007-03-19 13:44:18 +00:00
  • 41e1dc3f8b make clean deletes .kernelrelease now trylink deleted empty linker stderr on success Denis Vlasenko 2007-03-18 21:45:21 +00:00
  • 4b4b619c9c include <stddef.h> so that ptrdiff_t is again available Denis Vlasenko 2007-03-18 20:33:26 +00:00
  • 1c86a29aea Announce 1.4.2 Denis Vlasenko 2007-03-18 18:21:44 +00:00
  • 83bb98f759 mkfs_minix: remove older, less efficient bss reduction trick Denis Vlasenko 2007-03-18 14:43:21 +00:00
  • 8e1a0cc4c9 fdisk: move 2k ptes[] array into bb_common_bufsiz1 Denis Vlasenko 2007-03-18 14:42:45 +00:00
  • 6b343ddbc8 fix inadvertently leaked PWD_BUFFER_SIZE Denis Vlasenko 2007-03-18 00:57:15 +00:00
  • 081ef799fa random fixes to help text Denis Vlasenko 2007-03-17 16:38:21 +00:00
  • 7a96504d30 dont use obsolete function index() as pointed out by src.obsolete.funcs Mike Frysinger 2007-03-17 06:29:05 +00:00
  • 75acbe322c punt useless header as pointed out by src.obsolete.headers Mike Frysinger 2007-03-17 06:27:38 +00:00
  • 757ed50841 fix typo as pointed out by src.obsolete.funcs Mike Frysinger 2007-03-17 06:26:51 +00:00
  • 4b0bb9e0fd sed: fix very obscure case of escaped newline in sed command (needed for uclibc build, btw). Add testcase for it. Denis Vlasenko 2007-03-16 23:36:58 +00:00
  • 486e7ca6b7 - touchup wording a bit Bernhard Reutner-Fischer 2007-03-16 11:14:38 +00:00
  • 84a9b8750e build system: produce link map. Rather useful when you are wondering why your busybox is much bigger that you hoped for. Denis Vlasenko 2007-03-15 23:44:10 +00:00
  • 3ce293b585 gunzip: s/unsigned char extra_short/unsigned extra_short/ we can unzip openssh-4.3p2.tar.gz now :) Denis Vlasenko 2007-03-15 23:30:18 +00:00
  • 4efeaee387 mkfs_minix: stop using lots of bss/data. data -3500 bytes, code -300 bytes keep_data_small: expand/fix Denis Vlasenko 2007-03-15 19:52:42 +00:00
  • 5e892bae51 syslogd: reduce data/bss usage. Code size is practically the same. Denis Vlasenko 2007-03-15 19:50:46 +00:00
  • bff32ce4d5 gzip: Improve ptr_to_globals trick, allowing gcc to optimize better. -480 bytes. Denis Vlasenko 2007-03-15 19:48:35 +00:00
  • 1cc70225e7 networking/interface.c: was doing really strange caching of fd's open for getting ifconfig data - ??! Simplified all that. -200 bytes. Denis Vlasenko 2007-03-15 19:46:43 +00:00
  • 54d14ca1a2 copy_file: comment out one condition which is always false. Add comment explaining POSIX rules for cp - and why these rules are dangerous. Provide conditionally compiled code for both POSIX and safe behaviors, select safe for now. Code shrunk by ~80 bytes. Denis Vlasenko 2007-03-15 13:33:37 +00:00
  • 24af7201e9 fix TODO: getopt32 should reset optind to 1 itself Denis Vlasenko 2007-03-15 13:28:46 +00:00
  • 972288e62f modify ptr_to_globals trick so that we do not violate type safety (well, sort of ;)) Denis Vlasenko 2007-03-15 00:57:01 +00:00
  • dd2b2f75ae adjtimex: fix argument types (most importantly, allow negative ones) Denis Vlasenko 2007-03-14 23:00:26 +00:00
  • 5659407595 swapon: reinstate hole check but reduce it to warning inode_hash: remove unused variable Denis Vlasenko 2007-03-14 22:55:39 +00:00
  • 7f2527e5a7 arp, networking/interface.c: eliminate statics and unneeded on-stack buffers, disable (comment out) some apparently unused (and buggy) code paths. -700 bytes. Denis Vlasenko 2007-03-14 22:11:20 +00:00
  • 650a0459b8 get_header_ar: reformatted code, no real changes Denis Vlasenko 2007-03-14 22:08:53 +00:00
  • 16c7fb7fc5 chown, env: stop using statics Denis Vlasenko 2007-03-14 22:08:04 +00:00
  • e1e93c1e1c missed hunk of "stop using big static buffer for inode hash" Denis Vlasenko 2007-03-14 22:06:57 +00:00
  • 6ef06eeed4 stop using big static buffer for inode hash Denis Vlasenko 2007-03-14 22:06:01 +00:00
  • 75ab6af71e stop using (yet another) static buffer Denis Vlasenko 2007-03-14 21:56:51 +00:00
  • cfa2b3a209 watchdog: don't use static variable Denis Vlasenko 2007-03-14 21:55:41 +00:00