1
0
mirror of synced 2026-11-01 09:34:39 +03:00

Commit Graph

  • 59e46117b1 clean more files Mike Frysinger 2006-05-10 05:19:27 +00:00
  • f893250a3b Replace isnan() and isinf() with inline tests so uClibc doesn't want us to link sort against libm. This adds 22 bytes for glibc but is a win for uClibc, and since glibc is bigger than all of busybox it seems kind of silly to worry about it. Rob Landley 2006-05-09 23:14:39 +00:00
  • c503df5bdd Split CONFIG_DEBUG from CONFIG_DEBUG_PESSIMIZE, and consolidate some Rules.mak stuff along the way. Rob Landley 2006-05-09 22:08:56 +00:00
  • 2431830018 - fix bug in make help introduced by landley in r15022: Bernhard Reutner-Fischer 2006-05-09 11:29:56 +00:00
  • e3f5a3fd82 Convert sed's static variables to a single global structure. Rob Landley 2006-05-09 03:53:55 +00:00
  • 0b65628395 Move sed over to the generic llist_t for append. Saves about 90 bytes. Rob Landley 2006-05-08 22:17:23 +00:00
  • 92d8b35594 Make bloatcheck work when building out of tree. Rob Landley 2006-05-08 20:48:12 +00:00
  • 45d545890f - fix build Bernhard Reutner-Fischer 2006-05-08 20:20:32 +00:00
  • a6b5b60942 Fiddling with llist to make memory management easier. Specifically, the option to delete the contents of the list when we delete the list is a good thing. Rob Landley 2006-05-08 19:03:07 +00:00
  • 712ba85b30 Tweak suggested by Matt Mackall when I submitted the bloat-o-meter changes back to linux-kernel... Rob Landley 2006-05-08 18:30:33 +00:00
  • d61b8d8f9b The changes svn 14960 made to Rules.mak broke building out of tree (with O=directory), and reverting them fixes building out of tree. I'd be happy to fix them up instead of reverting them if I had the foggiest idea what they were trying to do, but I don't, and this at least gets building out of tree working again... Rob Landley 2006-05-08 18:18:02 +00:00
  • 19802563ed The if() is cheaper than the extra function parameter. According to make bloatcheck, this saves 112 bytes on x86... Rob Landley 2006-05-08 15:35:46 +00:00
  • 0ea0aefcb5 Remove a link that leaked in from the pending llist_t changes. Rob Landley 2006-05-08 15:08:25 +00:00
  • 1b4e1dae71 re-enable udhcp in a few more places Mike Frysinger 2006-05-08 03:24:36 +00:00
  • 7031f62d9b add back in udhcp support Mike Frysinger 2006-05-08 03:20:50 +00:00
  • 15fe2e11d7 Shrink the code about 50 bytes, allocate less run-time memory, and add a comment that null terminating the string we sscanf() shouldn't be required since the kernel adds \n to the end of it and sscanf will stop there. Rob Landley 2006-05-08 02:53:23 +00:00
  • 17507fa4c5 More busting on legacy mtab support in the help text. Rob Landley 2006-05-08 02:22:24 +00:00
  • 20deab0537 Cleanup patch from tito. Rob Landley 2006-05-07 23:34:15 +00:00
  • 63e4c637cb The udhcp was deleted from busybox in 14634. Bolting an external project to the side of the tree doesn't _COUNT_, and I will not ship it. Rob Landley 2006-05-07 23:19:20 +00:00
  • baa89b398d Patch to fix bug 868, and some related cleanup while I was in the area. A tab is now taken as the end of filename if it's there, but if it isn't (because the timestamp isn't there) we continue with the existing untruncated line as the filename. Rob Landley 2006-05-07 21:10:06 +00:00
  • a336e7cc25 Script to easily get an assembly dump of a single function. Rob Landley 2006-05-07 20:58:55 +00:00
  • a389651115 Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytes as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code. Rob Landley 2006-05-07 20:20:34 +00:00
  • f8a8084267 Add "make bloatcheck" to run Matt Mackall's bloat-o-meter. Copy an old busybox_unstripped to busybox_old, build a new version, and "make bloatcheck" to see a detailed breakdown of the size difference. Rob Landley 2006-05-07 19:26:53 +00:00
  • 9fb272a222 Dennis Vlasenko pointed out that run_applet_by_name sets bb_applet_name already. Rob Landley 2006-05-07 01:44:23 +00:00
  • 89ede3f586 fix udhcp again Mike Frysinger 2006-05-06 05:30:46 +00:00
  • 96087332e7 make sure script is executable Mike Frysinger 2006-05-06 05:27:19 +00:00
  • 42bd987e22 Add an "optional" line for FEATURE_READLINK_FOLLOW. Rob Landley 2006-05-05 22:22:30 +00:00
  • c008c7440d New test from Natanael Copa. Rob Landley 2006-05-05 21:07:41 +00:00
  • 1781188a9d didnt mean to commit debug enable Mike Frysinger 2006-05-05 20:33:07 +00:00
  • 02d8fa48ad use %p when printing pointers, not %x Mike Frysinger 2006-05-05 20:32:31 +00:00
  • 7a3d25e370 fix Bug 659 as reported by Robin Getz Mike Frysinger 2006-05-05 18:39:12 +00:00
  • 4e512f1062 fix Bug 659 as reported by Robin Getz Mike Frysinger 2006-05-05 18:38:07 +00:00
  • 3958e0a151 Busybox's udhcp was deleted a while ago. Bolting an external project onto the tree doesn't change that. Rob Landley 2006-05-05 18:20:42 +00:00
  • d8f6601502 Another patch from Garrett: remove bad block bitmap checking code. Everything produced in the list ten years has some variant of internal error correction (disks, cdrom, flash), so if it has user-visible bad blocks on it the hardware has exhausted its remapping reserve and is dying, and you need to get your data off pronto. (The one exception I can think of is floppies, and I don't care.) Rob Landley 2006-05-05 17:29:09 +00:00
  • 2c39eee805 Migrate endianness macros. Rob Landley 2006-05-05 16:54:40 +00:00
  • 39cf645ce0 Patch from Dennis Vlasenko resetting values that get reused. Rob Landley 2006-05-05 16:52:28 +00:00
  • 2381f702c9 Patch from Dennis Vlasenko simplifying the APPLET macros. Rob Landley 2006-05-05 15:55:06 +00:00
  • 49159c7f94 Patch from Jason Schoon to make mount -a not abort on the first failure. Rob Landley 2006-05-05 15:01:38 +00:00
  • 0e413e53e9 - ignore missing helptext for options which are not selectable. Bernhard Reutner-Fischer 2006-05-05 14:05:21 +00:00
  • 4f7953cc3c - add helptext for CONFIG_UNIX2DOS Bernhard Reutner-Fischer 2006-05-05 11:55:53 +00:00
  • 552b56dfd1 Not quite compiler independent, but we've never tried to be gcc independent anyway. This is at least less ugly than what was there before, and fixes building all sources at once. Rob Landley 2006-05-04 21:22:27 +00:00
  • 3b89039c25 It was sitting there, in the patches directory, for years. It was delete it or apply it. It's small, simple, evil, part of SUSv3, and we can switch it off. Rob Landley 2006-05-04 20:56:43 +00:00
  • 846fe0c045 There aren't any bzip2 based RPMs. If people want to experiment with new packaging formats, there's ipkg and such... Rob Landley 2006-05-04 19:57:34 +00:00
  • b1c3fbc677 CONFIG->ENABLE migration. Rob Landley 2006-05-04 19:52:28 +00:00
  • 0c43046fde Fix allbareconfig. Rob Landley 2006-05-04 19:51:22 +00:00
  • 3916b2a560 - add script to check for missing help entries of config options Currently we have these errors: Bernhard Reutner-Fischer 2006-05-04 11:38:33 +00:00
  • 7c94bed234 Big dead code elimination pass from Garrett. Rob Landley 2006-05-03 21:58:45 +00:00
  • db2ab89b7c Build break fix from Bernhard fischer, fixing fallout from svn 14974. (My bad.) Rob Landley 2006-05-03 21:39:28 +00:00
  • f76cd964ec Whitespace and documentation cleanup from Dennis Vlasenko. Rob Landley 2006-05-03 21:23:15 +00:00
  • 425e7584a4 Patch from Rich Felker to make ls use libc's qsort. Rob Landley 2006-05-03 20:22:03 +00:00
  • 1801e9cde7 Rich Felker writes: mistake in a macro caused statement before declaration. Rob Landley 2006-05-03 20:19:14 +00:00
  • 035ef5659e Patch from Garrett Kajmowicz to move a lot of #defines into the header file. Rob Landley 2006-05-03 20:05:18 +00:00
  • 2584e9b39f Remove HDIO_GETGEO_BIG which is dead (removed from 2.6) and was pointless back 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. Rob Landley 2006-05-03 20:00:00 +00:00
  • 0f0b645f73 Use ATTRIBUTE_NORETURN as suggested by tito, plus a few in-passing cleanups. Rob Landley 2006-05-03 18:28:06 +00:00
  • c5598177bc Patch from Jason Schoon to add optional SIGUSR1 support to dd. Rob Landley 2006-05-02 22:44:04 +00:00
  • 67d5b8b5b1 Minor tweaks: remove traces of old $COMMAND environment variable. Rob Landley 2006-05-02 21:39:04 +00:00
  • 2631486f1b Patch from Shaun Jackman: Rob Landley 2006-05-02 19:46:52 +00:00
  • 6389ff1115 Patch from tito removing obsolete code. Rob Landley 2006-05-01 19:28:53 +00:00
  • c488f87953 Notes on portability, and on when #include <linux/blah> is appropriate. Rob Landley 2006-05-01 05:26:01 +00:00
  • 73f54702bc Fixup a build break if ENABLE_SHOW_USAGE switched off. (Fallout from the compressed usage messages patch). Rob Landley 2006-05-01 00:53:40 +00:00
  • 3ea66a805d Patches from Denis Vlasenko to rework "current_name" handling and remove print_current_name(). Rob Landley 2006-04-29 20:08:40 +00:00
  • 8a6254994c Patch from Denis Vlasenko: * Do not initialize globals to 0, it is done automatically * unsigned short -> uint16_t, unsigned int -> uint32_t where appropriate (did it ever work on Alphas?) * triple sync() is silly - removed * check_zone_nr uses check_zone_nr2 now * remove trailing periods from messages, uppercase first letter Rob Landley 2006-04-29 20:05:17 +00:00
  • 9950cab8e0 Patch from Denis Vlasenko: ix bug (inode_map and zone_map are char* pointers, sizeof() on them gives 4 or 8) Rob Landley 2006-04-29 20:03:54 +00:00
  • 5bc3f05a23 Remove some unused code pointed out by Tito, plus a slightly more graceful way of handling endianness. Rob Landley 2006-04-29 19:11:24 +00:00
  • a3e4f38f7b Style fixes from Denis Vlasenko. Rob Landley 2006-04-29 16:06:31 +00:00
  • 5f8b5ecda2 Another patch from Denis Vlasenko: Make hdparm smaller: * Make bb_ioctl return the status * Replace ioctl with bb_ioctl in a few places * Add bb_ioctl_alt, use where appropriate (four places) * unsigned char args1[4+512] = {WIN_IDENTIFY,0,0,1,}; ate 0.5k of rodata, fix that Rob Landley 2006-04-29 16:03:40 +00:00
  • e5b281f89e From Dennis Vlasenko, Make hdparm smaller: * Use combined no_scsi_no_xt() * Have common unsigned char args[4] = {WIN_SETFEATURES,0,0,0}; Rob Landley 2006-04-29 15:49:18 +00:00
  • 2e2d752d49 Cleanup to hdparm by tito. Rob Landley 2006-04-29 15:23:33 +00:00
  • 2514042661 termios.h is already included so dont include sys/termios.h as well Mike Frysinger 2006-04-29 04:45:22 +00:00
  • 02fe81033f detect more obsolete headers Mike Frysinger 2006-04-29 04:44:08 +00:00
  • 59c6baedf7 just include fcntl.h not sys/fcntl.h Mike Frysinger 2006-04-29 04:43:50 +00:00
  • 706f8f6de5 just include fcntl.h not sys/fcntl.h Mike Frysinger 2006-04-29 04:43:31 +00:00
  • f054be12de Rob Sullivan writes: rewrite the regex handling to improve stability Mike Frysinger 2006-04-29 04:21:10 +00:00
  • 12ef09b818 compile.h is incorrect; create a new do_link.h and use that for bb_mkdep and usage Mike Frysinger 2006-04-29 04:19:10 +00:00
  • fe6bb3853c use pretty output for scripts/bb_mkdep and scripts/usage Mike Frysinger 2006-04-29 04:12:36 +00:00
  • 3737c03630 - rerun gcse pass after reload, enable whole-program iff we are not building the lib (due to bug in gcc; see comment.) I would have run the testsuite to check if everything is still behaving, but unfortunately i cannot run the testsuite anymore: it just sits there and does nothing even with a pristine checkout and an old gcc. srcdir=/tmp/busybox/testsuite /tmp/busybox/testsuite/runtest PASS: Applet order FAIL: Common typos PASS: Obsolete function usage PASS: Obsolete function usage <spins, ^C> make[1]: *** [check] Interrupt make: *** [check] Interrupt Bernhard Reutner-Fischer 2006-04-28 20:02:29 +00:00
  • 15545b1db9 - print "Obsolet headers" instead of "Obsolete function usage" when checking for obsolet includes. Bernhard Reutner-Fischer 2006-04-28 19:53:48 +00:00
  • a2d9a1752c More usage.h cleanups, with collateral changes to httpd. Specifically, most of our CONFIG entries switch stuff on instead of off when enabled, so fix the gratuitously reversed INETD thing. Rob Landley 2006-04-28 19:38:04 +00:00
  • 0e6a3e14e4 Patch from tito to update output of hdparm. Rob Landley 2006-04-28 01:33:30 +00:00
  • 7e21d5f6b1 Patch from Dennis Vlasenko to add the option to compress help text. Rob Landley 2006-04-27 23:34:46 +00:00
  • d5b9428bb6 Re-wordwrap the new tests, and fix seq.c to pass them. Rob Landley 2006-04-27 22:36:32 +00:00
  • a345dc855f - add two regression tests for seq. "seq two arguments equal, arbitrary negative step" fails but should pass.. Bernhard Reutner-Fischer 2006-04-27 13:46:56 +00:00
  • ee3e57db0d Giuseppe Ciotta writes: add -t, --retries=NUM to show_usage() Mike Frysinger 2006-04-27 02:03:03 +00:00
  • fc477f4bc6 - add note about crond Bernhard Reutner-Fischer 2006-04-26 19:40:15 +00:00
  • 06a81d368e - patch from Denis Vlasenko to make sizes PHONY and to add objsizes which prints the sizes of the individual object files. Bernhard Reutner-Fischer 2006-04-26 10:10:25 +00:00
  • 5fe8d5b9c5 Convert a chunk of usage.h to USE_ and SKIP_ (more to do there), and fix a DEFALT typo in du while I was there. Rob Landley 2006-04-25 22:40:53 +00:00
  • 7818a422bc Portability tweak from Shaun Jackman, don't include asm/page.h directly. Rob Landley 2006-04-25 18:42:23 +00:00
  • 997650b972 From Denis Vlasenko: * CPU% = process[i].ticks/sum(process[i].ticks) * busy_cpu_ticks/total_cpu_ticks * got rid of empty line under "Load average" line   and used last line - +2 visible processes * do not do float conversion of loadavg, just read it as string from /proc * fix display on small screens * dropped unused .stime, .utime fields * a few variables were renamed * style fixes Rob Landley 2006-04-24 23:13:46 +00:00
  • 56fbd21fa7 - return ret so we return something meaningful. Bernhard Reutner-Fischer 2006-04-24 17:41:29 +00:00
  • 70cbb6e026 Jason Schoon writes: Attached is a patch to display the usage message if fuser is called with no arguments, rather than doing no work and failing silently. Mike Frysinger 2006-04-21 22:04:05 +00:00
  • 10f55b1dae Jason Schoon writes: This makes the case where LFS is not defined, but fdisk is configured with large disk support use the pretty build rules. Mike Frysinger 2006-04-21 21:59:22 +00:00
  • 586ea61284 2006-04-20 Shaun Jackman <sjackman@gmail.com> * Makefile: Build a bFLT binary. * Rules.mak: Ditto. Mike Frysinger 2006-04-21 01:18:07 +00:00
  • 791976490b - passwd doesnt use salt with md5 passwords; bug #604 thanks taviso Ned Ludd 2006-04-21 00:40:35 +00:00
  • f162183527 kill signed warnings Mike Frysinger 2006-04-20 04:00:11 +00:00
  • 998dbee6d9 Patch from Jean Wolter: Rob Landley 2006-04-19 22:22:06 +00:00
  • 5076eb4af9 svn 14824 broke -funsigned-char and possibly building out of tree, because $(srcdir) can't bind early since it's set to a different value in each subdir. If it binds early, it's blank, hence an empty -I which eats the next option as a directory to look for #include files in. Rob Landley 2006-04-19 20:32:27 +00:00
  • 856489b63c New applet cksum, from Rob Sullivan. Rob Landley 2006-04-18 20:57:28 +00:00
  • bbd50b58ea Remove some #if 0 code. Rob Landley 2006-04-18 20:42:39 +00:00
  • e4386342b4 Simplify the GPL boilerplate. Rob Landley 2006-04-18 20:41:51 +00:00
  • 18260d5099 - typo: s/derefernce/dereference/g Thanks to P.J. Day. Bernhard Reutner-Fischer 2006-04-18 14:17:49 +00:00