aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Simplify a commentandersen2001-06-301-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2962 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Generalize comment -- no longer ls specificandersen2001-06-301-4/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2961 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Pad the human readable output for 'ls -sh' to 6 chars, since we willandersen2001-06-302-2/+2
| | | | | | | | have numbers printed as XXX.YU, so we need 6 digits not 4. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2960 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a silly logic error which caused symlinks to be printed twice, andandersen2001-06-302-10/+8
| | | | | | | | wrongly caused the return code to be an error. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2959 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed scaling problems involving make_human_readable_str.mjn32001-06-302-10/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2958 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ls -s was reporting bytes instead of blocks.mjn32001-06-302-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2957 69ca8d6d-28ef-0310-b511-8ec308f3f277
* All-integer version (but it does use an unsigned long long) which fixesmjn32001-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". git-svn-id: svn://busybox.net/trunk/busybox@2956 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 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