aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* whitespace/syntax cleanups, dont mind me :pMike Frysinger2005-09-131-36/+22
|
* touch up usage for swap utilsMike Frysinger2005-09-131-2/+2
|
* Cleanup patch from Tito.Rob Landley2005-09-131-36/+11
|
* sysctl was seriously broken. And since in some cases 'CONFIG_SYSCTL'Eric Andersen2005-09-125-9/+7
| | | | | could be included into application space via the kernel config option of the same name, nasty compilation problems could result.
* Kunihiko IMAI writes:Eric Andersen2005-09-121-1/+1
| | | | | | | | | | | | | We're using busybox and thank the authors. I found a short buffer allocation at busybox/sysklod/syslod.c. It mis-declares length of filenames, seems to forget for '\0' or two column numbered suffix of backup files (ex. messages.10). Here is a patch for the problem. Thanks.
* bb_mkdep speed up * 10!"Vladimir N. Oleynik"2005-09-121-82/+112
|
* new my scripts/mm_mkdep, dependences work now"Vladimir N. Oleynik"2005-09-125-876/+867
|
* Clean up memory allocation.Rob Landley2005-09-111-32/+8
|
* This combines a patch from Bernhard Fischer (moving the clean ofRob Landley2005-09-111-18/+3
| | | | | | scripts/config from distclean to clean) with a sed consolidation that's been in my tree for a bit, and switching the GPL boilerplate to just point at LICENSE.
* Cleanup patch by Bernhard Fischer, removing unnecessary includes ofRob Landley2005-09-1123-36/+20
| | | | getopt.h, whitespace changes, typos, etc.
* use CONFIG_BUFFER macros like cow suggested and shrink code size some more ↵Mike Frysinger2005-09-101-23/+19
| | | | by using less variables and more gotos ;)
* Patch from Dirk Clemens so df doesn't run numbers together on drives >100gig.Rob Landley2005-09-101-2/+2
|
* some tweaks by cow to shrink a littleMike Frysinger2005-09-101-24/+11
|
* Put the menu_is_visible test back because it avoids printing spuriousRob Landley2005-09-081-12/+12
| | | | (albeit commented out) garbage.
* Rob, I don't know why you feel some unexplainable compulsion to get rid ofManuel Novoa III2005-09-081-48/+70
| | | | | | | | a meaningless warning. But I do expect you preserve the coding style and variable names when all you're doing is tweaking some of my code. I repeat... do NOT change whitespace, variable names, or coding style in any of my code simply to conform to your coding style.
* A bit overdue...Rob Landley2005-09-081-1/+1
|
* Tito sent more size tweaks.Rob Landley2005-09-084-19/+11
|
* Fix the warning by rewriting the function to be smaller and simpler.Rob Landley2005-09-081-28/+17
| | | | | I'd appreciate somebody on a __BIG_ENDIAN platform testing this out; I haven't got the hardware...
* Tito sent in a few patches converting instances of CONFIG_FEATURE_CLEAN_UP toRob Landley2005-09-084-16/+16
| | | | ENABLE_FEATURE_CLEAN_UP.
* committing:Paul Fox2005-09-072-58/+108
| | | | | | | | Summary 0000242: ash: read -t broken this also implements -n and -s options to read. (they're configured together because most of their code is in common, and separating them seemed silly.
* Yeah, Linus is the original author of three of our apps, but A) he doesn'tRob Landley2005-09-071-1/+1
| | | | | | work at transmeta anymore so that email's bogus, B) hands up everybody who thinks emailing him about a problem in the busybox version of those apps would be productive?
* Fix warnings.Rob Landley2005-09-071-2/+2
|
* This code exists to compensate for ancient broken build environments which,Rob Landley2005-09-073-231/+2
| | | | | | | | | | | | as far as I can tell, are no longer relevant. Modern busybox refuses to build under libc5 (there's a specific test and #error for that), and I'm not sure building against 2.1 kernel headers on Alpha was ever relevant. I'm happy to put any of this back if anybody can point to a real need for it, but if so we need to specifically document what environment is being compensated for. (And we should quarrantine the build environment code into one place, anyway. Maybe "quirks.h" for known compiler and libc quirks?)
* Don't comment warnings. Don't put #warnings about warnings. _FIX_ warnings.Rob Landley2005-09-075-71/+74
| | | | | | | | | This fixes the warning, and makes the binary smaller out of sheer pique. (Yes, since Manuel did this one it's nice tight code that took several attempts to shrink, but I was ticked.) Add the start of a test for uniq; this is about the first 1/3 of the tests we need for full susv3 coverage of uniq.
* Amir Shalem writes:Mike Frysinger2005-09-061-7/+7
| | | | this patch fix syscall names mix-up in libb/syscalls.c
* - sync traceroute with Slackware-10.1"Vladimir N. Oleynik"2005-09-064-356/+1242
| | | | | (support -FIl -g gw -i if -z pt now). - libbb/getopt_ulflags.c support bb_opt_complementally="x-x" as trigger now
* typo, thanks, Bernhard Fischer"Vladimir N. Oleynik"2005-09-061-1/+1
|
* Whitespace-level changes. Replace s0,s1,e0,e1 with real variable names andRob Landley2005-09-061-39/+24
| | | | | clean up whitespace and curly brackets a bit. Resulting binary should be identical.
* get_terminal_width_height.c was in there twice.Rob Landley2005-09-051-1/+1
|
* Bernhard Fischer pointed out that CONFIG_FEATURE_MOUNT_FORCE no longer exists.Rob Landley2005-09-051-1/+0
|
* Regarding 11330: when you fix a bug that the testsuite doesn't catch, addRob Landley2005-09-051-0/+2
| | | | a test case to the test suite.
* destroy bug [0000381]"Vladimir N. Oleynik"2005-09-051-2/+2
|
* destroy bug [0000404]"Vladimir N. Oleynik"2005-09-051-5/+5
|
* - usage fresh bb_getopt_ulflags for ls -- very size reduce."Vladimir N. Oleynik"2005-09-051-77/+64
| | | | | - small indent corrections - remove unecessary malloc and free
* 1) bb_opt_complementaly -> bb_opt_complementally"Vladimir N. Oleynik"2005-09-0520-167/+176
| | | | | 2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
* 1) sync with dash_0.5.2-7"Vladimir N. Oleynik"2005-09-052-59/+103
| | | | | | 2) but expand PS# as config option 3) correct kill error message again 4) remove show "line number" for interactive run (patch pending for dash)
* remove infinity loop ./busybox --help busybox"Vladimir N. Oleynik"2005-09-051-2/+3
|
* The previous commit left confdata writing out:Rob Landley2005-09-051-3/+2
| | | | | | | | | | | | CONFIG_NUMERIC_CONSTANT= And on reading it back in, it would complain that '' was an invalid value for that field. I.E. "make allnoconfig && make" worked fine, but "make allnoconfig && make menuconfig" barfed reading in the config file. So now I have it write out "0" as the blank value. (It's initialized to the default value when the menu becomes visible anyway; I checked.) That seems to work.
* Now that "make sizes" is in, the faq should mention it...Rob Landley2005-09-051-12/+4
|
* Fix the warnings, and fix the following two obvious segfaults:Rob Landley2005-09-051-10/+7
| | | | | | | | | | | ./busybox getopt -n one -n two woot ./busybox getopt -o one -o two woot This entire applet is still an enormous pile of garbage, which I can't clean up because I really have no idea what it's for. (Both "man getopt" and trying it out on the command line a bit fail to enlighten me. Reading the code, the fact half of it seems to be special cases for bash vs tcsh does not fill me with confidence.)
* Actually returning ret might be good.Rob Landley2005-09-051-0/+2
|
* Fixes so "make allnoconfig" works again.Rob Landley2005-09-053-149/+137
| | | | | | | | | | | | | | | | | | | | | | The configure system's save function edited out sub-menus that wouldn't be displayed in the current configuration, meaning config.h wouldn't have #udef entries for those symbols, meaning bb_config.h would have the relevant ENABLE_ missing instead of defined to 0. This broke the build. So I fixed it, and then reorganized the applets.c and busybox.c to take away the warnings this revealed (code that would be optimized out was making calls to functions that hadn't been prototyped. So I added an #else case to those #ifdefs to #define the relevant functions to empty macros to placate the warnings. I also reorganized the applets.c code to make adding such an #else case less of a pain (and make the need for prototyping go away by moving the functions up before they were used, and generally wind up with fewer #ifdefs in the code by putting all the logic in one place). This resulted in a huge seeming patch, when most if it just moves code from one place to another without touching it... Upside: make allyesconfig and make allnoconfig should both work now.
* Remove trailing crud from busybox.tests. (Sleep deprivation strikes again...)Rob Landley2005-09-041-75/+0
|
* General cleanup of command line parsing to allow "busybox" to work as a prefix.Rob Landley2005-09-045-127/+185
| | | | | | | | | | | | | | | | | | | | | | | | | (I.E. any argv[0] that starts with "busybox" winds up in busybox_main().) Added testing/busybox.tests which tests the following permutations: ./busybox ./busybox-suffix ./busybox cat ./busybox-suffix cat ./busybox --help ./busybox-suffix --help ./busybox --help cat ./busybox-suffix --help cat ./busybox --help unknown ./busybox-suffix --help unknown ./unknown Also repair the test suite so ./runtest calls the ".tests" scripts properly. Note: you can now go "busybox busybox busbox ls -l" and it'll take it. The new code is pretty generic. I can block that if anybody can come up with a good reason to...
* touchup some grammar, formatting, and remove some outdated notesMike Frysinger2005-09-021-12/+17
|
* update the verbage describing what is needed for developer accessEric Andersen2005-09-021-3/+9
|
* This goes along with the new testsuite code...Rob Landley2005-09-023-12/+0
|
* Working on a new test harness. Moved the sort tests into it.Rob Landley2005-09-024-1/+143
|
* Missing break was screwing up 'y//' command. Bug #248.Rob Landley2005-09-021-0/+1
|
* Fix for bug 383: attempting to "tar c /" would error out because strippingRob Landley2005-09-011-1/+1
| | | | trailing / turns that into an empty string.