aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-05-08Shrink the code about 50 bytes, allocate less run-time memory, and add aRob Landley
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.
2006-05-08More busting on legacy mtab support in the help text.Rob Landley
2006-05-07Cleanup patch from tito.Rob Landley
2006-05-07The udhcp was deleted from busybox in 14634. Bolting an external project toRob Landley
the side of the tree doesn't _COUNT_, and I will not ship it. Udhcp was deleted shortly after I posted my philosophy for what should and shouldn't go into busybox: http://www.busybox.net/lists/busybox/2006-March/019484.html I complained about the change t the time. I've complained repeatedly since. But nobody felt like fixing it. External dependencies are something to be minimized. I don't care about the ability for packages to build outside busybox: something is either part of busybox, or it isn't. If I convert any part of the external udhcp repository to use libbb, I've broken the external package. Any random cleanups that touch that directory suddenly have to worry about external dependencies that are NOT OUR PROBLEM. Therefore, that directory is not and cannot be part of busybox. Wishful thinking isn't going to change that. I will not ship something I can't maintain. I'll try to get a new dhcp client and server in before the ship window closes, but I have a half-dozen other projects pending. I'm sorry this happened, but I'm not the one who removed it, and I'm not the one who ignored the project maintainer's repeated complaints about the situation for the next month and a half.
2006-05-07Patch to fix bug 868, and some related cleanup while I was in the area.Rob Landley
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.
2006-05-07Script to easily get an assembly dump of a single function.Rob Landley
2006-05-07Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesRob Landley
as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
2006-05-07Add "make bloatcheck" to run Matt Mackall's bloat-o-meter. Copy an oldRob Landley
busybox_unstripped to busybox_old, build a new version, and "make bloatcheck" to see a detailed breakdown of the size difference.
2006-05-07Dennis Vlasenko pointed out that run_applet_by_name sets bb_applet_name already.Rob Landley
2006-05-06fix udhcp againMike Frysinger
2006-05-06make sure script is executableMike Frysinger
2006-05-05Add an "optional" line for FEATURE_READLINK_FOLLOW.Rob Landley
2006-05-05New test from Natanael Copa.Rob Landley
2006-05-05didnt mean to commit debug enableMike Frysinger
2006-05-05use %p when printing pointers, not %xMike Frysinger
2006-05-05fix Bug 659 as reported by Robin GetzMike Frysinger
2006-05-05Busybox's udhcp was deleted a while ago. Bolting an external project onto theRob Landley
tree doesn't change that.
2006-05-05Another patch from Garrett: remove bad block bitmap checking code. EverythingRob Landley
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.)
2006-05-05Migrate endianness macros.Rob Landley
2006-05-05Patch from Dennis Vlasenko resetting values that get reused.Rob Landley
2006-05-05Patch from Dennis Vlasenko simplifying the APPLET macros.Rob Landley
2006-05-05Patch from Jason Schoon to make mount -a not abort on the first failure.Rob Landley
2006-05-05- ignore missing helptext for options which are not selectable.Bernhard Reutner-Fischer
2006-05-05- add helptext for CONFIG_UNIX2DOSBernhard Reutner-Fischer
2006-05-04Not quite compiler independent, but we've never tried to be gcc independentRob Landley
anyway. This is at least less ugly than what was there before, and fixes building all sources at once.
2006-05-04It was sitting there, in the patches directory, for years. It was delete itRob Landley
or apply it. It's small, simple, evil, part of SUSv3, and we can switch it off.
2006-05-04There aren't any bzip2 based RPMs. If people want to experiment with newRob Landley
packaging formats, there's ipkg and such...
2006-05-04CONFIG->ENABLE migration.Rob Landley
2006-05-04Fix allbareconfig.Rob Landley
2006-05-04- add script to check for missing help entries of config optionsBernhard Reutner-Fischer
Currently we have these errors: ./modutils/Config.in: No helptext for 'CONFIG_FEATURE_QUERY_MODULE_INTERFACE' ./networking/Config.in: No helptext for 'CONFIG_IPADDR' ./networking/Config.in: No helptext for 'CONFIG_IPLINK' ./networking/Config.in: No helptext for 'CONFIG_IPROUTE' ./networking/Config.in: No helptext for 'CONFIG_IPTUNNEL' ./coreutils/Config.in: No helptext for 'CONFIG_UNIX2DOS'
2006-05-03Big dead code elimination pass from Garrett.Rob Landley
2006-05-03Build break fix from Bernhard fischer, fixing fallout from svn 14974. (My bad.)Rob Landley
2006-05-03Whitespace and documentation cleanup from Dennis Vlasenko.Rob Landley
2006-05-03Patch from Rich Felker to make ls use libc's qsort.Rob Landley
2006-05-03Rich Felker writes:Rob Landley
mistake in a macro caused statement before declaration.
2006-05-03Patch from Garrett Kajmowicz to move a lot of #defines into theRob Landley
header file.
2006-05-03Remove HDIO_GETGEO_BIG which is dead (removed from 2.6) and was pointless backRob Landley
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.
2006-05-03Use ATTRIBUTE_NORETURN as suggested by tito, plus a few in-passing cleanups.Rob Landley
2006-05-02Patch from Jason Schoon to add optional SIGUSR1 support to dd.Rob Landley
2006-05-02Minor tweaks: remove traces of old $COMMAND environment variable.Rob Landley
2006-05-02Patch from Shaun Jackman:Rob Landley
ls has an ugly bug. ls uses an array of pointers, the elements of which are all in a linked list. To free the elements, instead of freeing all the elements in the array, array[0..nelements], it frees by iterating the linked list starting at array[0], which it assumes is the head of the list. Unfortunately, ls also sorts the array! So, array[0] is no longer the head, but somewhere in the middle of the linked list. This patch fixes this bug, and also adds an ENABLE_FEATURE_CLEAN_UP stanza.
2006-05-01Patch from tito removing obsolete code.Rob Landley
2006-05-01Notes on portability, and on when #include <linux/blah> is appropriate.Rob Landley
2006-05-01Fixup a build break if ENABLE_SHOW_USAGE switched off. (Fallout from theRob Landley
compressed usage messages patch).
2006-04-29Patches from Denis Vlasenko to rework "current_name" handling and removeRob Landley
print_current_name().
2006-04-29Patch from Denis Vlasenko:Rob Landley
* 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
2006-04-29Patch from Denis Vlasenko:Rob Landley
ix bug (inode_map and zone_map are char* pointers, sizeof() on them gives 4 or 8)
2006-04-29Remove some unused code pointed out by Tito, plus a slightly more gracefulRob Landley
way of handling endianness.
2006-04-29Style fixes from Denis Vlasenko.Rob Landley
2006-04-29Another patch from Denis Vlasenko:Rob Landley
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