fli4l
  1. fli4l

busybox

Public
AuthorCommitMessageCommit dateIssues
Eric AndersenEric Andersen
10175a43eecSimplify a comment
Eric AndersenEric Andersen
0159597bd6dGeneralize comment -- no longer ls specific
Eric AndersenEric Andersen
7e516797f97Pad the human readable output for 'ls -sh' to 6 chars, since we willhave numbers printed as XXX.YU, so we need 6 digits not 4. -Erik
Eric AndersenEric Andersen
8fa1bf7cd6fFix a silly logic error which caused symlinks to be printed twice, andwrongly caused the return code to be an error. -Erik
Manuel Novoa IIIManuel Novoa III
8f018393866Fixed scaling problems involving make_human_readable_str.
Manuel Novoa IIIManuel Novoa III
a77cfbfd0cbls -s was reporting bytes instead of blocks.
Manuel Novoa IIIManuel Novoa III
d877d44d127All-integer version (but it does use an unsigned long long) which fixesthe 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".
Eric AndersenEric Andersen
db15cb72e2dA really nice patch from Manuel Novoa III for compile timeconfigurable size/speed tradeoffs.
Manuel Novoa IIIManuel Novoa III
a2949aa217fAdd some missing includes to kill warnings when building with the defaultConfig.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.
Eric AndersenEric Andersen
ff9eee475f6This is a busybox port of the Minix shell. It is reasonably capable,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
Eric AndersenEric Andersen
66ca9480c88Fix a nasty hard to spot bug found by Ralph Siemsen <ralphs@netwinder.org>.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.
Eric AndersenEric Andersen
029b4a04221Allow xrealloc to act as a free() when size=0, per SuS2. -Erik
Eric AndersenEric Andersen
ec23c4920f0Remove vodz from credits, per his request
Eric AndersenEric Andersen
df82f611c8bScrub up the licensing block -Erik
Eric AndersenEric Andersen
cb57d551a20This a an ash applet I put together. It is similar to the one puttogether 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
Eric AndersenEric Andersen
184d73636d2Remove unneeded stuff.
Eric AndersenEric Andersen
028b65b0606More thrashing about trying to make hush behave itself wrt jobcontrol...
Eric AndersenEric Andersen
07abfe20927don't whine if all we need to do is remove a bg job
Eric AndersenEric Andersen
0d8cc1670cdFix a type promotion bug discivered and analyzed by Alan Modra<amodra@bigpond.net.au>, which caused false checksum errors
Eric AndersenEric Andersen
4b6b5e4314eRe-enable globbing (I'd accidentaly removed it) and finish off the lastof the job control polishing. Works fine now. -Erik
Eric AndersenEric Andersen
5c66d06104dExplicitly call setsid()
Eric AndersenEric Andersen
0392b8638e7Minor formatting change
Eric AndersenEric Andersen
a90f20b1c33Don't choke if /etc/profile is not available
Eric AndersenEric Andersen
d98337a7b49Fix ps so it doesn't waste space showing group, as it is pretty muchmeaningless anyways. -Erik
Eric AndersenEric Andersen
91a6318d555Make it so we don't segfault when /proc isn't mounted -- guess pid 1... -Erik
Eric AndersenEric Andersen
5ef5614c31dDon't use void * to pass pointers of known type
Eric AndersenEric Andersen
ce98c19dfe7A patch from Erik Meusel <erik@wh58-709.st.uni-magdeburg.de>to fix the behavior of 'tail -f -n 0 FILE'
Glenn L McGrathGlenn L McGrath
78b0e379d7cVladimir's last_patch_15
Glenn L McGrathGlenn L McGrath
addabd6f16aPatch from Gennady FeldmanThis should fix "circular buffer" error message shown when running "syslogd -C"
Glenn L McGrathGlenn L McGrath
f8736d251e4rpm2cpio applet by Laurence Anderson
Eric AndersenEric Andersen
6c947d289fdFix the code for establishing a controlling terminal. -Erik
Eric AndersenEric Andersen
24982c589bcFix up some warnings that show up on ppc
Eric AndersenEric Andersen
2d848a476acThis should finish off the job control issues with lash. Make certainwe have a controlling terminal... -Erik
Glenn L McGrathGlenn L McGrath
2e6d3cfa82eNore unarchive (and doc) fixes from Laurence Anderson
Eric AndersenEric Andersen
15576268971Make the extern NUM_APPLETS be a extern const NUM_APPLETS, to matchthe actual definition. -Erik
Eric AndersenEric Andersen
e0c0757d092These were broken when using dmalloc due to include file orderingproblems. busybox.h must be last. -Erik
Eric AndersenEric Andersen
d9c8acec373Leave BB_FEATURE_NFSMOUNT disabled by default. -Erik
Glenn L McGrathGlenn L McGrath
8f5b63edea1cpio applet, and changes to associated code
Eric AndersenEric Andersen
52a97ca00cfSome more cleanups. Of special importance, never free a pipethat still has running jobs. Instead, we ignore it and expect it to be cleaned by the background job stuff. -Erik
Eric AndersenEric Andersen
c798b077626Some cleanups for hush. Saves about 350bytes. -Erik
Matt KraaiMatt Kraai
a0105713e82Remove obsolete function declaration.
Eric AndersenEric Andersen
764303f9808stdlib.h defined free(), which this needs
Eric AndersenEric Andersen
30f1eafaaa1Fix the build process so it does not do the evil #ifdef BB_FOO stuff.Build exactly one .o file per function, and let the linker throw away the junk it doesn't want. -Erik
Eric AndersenEric Andersen
6b035044410Add in a missing header file
Glenn L McGrathGlenn L McGrath
76ce7549cecDont change date or chmod on symlinks, lchown on symlinks if lchown available
Glenn L McGrathGlenn L McGrath
9f832deecf0remove defines around unarchive, its always used
Tim RikerTim Riker
7387240ef08heh
Tim RikerTim Riker
837097648e8comment cleanup
Tim RikerTim Riker
fbbd360b3c6create_path -> make_directory
Eric AndersenEric Andersen
8071c021311Add wget -P support, finishing off bug #1176 -Erik