aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* remove defines around unarchive, its always usedGlenn L McGrath2001-06-221-2/+0
|
* hehTim Riker2001-06-221-0/+3
|
* comment cleanupTim Riker2001-06-223-4/+3
|
* create_path -> make_directoryTim Riker2001-06-221-1/+1
|
* Add wget -P support, finishing off bug #1176Eric Andersen2001-06-215-9/+20
| | | | -Erik
* Rewrote mkdir (and touched lots of things in the process).Matt Kraai2001-06-2117-255/+233
|
* Support tar -C, per bug #1176Eric Andersen2001-06-215-19/+42
| | | | -Erik
* This commit guts lash, restoring it to what it was originally intended to do,Eric Andersen2001-06-212-1164/+64
| | | | | | just be a simple command line interpreter with basic pipe, redirect, and job control. For all the more fancy things, people should use hush or ash. -Erik
* Add in (and ignore) tar -p, since we preserver permissions automatically.Eric Andersen2001-06-212-6/+10
| | | | | closes bug #1185 -Erik
* Remove documentation of unsupported sed options.Matt Kraai2001-06-213-6/+3
|
* Always apply commands with no specified range.Matt Kraai2001-06-212-0/+8
|
* Per a suggestion from Tom Oehser, fix up the leading-hyphen hack toEric Andersen2001-06-212-10/+4
| | | | | | | | make it general. Now all leading single hyphens are ignored for purposed of applet name matching, while argv[0] is still passed unaltered to applets, so leading-hyphen sensitive applets (such as sh) can react accordingly. -Erik
* it turs out, there was a nasty tar bug where bb tar would create leading dirsEric Andersen2001-06-202-16/+0
| | | | | | | with mode 0777 in all cases due to usask issues. Thanks to Matt Kraai for noticing and spotting the culprit. This makes bb tar behave just like GNU tar once again. -Erik
* Initialise in_file to stdin, so it wont crash if no source specifiedGlenn L McGrath2001-06-202-4/+4
|