aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add missing dependency -- interface.c needs get_kernel_revision.Manuel Novoa III2001-03-121-1/+1
|
* Adjust ifconfig usage message for selected options and current functionality.Manuel Novoa III2001-03-123-18/+69
|
* Reduced code size of interface. Support ifconfig -a and ifconfig interfaceManuel Novoa III2001-03-123-140/+208
| | | | | display. Change %llu to %Lu in ifconfig for hacked unsigned long long support in uClibc scanf.
* When using wordexp, only try to use the expand commandEric Andersen2001-03-103-36/+42
| | | | | when something actually got expanded. Skip it otherwise. -Erik
* Quick mod to enable option -a for ifconfig.Manuel Novoa III2001-03-103-20/+33
|
* Created new regression testing framework with a number of testcases (many moreMark Whitley2001-03-103-1/+409
| | | | | | can be added). Also changed 'test' target in makefile to run the new tester.sh. (Hopefully, we should be able to remove all the tests/*.mk files soon.)
* /* getopt not needed */Mark Whitley2001-03-102-0/+4
|
* Added some more '/* getopt not needed */' lines.Mark Whitley2001-03-0912-0/+26
|
* Use perror_msg_and_die function where appropriate.Manuel Novoa III2001-03-092-6/+4
|
* Fixed df.c so that nfs volumes will display properly (fixing bug #1113).Eric Andersen2001-03-092-12/+20
| | | | | | | Problem was 512/1024 = 0 if you use longs, so I cast KILOBYTE to a double, then cast the result back to an int after the math is done, letting C's type promotion do its magic for the rest. -Erik
* Silence a silly warningEric Andersen2001-03-092-6/+8
|
* Applied patch from Jeff Garzik to getopt-ify rmmod.Mark Whitley2001-03-092-26/+24
|
* Patch from Jeff Garzik marking a few 'getopt not needed' apps.Eric Andersen2001-03-099-0/+16
|
* A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen2001-03-0948-158/+156
| | | | namespace polluting things that really should be static.
* patch from Larry to fix pristine source buildsEric Andersen2001-03-091-1/+1
|
* Fixed a couple more cases. $FOO/bar ${FOO} and such now workEric Andersen2001-03-093-12/+42
| | | | | | without wordexp. Of course for stuff like ${1:-foo} you still need wordexp for them to work. -Erik
* Allow wordexp to be used if availableEric Andersen2001-03-093-6/+6
|
* Urg. Remove the debug noiseEric Andersen2001-03-093-3/+0
|
* Ok, sh.c should be working now. Many thanks to Larry DoolittleEric Andersen2001-03-093-255/+249
| | | | | | for his timely help -- nearly all of the work in this patch is his. -Erik
* Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanupEric Andersen2001-03-0934-16/+40
| | | | | warnings with glibc 2.2 and use always use xfopen -Erik
* Added script that tests turning on features in busybox one at a time andMark Whitley2001-03-091-0/+81
| | | | compiling to see if things break. Initial revision.
* Fix sh.c for the glab case. I was messing things up forEric Andersen2001-03-093-15/+18
| | | | | single argument commands. It should now work as expected... -Erik
* A '.' is a legal seperator.Eric Andersen2001-03-093-6/+6
|
* Fix to trim to make it trim properly.Mark Whitley2001-03-091-4/+4
|
* Cleanup patch from LarryEric Andersen2001-03-093-6/+15
|
* Add in 'trim' routine. Fix up sh.c so it works when wordexpEric Andersen2001-03-086-33/+270
| | | | | is not available. -Erik
* Improved port of ifconfig... smaller and with more features.Manuel Novoa III2001-03-083-658/+773
|
* Per Vladimir's suggestion, force the locale to POSIX for allEric Andersen2001-03-087-0/+21
| | | | the scripts so busybox will install properly.
* Whitespace / formatting / bracket cleanup.Mark Whitley2001-03-082-10/+14
|
* Remember to delete un-expandable variables, and do a better job of expandingEric Andersen2001-03-083-18/+84
| | | | | | shell-specific things in case the wordexp implementation is broken (ie. the stubbed out wordexp in uClibc). -Erik
* Rework environment variable handling to use wordexp, per a suggestion fromEric Andersen2001-03-084-325/+250
| | | | | | | | | Larry Doolittle a couple of months ago. This makes the stuff-expansion in lash be ever so standards compliant. This change needs testing by everyone, but appears to be solid enough to let us close bug #1090. It works for me; however, please test this change! -Erik
* Applied patch from Vladimir to fix bug where find would stop as soon as it hitMark Whitley2001-03-081-16/+11
| | | | a perms error. Closes bug 1124.
* Eliminate superfluous test.Matt Kraai2001-03-072-4/+0
|
* Changed KILOBYTE, MEGABYTE, and GIGABYTE from #define to enum.Mark Whitley2001-03-072-6/+10
|
* Some minor cleanups to df.c. Also, with Erik's blessing, changed name ofMark Whitley2001-03-079-81/+87
| | | | 'format' function to 'make_human_readable_str'.
* Applied patch from Christophe Boyaniqu to remove double-slashes printed inMark Whitley2001-03-071-1/+4
| | | | recursive_action.
* This patch by Vladimir and Larry saves a few bytes.Eric Andersen2001-03-072-10/+8
|
* Static-ify a variable. make du work with all the human-readable variantsEric Andersen2001-03-074-12/+34
| | | | since my last pass only fixed 'du -h' but left the others broken.
* Fix up du so it behaves itself also.Eric Andersen2001-03-072-4/+4
| | | | -Erik
* remove an unused variableEric Andersen2001-03-073-3/+0
|
* Rewrite of format so it behaves itselfEric Andersen2001-03-071-36/+16
| | | | -Erik
* Fix up df so it works properlyEric Andersen2001-03-072-20/+10
| | | | -Erik
* Fix up ls.c to ensure human readable works properly in all casesEric Andersen2001-03-072-10/+10
|
* Thought of another janitorial item for the list.Mark Whitley2001-03-061-0/+3
|
* I made these little simplifications a while back, bug forgot toEric Andersen2001-03-064-14/+6
| | | | | check this stuff in. -Erik
* Fix the memory leak. No really this time.Eric Andersen2001-03-063-21/+27
| | | | -Erik
* Applied patch from Vladimir Oleynik via Magnus Damm that removes newlines fromMark Whitley2001-03-062-24/+16
| | | | error_msg() calls and uses 'return EXIT_SUCCESS' instead of return 0.
* Fix up some silly macros and use xmalloc and friends exclusively.Eric Andersen2001-03-061-6/+3
|
* Fix func prototypeEric Andersen2001-03-063-0/+3
|
* Fixed a memory leak in lash. It seems that close_all was calling close()Eric Andersen2001-03-063-3/+3
| | | | | | directly instead of calling mark_closed(), which allowed the memory allocated by mark_open() to never be freed. -Erik