aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* - merge -r15463:15564 from busybox_scratch branch through these changesets:aldot2006-08-2014-210/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r15465 | aldot | 2006-06-21 20:48:06 +0200 (Wed, 21 Jun 2006) | 3 lines - use CONFIG_BUSYBOX_EXEC_PATH as before it one was broken by a recent revert. - use xchdir() since all is invain if it fails there anyways, supposedly ------------------------------------------------------------------------ r15466 | aldot | 2006-06-21 20:55:16 +0200 (Wed, 21 Jun 2006) | 2 lines - adjust docs to take CONFIG_BUSYBOX_EXEC_PATH into account. ------------------------------------------------------------------------ r15467 | aldot | 2006-06-21 21:31:24 +0200 (Wed, 21 Jun 2006) | 18 lines - partial fallout of my TREE_USED touchup against gcc-4.2: rip unused vars, save s 144 bytes text data bss dec hex filename 862434 10156 645924 1518514 172bb2 busybox.old 862322 10156 645892 1518370 172b22 busybox function old new delta z_len 4 - -4 textend 4 - -4 part_nb 4 - -4 insize 4 - -4 ifile_size 4 - -4 do_link 4 - -4 new_text 70 60 -10 ipaddr_list_link 33 23 -10 gzip_main 898 822 -76 ------------------------------------------------------------------------------ (add/remove: 0/6 grow/shrink: 0/3 up/down: 0/-120) Total: -120 bytes ------------------------------------------------------------------------ r15468 | aldot | 2006-06-21 21:43:05 +0200 (Wed, 21 Jun 2006) | 19 lines - remove useless global exports function old new delta rpm_main 940 1601 +661 rpm_getstring 107 112 +5 rpm_getint 148 153 +5 loop_through_files 103 106 +3 fileaction_dobackup 115 113 -2 fileaction_list 5 - -5 rpm_getcount 42 - -42 extract_cpio_gz 161 - -161 rpm_gettags 504 - -504 ------------------------------------------------------------------------------ (add/remove: 0/4 grow/shrink: 4/1 up/down: 674/-714) Total: -40 bytes text data bss dec hex filename 862322 10156 645892 1518370 172b22 busybox.old 862290 10156 645892 1518338 172b02 busybox ------------------------------------------------------------------------ r15555 | aldot | 2006-06-30 14:10:11 +0200 (Fri, 30 Jun 2006) | 22 lines - shrink syslog a little bit, move a big buffer (for 'line') off the bss, fold s emaphore stuff into single caller manually. stats: function old new delta logMessage 395 427 +32 message 1245 1257 +12 opts - 4 +4 small 1 - -1 local_logging 4 - -4 doRemoteLog 4 - -4 circular_logging 4 - -4 syslogd_main 1299 1285 -14 static.res 36 16 -20 .rodata 186650 186586 -64 static.line 1025 - -1025 ------------------------------------------------------------------------------ (add/remove: 1/5 grow/shrink: 2/3 up/down: 48/-1136) Total: -1088 bytes cow@s37:~/src/busybox_scratch$ size sysklogd/syslogd.o{.orig,} text data bss dec hex filename 3723 348 5242 9313 2461 sysklogd/syslogd.o.orig 3697 348 4188 8233 2029 sysklogd/syslogd.o ============================================================================== Overall bloatcheck for the changeset mentioned above: function old new delta rpm_main 953 1608 +655 logMessage 395 427 +32 message 1245 1257 +12 opts - 4 +4 rpm_getstring 107 110 +3 rpm_getint 148 151 +3 loop_through_files 103 104 +1 small 1 - -1 fileaction_dobackup 115 113 -2 z_len 4 - -4 textend 4 - -4 part_nb 4 - -4 local_logging 4 - -4 insize 4 - -4 ifile_size 4 - -4 do_link 4 - -4 doRemoteLog 4 - -4 circular_logging 4 - -4 fileaction_list 5 - -5 new_text 70 60 -10 ipaddr_list_link 33 23 -10 clear_bufs 31 21 -10 syslogd_main 1287 1273 -14 builtin_help 190 176 -14 static.res 36 16 -20 builtin_source 229 199 -30 rpm_getcount 42 - -42 gzip_main 842 786 -56 .rodata 227176 227112 -64 lash_main 609 527 -82 busy_loop 3883 3739 -144 extract_cpio_gz 155 - -155 rpm_gettags 501 - -501 static.line 1025 - -1025 ------------------------------------------------------------------------------ (add/remove: 1/15 grow/shrink: 6/12 up/down: 710/-2221) Total: -1511 bytes git-svn-id: svn://busybox.net/trunk/busybox@15852 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - typo: s/optarg/nprobes_str; fixes segfault as reported by Raphael HUCKaldot2006-08-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15826 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove CRIS specific CFLAG from generic flags-checking.aldot2006-08-181-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15825 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove last reminiscents of IN_BUSYBOXaldot2006-08-183-28/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15824 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The kernel can't handle umount /dev/hdc, we have to do it through mtab,landley2006-08-171-8/+14
| | | | | | | | | | | | | | | | | except that we still have to work when there is no mtab. Oh, and while we're at it, take advantage of the fact that modern processors avoid branches via conditional assignment where possible. ("x = a ? b : c;" turns into "x = c; if (a) x = b;" because that way there's no branch to potentially mispredict and thus never a bubble in the pipeline. The if(a) turns into an assembly test followed by a conditional assignment (rather than a conditional jump).) So since the compiler is going to do that _anyway_, we might as well take advantage of it to produce a slightly smaller binary. So there. git-svn-id: svn://busybox.net/trunk/busybox@15806 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Timo Scheffler pointed out that OpenWRT isn't listed.landley2006-08-171-2/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add link to BusyBox Weekly News. (Yeah, another timesink.)landley2006-08-161-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15804 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New entry about backporting fixes.landley2006-08-161-7/+59
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15803 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update the tinyutils page to mention microperl, LUA, buildroot,landley2006-08-161-1/+15
| | | | | | | gentoo embedded... git-svn-id: svn://busybox.net/trunk/busybox@15802 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bernhard Fischer pointed out some leftover debris needing cleanup.landley2006-08-152-13/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15801 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make a warning go away when standalone shell is disabled.landley2006-08-101-9/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15800 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Chris Steel to fix mdev deleting device nodes.landley2006-08-101-7/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15795 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ok, features.h already defines _OPEN_SOURCE (and complains if it's alreadylandley2006-08-101-1/+0
| | | | | | | | defined), yet it's not doing it for scripts/individual for some reason. (I hate fighting with header files.) git-svn-id: svn://busybox.net/trunk/busybox@15794 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another whack at scripts/individual. Now builds 212 applets.landley2006-08-099-47/+81
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15793 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update usage to talk about the new shared subtree stuff in mount.landley2006-08-091-29/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15792 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vladimir Dronnikov convinced me to twiddle the semantics of the new sharedlandley2006-08-091-5/+14
| | | | | | | | subtree stuff to look more like http://lwn.net/Articles/159077/ thinks they should. git-svn-id: svn://busybox.net/trunk/busybox@15791 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a typo (|| instead of |) and remove two comments about a problem fixedlandley2006-08-081-3/+2
| | | | | | | in the previous patch. git-svn-id: svn://busybox.net/trunk/busybox@15790 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add shared subtree support, suggested by Vladimir Dronnikov. Also break out alandley2006-08-085-57/+107
| | | | | | | | | few new (unfinished) config options, which I intend to make hidden (but enabled) when CONFIG_NITPICK is disabled. Getting the .config infrastructure to do that is non-obvious, it seems... git-svn-id: svn://busybox.net/trunk/busybox@15789 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Using lstat() instead of stat() means that attempting to loopback mountlandley2006-08-081-1/+1
| | | | | | | a symlink doesn't work. git-svn-id: svn://busybox.net/trunk/busybox@15788 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make a warning go away on 64-bit systems.landley2006-08-061-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15787 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Teach md5sum and sha1sum to work the way other applets do so I don't have tolandley2006-08-063-34/+59
| | | | | | | | | teach scripts/individual new tricks. And while I'm at it, teach scripts/individual other new tricks. Now builds 198 applets, some of which I should teach it to hardlink together because they're really the same app... git-svn-id: svn://busybox.net/trunk/busybox@15786 69ca8d6d-28ef-0310-b511-8ec308f3f277
* scripts/individual now builds 171 applets. Some of them may even work. :)landley2006-08-054-4/+31
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15784 69ca8d6d-28ef-0310-b511-8ec308f3f277
* There are a number of reasons for reinventing printf(). Writing status tolandley2006-08-041-18/+8
| | | | | | | stdout is not one of them. git-svn-id: svn://busybox.net/trunk/busybox@15783 69ca8d6d-28ef-0310-b511-8ec308f3f277
* We haven't got a CONFIG_APT_GET.landley2006-08-041-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15782 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Digging up my old "make standalone" stuff from a year ago:landley2006-08-042-0/+63
| | | | | | | | | | | | | | | | | http://busybox.net/lists/busybox/2005-September/015766.html I renamed it "individual" to not confuse it with the standalone shell. (Which it isn't compatible with for obvious reasons.) Configure busybox (I did make defconfig), then run scripts/individual and it'll build an individual version of each applet in the "build" subdirectory. Currently it builds 146 and fails to build 104 applets out of "make defconfig". I haven't taught it about multi-file applets yet (like tar), or the ones where two applets get built from the same source (for example, zcat is a trivial variant of gunzip so there is no zcat.c). But here's a start. git-svn-id: svn://busybox.net/trunk/busybox@15781 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add busybox_old to distclean.landley2006-08-041-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15780 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add comments to all the functions in this file documenting what they're for.landley2006-08-041-33/+76
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15779 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ok, that's not a typo, that's just me not thinking.landley2006-08-042-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15778 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Typo.landley2006-08-041-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15777 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Now that we have xopen3(), it's just plain unclean to have xopen() withlandley2006-08-042-2/+2
| | | | | | | | | | O_CREAT. Two users are still doing it (and thus getting permissions 777), I'm not sure what permissions they should be using but here they are changed to xopen3(). This costs us a dozen or so bytes, but removing the 777 from xopen() should get some of that back. git-svn-id: svn://busybox.net/trunk/busybox@15776 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use xopen3() instead of an after-the-fact chown.landley2006-08-041-6/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15775 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Thinko spotted by Vladimir Dronnikov.landley2006-08-041-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15774 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Try to make a "type-punned pointer" warning go away for somebody on thelandley2006-08-031-3/+2
| | | | | | | buildroot list. git-svn-id: svn://busybox.net/trunk/busybox@15773 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from tito to improve options parsing.landley2006-08-031-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15772 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove xcalloc() and convert its callers to xzalloc(). About half of themlandley2006-08-0315-32/+22
| | | | | | | | were using "1" as one of the arguments anyway, and as for the rest a multiply and a push isn't noticeably bigger than pushing two arguments on the stack. git-svn-id: svn://busybox.net/trunk/busybox@15771 69ca8d6d-28ef-0310-b511-8ec308f3f277
* These should have been part of 15767 too.landley2006-08-039-61/+34
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15770 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix umount so loop device disassociation hopefully doesn't screw up errno onlandley2006-08-031-16/+12
| | | | | | | | | a failed mount. And while I'm at it, legacy mdev removal was only being done in the _failure_ case? That can't be right. Plus minor header cleanups and an option parsing tweak. git-svn-id: svn://busybox.net/trunk/busybox@15769 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Attempt to fixup httpd.c to match svn 15767.landley2006-08-031-19/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15768 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidatelandley2006-08-03143-1720/+710
| | | | | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.) git-svn-id: svn://busybox.net/trunk/busybox@15767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove apparent typo in "bool" line.rpjday2006-08-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15766 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move declaration to be compatible with older gcc's.rpjday2006-08-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15765 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make a gcc 4.1 warning go away.landley2006-08-011-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15763 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Announce 1.2.1landley2006-07-311-0/+25
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15762 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 1) ifeq is make syntax, #ifeq is a make comment.landley2006-07-311-7/+10
| | | | | | | | | | | | | 2) The check_cc macros should probably all have the same number of arguments. 3) Move the -Werror into the gcc 4.0 on i386 test, because gcc 4.1 is broken and produces warnings for things that provably aren't incorrect. In other news it would be nice if our check_ld macro actually did something, and why does or makefile do all the check_cc calls, then call itself as if it's building out of tree, then do all the check_cc calls again? git-svn-id: svn://busybox.net/trunk/busybox@15761 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove code that can't be reached.landley2006-07-311-3/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15760 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito said that strings is a complete rewrite.landley2006-07-311-41/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15758 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Switch off CONFIG_NITPICK in defconfig. (Kind of the point of CONFIG_NITPICK.)landley2006-07-301-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15756 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add back in non-ifdef version of FEATURE_PRETTY_PRINT, and get the attributionlandley2006-07-272-3/+40
| | | | | | | right this time. git-svn-id: svn://busybox.net/trunk/busybox@15754 69ca8d6d-28ef-0310-b511-8ec308f3f277
* And now, with a for loop, so it can handle the nested USE() case.landley2006-07-271-2/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15753 69ca8d6d-28ef-0310-b511-8ec308f3f277
* There's no excuse for adding new #ifdefs to the code like that. None at all.landley2006-07-272-39/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15752 69ca8d6d-28ef-0310-b511-8ec308f3f277