fli4l
  1. fli4l

busybox

Public
  1. fli4l
  2. busybox

All Branches Graph

        
AuthorCommitMessageCommit dateBuilds
Matt KraaiMatt Kraai
721119e1db5Clean up output.
Glenn L McGrathGlenn L McGrath
cd26ff4eac7Only defines functions that will compile and are usefull under the
Eric AndersenEric Andersen
252bacc9ea1Apply a patch from Chip Rosenthal <chip@unicom.com> to fix NFS mounting, which had been inadvertantly broken... -Erik
Glenn L McGrathGlenn L McGrath
fd3741d712bRemove definition of basename. It was defined out so that it would never be seen, and if it was ever seen it wasnt us...
Glenn L McGrathGlenn L McGrath
38c8551cf23Path count was out by one, fixed it
Glenn L McGrathGlenn L McGrath
63dde9d4ce1Simplify and remove dependence on PATH_MAX buf[PATH_MAX] now defined using strlen to the exact size to be used. remo...
Matt KraaiMatt Kraai
b2f36af1573Updated stdin/stdout treatment to match that of gnu tar.
Matt KraaiMatt Kraai
6fc2a7d04daReorganize listing code.
Matt KraaiMatt Kraai
82cfbad2164Allow non-verbose listing to work.
Pavel RoskinPavel Roskin
c9db2e86658Updated to be in sync with the current sample inittab
Pavel RoskinPavel Roskin
d2d3aa39effFixed compliance with the DTD
John BeppuJohn Beppu
2aee9931184+ credit markw@lineo.com for his contributions
Pavel RoskinPavel Roskin
f5cf8c6c65cDon't suppress output of umount and swapoff - it is both unwise and incompatible with lash that doesn't support >&1 yet.
Pavel RoskinPavel Roskin
33bee33af04Don't suppress output of umount and swapoff - it is both unwise and incompatible with lash that doesn't support >&1 yet.
Pavel RoskinPavel Roskin
5f84fd70662"exit NUMBER" should exit, not return
Pavel RoskinPavel Roskin
cbe05e45db1For "askfirst" don't just read one char from stdin, read the whole line using getc(), so that everything before Enter...
Eric AndersenEric Andersen
7e3bf6e339aAdd in a patch from robotti@metconnect.com and Chip Rosenthal to make init do login shell stuff. -Erik
Eric AndersenEric Andersen
ce40fc044bcNote the syslogd bug fix
Eric AndersenEric Andersen
5d63884a8fbBug fix for wget, and proper attribution of Chip Rosenthal and Covad Communications for the contribution of wget. -Erik
Eric AndersenEric Andersen
31e6829bd86Fix the halt/reboot/poweroff segfault when used from within an initrd... -Erik
Matt KraaiMatt Kraai
131241f71cbBackslashes shouldn't be treated as backticks.
Matt KraaiMatt Kraai
cbbe4d6bc2dCopy the string terminator.
Glenn L McGrathGlenn L McGrath
56a328810b8Fix looping bug, use fullRead
Eric AndersenEric Andersen
b4c3c59a453Add in BasicLinux by request
Pavel RoskinPavel Roskin
f8e04f71133Added _install
Eric AndersenEric Andersen
fb6a50820cbEnsure forked processes always are on a controlling tty, so the ^C can be properly sent to /dev/console. -Erik
Pavel RoskinPavel Roskin
d39d1209980Make syslogd ignore SIGCLD only if SIGCLD is defined. This should fix SPARC. Also ignore SIGCHLD - it must have been ...
Pavel RoskinPavel Roskin
5d513f72568List of signals updated from util-linux-2.10o Architecture names are no longer used - should now compile on SPARC
Matt KraaiMatt Kraai
dd450a0dedfDon't fork for the . (source) command so that environment settings are preserved.
Matt KraaiMatt Kraai
322ae93a5e0Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead of segfaulting or handling errors the same way the...
Matt KraaiMatt Kraai
b89075298edFix unchecked calls to {m,c,re}alloc so that they print an error and exit rather than segfaulting (what an improvement).
Pavel RoskinPavel Roskin
23ad7f7f06cTypo fix: resolv -> resolve
Eric AndersenEric Andersen
ccb0a9ba88eFormatting cleanup patch from Bryan Rittmeyer <bryan@ixiacom.com>. -Erik
Glenn L McGrathGlenn L McGrath
fca8050f0fdFix .deb unpack and experimental TAR support The previous ar.c fialed to recognise one record in .debs Experimental...
Glenn L McGrathGlenn L McGrath
ac19b7e032cExtra defines for ar
Eric AndersenEric Andersen
49352adf9c9Simplify a few little things, and merge in a patch from robotti@metconnect.com so that 'ar -xv' and 'ar -x -v' both w...
Glenn L McGrathGlenn L McGrath
605a819a179New dd behaviour
Glenn L McGrathGlenn L McGrath
f0b073f55acdd now truncates files at the end its write, this can be turned of by specifying conv=notrunc in the command line Th...
Eric AndersenEric Andersen
de34e437556MAke lsmod act just like modutils lsmod, by printing which modules use other modules, and state info like (deleted) a...
Eric AndersenEric Andersen
cbb61c78ae9Make init handle current 2.4.x sysinfo behavior -Erik
Eric AndersenEric Andersen
73de6561caeUpdate free for current 2.4.x behavior... -Erik
Glenn L McGrathGlenn L McGrath
729216cb11fRemove some debugging code
Glenn L McGrathGlenn L McGrath
18310f1ce3fUsing seek=? used to cause part of the original file to be zero'ed, i think this was caused by opening the file in tr...
Glenn L McGrathGlenn L McGrath
0ae8e5a645dMy previous attempt to make dd use fullRead, fullWrite was very broken, this should actually work.
Glenn L McGrathGlenn L McGrath
bd7c67136acremove some printf statements i forgot about
Glenn L McGrathGlenn L McGrath
1c6917d2c48Updated to match new -R ar functionality
Glenn L McGrathGlenn L McGrath
e2b345a6d82Implemented new ar functionality unique to busybox ar (i think), the -R option enable a Recursive extraction (or list...
Glenn L McGrathGlenn L McGrath
437bf72785cChanged getopt so that options can be grouped together, the source archive is now assumed to be the first non paramet...
Glenn L McGrathGlenn L McGrath
6fb88e73f79Fix permisions
Glenn L McGrathGlenn L McGrath
8324b9f1aacNow supports GNU style long filenames. If no filenames are specifed to be (extracted/listed) it will act on all file...
Eric AndersenEric Andersen
11c655295c7New ls sorting patch, as written by Sterling Huxley, and then updated by kent robotti. I then updated it to use my_g...
Matt KraaiMatt Kraai
44e38403438Stop leaking file handles.
Matt KraaiMatt Kraai
17c88518131Fix more typos.
Matt KraaiMatt Kraai
6085c72b6eeReset optind so that getopt works in busybox applets called directly by sh. Change the behavior of -c to correctly ha...
Matt KraaiMatt Kraai
9dd79791c89Fixed a grammatical error.
Eric AndersenEric Andersen
ebee301c8b0Fixed for when BB_CP_MV is enabled.
Eric AndersenEric Andersen
d13ebff1639Add BB_SH to get_last_path_component()... Fix thanks to Bj�rn Eriksson.
Eric AndersenEric Andersen
1eec89df4c8Apply segfault on no-args fix from robotti@metconnect.com
Eric AndersenEric Andersen
3639c5d9509Set environment variable to make ash happy. ash is a frequent enough target....
Eric AndersenEric Andersen
1b355ebba68Added expr, from Edward Betts <edward@debian.org>, with some fixups and docs added by me. -Erik
Matt KraaiMatt Kraai
43c8c38bbfeAllow compilation when not using BB_FEATURE_TAR_EXCLUDE, and fix handling of --exclude option.
Eric AndersenEric Andersen
61a9d8d1450Forgot this part of wget
Eric AndersenEric Andersen
96700838184Initial implementation of wget, from Chip Rosenthal <chip@laserlink.net>. Very cool. Still lacks "chunked" transfer-...
Matt KraaiMatt Kraai
b92223b6f58Allow selective extraction and listing of files. And fix an unchecked return value of realloc (with xrealloc).
Eric AndersenEric Andersen
fd50c3d2f9aAdd in byld
Eric AndersenEric Andersen
cb91d69b3faFix compile when BB_FEATURE_LINUXRC is defined -Erik
Eric AndersenEric Andersen
73bdf13d35eFixed a stupid thinko preventing zcat from doing its job, thanks to Torbj�rn Axelsson <torax@cendio.se> for the fix. ...
Eric AndersenEric Andersen
3a957b9d4ccTurned off ls file-sorting till it can be fixed.
Eric AndersenEric Andersen
18a1014c959updated some usage info from a patch from robotti@metconnect.com -Erik
Matt KraaiMatt Kraai
da542f3a0caArgh. I *will* compile before checking in.
Matt KraaiMatt Kraai
f446297afd6Don't unlink files if we are extracting to stdout.
Eric AndersenEric Andersen
e99674a70faCorrect the stdin/stdout behavior when no args are provided. -Erik
Eric AndersenEric Andersen
5eb5912790bSigh. Seems I screwed up last time. This fixed detecting when on a console or not, and make default behavior compat...
Eric AndersenEric Andersen
4e61db22849Add an extra sanity check in parse_mode -Erik
Eric AndersenEric Andersen
ad3d90f91e1Fix a spelling error -Erik
Eric AndersenEric Andersen
a3de24e85d0Fix spelling error -Erik
Matt KraaiMatt Kraai
1638488d26eRewritten by mistake.
Matt KraaiMatt Kraai
ab60f6987a8Removed dead regular expression code.
Matt KraaiMatt Kraai
88cc3057fdbCompile xstrdup and xstrndup iff they are needed.
Glenn L McGrathGlenn L McGrath
06aeb6c417dar.c now uses a linked list to process headers, uses getopt, new internal function extractAr(srcFD, dstFd, filename) ...
Eric AndersenEric Andersen
4d5ac2f346dFix tab stops for sed usage.
Pavel RoskinPavel Roskin
3a0f4baf2fdFixed a warning about a label not being used
Pavel RoskinPavel Roskin
8237add8d0dFixed misuse of type "char"
Pavel RoskinPavel Roskin
32f2769800eFrom Ken Chalmers <chalmers@norscan.com>: The current CVS mount.c is missing a semicolon, causing building to fail if...
Eric AndersenEric Andersen
089d12d762dFix a unterminated string. -Erik
Eric AndersenEric Andersen
aaa94fb8a9eNote the chmod fix. -Erik
Eric AndersenEric Andersen
ce82c8ab778Fix an option parsing bug where things like chmod -r /tmp/file wholdn't work (since it thought -r was an option)....
Mark WhitleyMark Whitley
2368a387edcSome additional tips and formatting changes.
Eric AndersenEric Andersen
e4c4d69c048Fix a silly bug so it compiles up properly -Erik
Eric AndersenEric Andersen
6ab22027d09Oops. Forgot to commit rdate.c. -Erik
Eric AndersenEric Andersen
fba9c00071eScript to do regression test, by combining all possible options. -Erik
Eric AndersenEric Andersen
acf55510991Script to do regression test, by combining all possible options. Run this to check for combinitorial type build error...
Eric AndersenEric Andersen
918507eddaaAdded the 'rdate' command, thanks to Sterling Huxley <sterling@europa.com>. I added the docs, and made behavior ident...
Eric AndersenEric Andersen
851ce895bdfTurn off some debug noise. -Erik
Eric AndersenEric Andersen
a1f16bba72cAdded getopt(1) from "Alfred M. Szmidt" <ams@trillian.itslinux.org> -Erik
Eric AndersenEric Andersen
e2205f093bbRemoved since this patch is now in the current 2.4.x kernel tree. -Erik
Mark WhitleyMark Whitley
0e4cec0be89Applied patch from Mark Ferrell <mferrell@mvista.com> to use the 'p' option in substitution expressions.
Eric AndersenEric Andersen
dc746169cfdOops. Forgot to add in reset.c. Doh! -Erik
Eric AndersenEric Andersen
282c364148eFix a thinko, thanks to Klaasjan <klaasjan@europe.com> -Erik
Eric AndersenEric Andersen
fa405d0cb28Add in the "reset" command. -Erik
Eric AndersenEric Andersen
202995c6122Yet another patch to fixup lsmod -Erik
Eric AndersenEric Andersen
c86e5e61456Some leftover stuff I forgot to commit for the lsmod change. -Erik
Eric AndersenEric Andersen
be0dc0d06a7lsmod now uses the query_module syscall, rather then /proc -Erik
Eric AndersenEric Andersen
b2fc5a06479syslogd was leaking processes that could forever busyloop. Fixed. -Erik
Eric AndersenEric Andersen
e89267c8b38Minor fixups. -Erik
Eric AndersenEric Andersen
8cbac440d66Better 'mt' docs, thanks to Kent Robotti <robotti@metconnect.com> -Erik
Eric AndersenEric Andersen
6ac18a3d83bFix to make 'ar xv' work, thanks to Kent Robotti <robotti@metconnect.com> -Erik
Eric AndersenEric Andersen
bb39a31e339Minor link update -Erik
Eric AndersenEric Andersen
79565b6c910Add optional ls file sorting, thanks to a patch from Sterling Huxley <sterling@europa.com> -Erik
Eric AndersenEric Andersen
f9ca653faa5Added fix from David Vrabel <dvrabel@arcom.co.uk> for a buffer overrun in find_real_root_device(), fixing bug #1019 ...
Eric AndersenEric Andersen
88f50b6bf5eSome #include updates. -Erik
Mark WhitleyMark Whitley
40406e6bad9Applied patch from Mark Ferrell <mferrell@mvista.com> to fix sed '1,$p' where sed was only printing the first line an...
Matt KraaiMatt Kraai
adbf018dc46We complained if the total number of arguments was greater than 3 and the destination wasn't a directory. We should ...
Matt KraaiMatt Kraai
deb95f69b6aExit with the appropriate value when grepping multiple files.
Eric AndersenEric Andersen
46ade979839Cleaner way to handle -NUM and +NUM, reduces the mem usage as well. -Erik
Eric AndersenEric Andersen
0c8e2a6580cFixed the "-f" option. -Erik
Eric AndersenEric Andersen
fdd51033480Merge in two patches from Dave Cinege: the first is a cleanup of tar --exclude the second changes mount so mt...
Mark WhitleyMark Whitley
5ae166813f8Minor cleanup thingy. fprintf(stderr, ...) -> errorMsg().
Mark WhitleyMark Whitley
807f0fd637eBrand, new version of cut. This fixes the bugs in the old cut, is smaller, and is a sight easier to understand than t...
Eric AndersenEric Andersen
d5fa3e3e9a8Update to the tail rewrite by "Allen Soard" <esp-software@mail.hypermart.net> -Erik
Eric AndersenEric Andersen
080d51bf455Minor fix to clean target -Erik
Matt KraaiMatt Kraai
0f8f7b8a35cFix bug 1017, which reports that insmod segfaults when /lib/modules doesn't exist. Also allow early search terminati...
Eric AndersenEric Andersen
98bbd688a80Commit the rewrite of tail by Allen Soard <esp-software@mail.hypermart.net>. Thanks Allen for you work at getting th...
Pavel RoskinPavel Roskin
43c17b3d964New variable WARNINGS to hold all warning options
Pavel RoskinPavel Roskin
616d13bcd1aFixed to pass -Wundef
Pavel RoskinPavel Roskin
259972e5657Disabled debugging output Fine-grained checks for possible errors instead of "set -e" The standard output shows what ...
Eric AndersenEric Andersen
9cf306d55e3Fix for a potential uninitialized variable, thx to Ken Chalmers <chalmers@norscan.com> -Erik
Eric AndersenEric Andersen
6a4c33c5c0eClean up the nasty blunder I'd made of how different behaviors happen. -Erik
Eric AndersenEric Andersen
6150df320a8Some cleanups, based on a patch from Ken Chalmers -Erik
Eric AndersenEric Andersen
d5704686b14Fix from Robert Kaiser for stdin behavior. -Erik
Eric AndersenEric Andersen
1428c4f1367Oops. Forgot an ifdef -Erik
Eric AndersenEric Andersen
a5716d30294Fix from Arne Bernin for return code -- now reflects whether the rmmod failed or not. -Erik
Eric AndersenEric Andersen
501c88b245fMore sh updates (with related changes to everything else). Switched to using getopt and cleaned up the resulting mes...
Eric AndersenEric Andersen
6a99aaf0208More shell features.... if-then-else-fi is now basically usable (disable by default pending further debugging). Adde...
Mark WhitleyMark Whitley
7ce41ad6929Fixed a syntax error & superfluous param decl that was causing the build to fail.
Eric AndersenEric Andersen
e92108ae6d9Minor style cleanups.
Eric AndersenEric Andersen
0d49dd53cf9Better description
Eric AndersenEric Andersen
cc10a5b42baFix some bitrot. -Erik
Mark WhitleyMark Whitley
83e85f6a083Modified print_subst_w_backrefs() so it will print backslash escaped characters properly, just like GNU sed.
Mark WhitleyMark Whitley
52681b48dc2Added a note in the "Tips and Pointer" section on the correct way to test for string equivalence with strcmp().
Eric AndersenEric Andersen
fad9c1198aaFinish off fixing up the memleaks (I think). Added the beginnings of some if-then-else-fi support (nonfunctional and...
Eric AndersenEric Andersen
b040d4f3da1Use BB_FEATURE_CLEAN_UP where appropriate -Erik
Eric AndersenEric Andersen
b9ea02c04b9Add in BB_FEATURE_CLEAN_UP, which is whether to clean up mem leaks and close files, or not. Usually safe to leave it...
Eric AndersenEric Andersen
d34595d8577Remove some noise. -Erik
Eric AndersenEric Andersen
e5db4066901Clean up $1=$prefix -Erik
Mark WhitleyMark Whitley
40bfc763855First revision of the Busybox Style Guide and an accompanying .indent.pro file.
Pavel RoskinPavel Roskin
e99f7500e04chroot can now call the builtin shell
Eric AndersenEric Andersen
ea824fb9370Fixed stdin/stdout paths so things like tar cvf - /etc/* | gzip -c9 >test.tgz will now work. Fix thanks to Dave ...
Eric AndersenEric Andersen
bf960f58e2fAdded 'renice' command, thanks to Dave Cinege <dcinege@psychosis.com> -Erik
Eric AndersenEric Andersen
7df345e1494Bump version number. -Erik
Eric AndersenEric Andersen
ec8d60f0f83Add in the LinuxMagic VPN Firewall -Erik
Pavel RoskinPavel Roskin
0010ee45e37Fixed usage info for "cut"
Mark WhitleyMark Whitley
c768ab490e9Took -V out of the sed_usage string.
Eric AndersenEric Andersen
ced2cefcca0* syslogd can now log messages to a remote host -- patch thanks to Gyepi Sam <gyepi@praxis-sw.com> -Erik
Mark WhitleyMark Whitley
1f45b268cb5As per a discussion on the mailing list between Matt and Pavel. I have removed the -V (version) flag from busybox sed...
Mark WhitleyMark Whitley
1ac435c15e2Converted option parsing to getopt(). Also added some explanatory comments.
Eric AndersenEric Andersen
51154bacbe3Adjusted install.sh to use relative symlinks, and to optionally create hardlinks. Added a makefile target to create ...
Mark WhitleyMark Whitley
3950596e1e1Converted option parsing to using getopt(). Also managed to remove an extraneous logic loop that existed only for the...
Mark WhitleyMark Whitley
99e370f0c65Whoops. Forgot to #include <getopt.h>.
Mark WhitleyMark Whitley
aa4f108338eConverted option parsing to getopt() and made some minor formatting changes.
Matt KraaiMatt Kraai
27a804246afCentralize handling of --help.
Matt KraaiMatt Kraai
869057238b4Added some missing declarations and fixed some typos. I have to remember to compile *before* committing.
Matt KraaiMatt Kraai
2f46b664b7dAdd usage messages for applets without them.
Eric AndersenEric Andersen
91a4400fd5aAvoid trying to free NULL ptrs. Comment on malloc usages. -Erik
Eric AndersenEric Andersen
a16c66335e2Use FatalError() -Erik
Eric AndersenEric Andersen
ae6eae02dd8Moved some code and add a coupld #defines to support use of dmalloc. -Erik
Eric AndersenEric Andersen
52d6fa3bb33Funny. Head was getting installed to the wrong spot. -Erik
Eric AndersenEric Andersen
1d255be78d2Updated to add support for dmalloc, and adjusted for better cross compiler support. -Erik
Mark WhitleyMark Whitley
2ef880b2369Consolodated some common code into print_matched_line to make 'grep_file' a little more terse & clean. Also made a fe...
Eric AndersenEric Andersen
a9d69fb5680Removed now incorrect message about NFS not working with Linux 2.[34].x kernels. It does work now, -Erik
Mark WhitleyMark Whitley
8f122431f5aAdded support for the -c (count matches) option. Made it so it works just like GNU grep.
Eric AndersenEric Andersen
6efc48c1aebSigh -- can't sleep. Clean up some mem leaks, fixed some bugs. -Erik
Pavel RoskinPavel Roskin
9c5fcc34086New message added to messages.c: full_version Used where possible
Pavel RoskinPavel Roskin
cc8a66b113dMoved functions used by "lsmod" from cat.c to utility.c Adjusted to make lsmod and sh compilable as standalone apps. ...
Mark WhitleyMark Whitley
97562bd9d7f- Added support for backreferences in substitution expressions up to nine (\1, \2...\9). This touched a lot of pla...
Pavel RoskinPavel Roskin
21ddb38fcf0Now it's possible to compile Busybox with only one app defined (unless it's lsmod, to be fixed by the next commit)
Eric AndersenEric Andersen
a1d187a8a8aBacktick support to infinite (memory limited) levels of nesting is now implemented... So now busybox shell can do co...
Pavel RoskinPavel Roskin
bc0aed79a8cIt is now possible to select in busybox.def.h whether minixfs version 2 is to be supported.
Pavel RoskinPavel Roskin
47d4926244fThe result of getopt() is "int" and should be treated as such
Matt KraaiMatt Kraai
bf181b93381Extract usage information into a separate file.
Matt KraaiMatt Kraai
3bd8bd89ee9Don't use strings directly in calls to usage(). This is in preparation for their extraction to a separate file.
Mark WhitleyMark Whitley
464c5de00d3Fixed a couple of buglets: - add_cmd_str: segv's were being generated if there was a '# comment' line (and probab...
Mark WhitleyMark Whitley
70705d7c968- Added support for semicolon delimited command lines. (woo-hoo!) - Obsoleted the trim_str function (#if 0'ed out --...
Eric AndersenEric Andersen
add09fd558cGetopt'ed by Marc Nijdam <marc_nijdam@hp.com> -Erik
Eric AndersenEric Andersen
17ad45aace3Getopt'rd by Marc Nijdam <marc_nijdam@hp.com> -Erik
Pavel RoskinPavel Roskin
df4532bfa39More fixes for "signed vs. unsigned" warnings.
Pavel RoskinPavel Roskin
ff5a9033f9dReduced the number of "signed vs. unsigned" warnings. Sometimes such warnings matter (esp. on PPC with char default t...
Pavel RoskinPavel Roskin
f626dcbc841More fixes for "missing initializers"