aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* A really nice patch from Manuel Novoa III for compile timeandersen2001-06-292-0/+372
| | | | | | | configurable size/speed tradeoffs. git-svn-id: svn://busybox.net/trunk/busybox@2953 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add some missing includes to kill warnings when building with the defaultmjn32001-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. git-svn-id: svn://busybox.net/trunk/busybox@2950 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This is a busybox port of the Minix shell. It is reasonably capable,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 git-svn-id: svn://busybox.net/trunk/busybox@2949 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a nasty hard to spot bug found by Ralph Siemsen <ralphs@netwinder.org>.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. git-svn-id: svn://busybox.net/trunk/busybox@2946 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Allow xrealloc to act as a free() when size=0, per SuS2.andersen2001-06-281-1/+11
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2945 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove vodz from credits, per his requestandersen2001-06-282-8/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2942 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Scrub up the licensing blockandersen2001-06-282-1664/+130
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2941 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This a an ash applet I put together. It is similar to the one putandersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@2940 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove unneeded stuff.andersen2001-06-282-12/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2939 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More thrashing about trying to make hush behave itself wrt jobandersen2001-06-282-32/+36
| | | | | | | control... git-svn-id: svn://busybox.net/trunk/busybox@2934 69ca8d6d-28ef-0310-b511-8ec308f3f277
* don't whine if all we need to do is remove a bg jobandersen2001-06-272-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2919 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a type promotion bug discivered and analyzed by Alan Modraandersen2001-06-273-3/+3
| | | | | | | <amodra@bigpond.net.au>, which caused false checksum errors git-svn-id: svn://busybox.net/trunk/busybox@2917 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Re-enable globbing (I'd accidentaly removed it) and finish off the lastandersen2001-06-272-20/+448
| | | | | | | | of the job control polishing. Works fine now. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2916 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Explicitly call setsid()andersen2001-06-262-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2915 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor formatting changeandersen2001-06-262-8/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2914 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't choke if /etc/profile is not availableandersen2001-06-262-16/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2913 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix ps so it doesn't waste space showing group, as it is pretty muchandersen2001-06-262-36/+10
| | | | | | | | meaningless anyways. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2912 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make it so we don't segfault when /proc isn't mounted -- guess pid 1...andersen2001-06-261-0/+9
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2911 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't use void * to pass pointers of known typeandersen2001-06-263-28/+37
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2910 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A patch from Erik Meusel <erik@wh58-709.st.uni-magdeburg.de>andersen2001-06-262-0/+8
| | | | | | | to fix the behavior of 'tail -f -n 0 FILE' git-svn-id: svn://busybox.net/trunk/busybox@2909 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vladimir's last_patch_15bug12001-06-2615-247/+269
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2905 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Gennady Feldmanbug12001-06-262-4/+0
| | | | | | | This should fix "circular buffer" error message shown when running "syslogd -C" git-svn-id: svn://busybox.net/trunk/busybox@2904 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rpm2cpio applet by Laurence Andersonbug12001-06-2612-12/+222
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2902 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix the code for establishing a controlling terminal.andersen2001-06-252-56/+84
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2901 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up some warnings that show up on ppcandersen2001-06-254-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2898 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This should finish off the job control issues with lash. Make certainandersen2001-06-252-30/+92
| | | | | | | | we have a controlling terminal... -Erik git-svn-id: svn://busybox.net/trunk/busybox@2896 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Nore unarchive (and doc) fixes from Laurence Andersonbug12001-06-2411-50/+49
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2894 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make the extern NUM_APPLETS be a extern const NUM_APPLETS, to matchandersen2001-06-242-2/+2
| | | | | | | | the actual definition. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2892 69ca8d6d-28ef-0310-b511-8ec308f3f277
* These were broken when using dmalloc due to include file orderingandersen2001-06-236-38/+26
| | | | | | | | problems. busybox.h must be last. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2890 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Leave BB_FEATURE_NFSMOUNT disabled by default.andersen2001-06-221-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2888 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cpio applet, and changes to associated codebug12001-06-2213-19/+305
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2887 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some more cleanups. Of special importance, never free a pipeandersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@2886 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some cleanups for hush. Saves about 350bytes.andersen2001-06-222-196/+134
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2885 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove obsolete function declaration.kraai2001-06-222-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2884 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stdlib.h defined free(), which this needsandersen2001-06-221-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2883 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix the build process so it does not do the evil #ifdef BB_FOO stuff.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 git-svn-id: svn://busybox.net/trunk/busybox@2882 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in a missing header fileandersen2001-06-221-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2881 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont change date or chmod on symlinks, lchown on symlinks if lchown availablebug12001-06-221-6/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2880 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove defines around unarchive, its always usedbug12001-06-221-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2879 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hehtimr2001-06-221-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2878 69ca8d6d-28ef-0310-b511-8ec308f3f277
* comment cleanuptimr2001-06-223-4/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2877 69ca8d6d-28ef-0310-b511-8ec308f3f277
* create_path -> make_directorytimr2001-06-221-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2876 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add wget -P support, finishing off bug #1176andersen2001-06-215-9/+20
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2874 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrote mkdir (and touched lots of things in the process).kraai2001-06-2117-255/+233
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2873 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Support tar -C, per bug #1176andersen2001-06-215-19/+42
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2872 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This commit guts lash, restoring it to what it was originally intended to do,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 git-svn-id: svn://busybox.net/trunk/busybox@2871 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in (and ignore) tar -p, since we preserver permissions automatically.andersen2001-06-212-6/+10
| | | | | | | | closes bug #1185 -Erik git-svn-id: svn://busybox.net/trunk/busybox@2870 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove documentation of unsupported sed options.kraai2001-06-213-6/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2869 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Always apply commands with no specified range.kraai2001-06-212-0/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2868 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Per a suggestion from Tom Oehser, fix up the leading-hyphen hack toandersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@2867 69ca8d6d-28ef-0310-b511-8ec308f3f277