aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Cleanups and sinze reduction for the vi applet from Aaron LehmannEric Andersen2001-07-022-28/+30
| | | | <aaronl@vitelus.com>
* Patch from Aaron Lehmann <aaronl@vitelus.com> to scrub a ton ofEric Andersen2001-07-022-2258/+386
| | | | portability junk from gzip.c, making it a zillion times more readable.
* Per patch from vodz, change a couple of consts to defines, sinceEric Andersen2001-07-024-4/+12
| | | | | apparently gcc 2.95.4, at least, is too stupid to realize that a "static const int" is in fact a constant.
* Some updates to ash from vodz. Makes ash smaller. I made a fewEric Andersen2001-07-023-6567/+5576
| | | | | changes, esp describing all the current ash configuration options. Now ash adds 66k in the default configuration.
* Patch from vodz to fix freeing a static in cmdedit.Eric Andersen2001-07-022-2/+4
|
* Simplify a commentEric Andersen2001-06-301-2/+0
|
* Generalize comment -- no longer ls specificEric Andersen2001-06-301-4/+3
|
* Pad the human readable output for 'ls -sh' to 6 chars, since we willEric Andersen2001-06-302-2/+2
| | | | | have numbers printed as XXX.YU, so we need 6 digits not 4. -Erik
* Fix a silly logic error which caused symlinks to be printed twice, andEric Andersen2001-06-302-10/+8
| | | | | wrongly caused the return code to be an error. -Erik
* Fixed scaling problems involving make_human_readable_str.Manuel Novoa III2001-06-302-10/+10
|
* ls -s was reporting bytes instead of blocks.Manuel Novoa III2001-06-302-2/+2
|
* All-integer version (but it does use an unsigned long long) which fixesManuel Novoa III2001-06-301-47/+70
| | | | | | the problems of the previous version (used floating point, overflowed, didn't round properly). The comments at the top of the file are worth reading; especially note 2 concerning "ls -sh".
* A really nice patch from Manuel Novoa III for compile timeEric Andersen2001-06-292-0/+372
| | | | configurable size/speed tradeoffs.
* Add some missing includes to kill warnings when building with the defaultManuel Novoa III2001-06-2912-0/+14
| | | | | | | Config.h and using gcc's -fno-builtin. There are probably other files with the similar problems. Also, if building against uClibc, don't include asm/unistd.h in syscalls.c and module_syscalls.c.
* This is a busybox port of the Minix shell. It is reasonably capable,Eric Andersen2001-06-292-0/+9598
| | | | | | | | | | handles all the basic stuff (for, case/esac, while, if/then/else), and is very small (adds just 38k on x86). It is not as rigorously correct about Bourne semantics as bash, but for most things it is quite workable. There is still some work to be done to further shrink it (it has its own globbing functions instead of using the libc ones, for example), but it is quite usable as is. -Erik
* Fix a nasty hard to spot bug found by Ralph Siemsen <ralphs@netwinder.org>.Eric Andersen2001-06-282-8/+18
| | | | | | This would cause it to obliterates the end of the strtab section, so symbol lookups would fail and then it would crash. Ugh. This should fix things for people having trouble with insmod.
* Allow xrealloc to act as a free() when size=0, per SuS2.Eric Andersen2001-06-281-1/+11
| | | | -Erik
* Remove vodz from credits, per his requestEric Andersen2001-06-282-8/+4
|
* Scrub up the licensing blockEric Andersen2001-06-282-1664/+130
| | | | -Erik
* This a an ash applet I put together. It is similar to the one putEric Andersen2001-06-283-0/+29709
| | | | | | | together by vodz, but uses newer sources, has the removed features commented out instead of simply deleted (so they could be re-enabled) and the builtins all work. This adds 72k. -Erik
* Remove unneeded stuff.Eric Andersen2001-06-282-12/+0
|
* More thrashing about trying to make hush behave itself wrt jobEric Andersen2001-06-282-32/+36
| | | | control...
* don't whine if all we need to do is remove a bg jobEric Andersen2001-06-272-2/+4
|
* Fix a type promotion bug discivered and analyzed by Alan ModraEric Andersen2001-06-273-3/+3
| | | | <amodra@bigpond.net.au>, which caused false checksum errors
* Re-enable globbing (I'd accidentaly removed it) and finish off the lastEric Andersen2001-06-272-20/+448
| | | | | of the job control polishing. Works fine now. -Erik
* Explicitly call setsid()Eric Andersen2001-06-262-0/+2
|
* Minor formatting changeEric Andersen2001-06-262-8/+8
|
* Don't choke if /etc/profile is not availableEric Andersen2001-06-262-16/+14
|
* Fix ps so it doesn't waste space showing group, as it is pretty muchEric Andersen2001-06-262-36/+10
| | | | | meaningless anyways. -Erik
* Make it so we don't segfault when /proc isn't mounted -- guess pid 1...Eric Andersen2001-06-261-0/+9
| | | | -Erik
* Don't use void * to pass pointers of known typeEric Andersen2001-06-263-28/+37
|
* A patch from Erik Meusel <erik@wh58-709.st.uni-magdeburg.de>Eric Andersen2001-06-262-0/+8
| | | | to fix the behavior of 'tail -f -n 0 FILE'
* Vladimir's last_patch_15Glenn L McGrath2001-06-2615-247/+269
|
* Patch from Gennady FeldmanGlenn L McGrath2001-06-262-4/+0
| | | | This should fix "circular buffer" error message shown when running "syslogd -C"
* rpm2cpio applet by Laurence AndersonGlenn L McGrath2001-06-2612-12/+222
|
* Fix the code for establishing a controlling terminal.Eric Andersen2001-06-252-56/+84
| | | | -Erik
* Fix up some warnings that show up on ppcEric Andersen2001-06-254-4/+4
|
* This should finish off the job control issues with lash. Make certainEric Andersen2001-06-252-30/+92
| | | | | we have a controlling terminal... -Erik
* Nore unarchive (and doc) fixes from Laurence AndersonGlenn L McGrath2001-06-2411-50/+49
|
* Make the extern NUM_APPLETS be a extern const NUM_APPLETS, to matchEric Andersen2001-06-242-2/+2
| | | | | the actual definition. -Erik
* These were broken when using dmalloc due to include file orderingEric Andersen2001-06-236-38/+26
| | | | | problems. busybox.h must be last. -Erik
* Leave BB_FEATURE_NFSMOUNT disabled by default.Eric Andersen2001-06-221-1/+1
| | | | -Erik
* cpio applet, and changes to associated codeGlenn L McGrath2001-06-2213-19/+305
|
* Some more cleanups. Of special importance, never free a pipeEric Andersen2001-06-222-54/+104
| | | | | | that still has running jobs. Instead, we ignore it and expect it to be cleaned by the background job stuff. -Erik
* Some cleanups for hush. Saves about 350bytes.Eric Andersen2001-06-222-196/+134
| | | | -Erik
* Remove obsolete function declaration.Matt Kraai2001-06-222-2/+0
|
* stdlib.h defined free(), which this needsEric Andersen2001-06-221-0/+1
|
* Fix the build process so it does not do the evil #ifdef BB_FOO stuff.Eric Andersen2001-06-222-6/+32
| | | | | | Build exactly one .o file per function, and let the linker throw away the junk it doesn't want. -Erik
* Add in a missing header fileEric Andersen2001-06-221-0/+2
|
* Dont change date or chmod on symlinks, lchown on symlinks if lchown availableGlenn L McGrath2001-06-221-6/+16
|