Matt Kraai | 721119e1db5 | Clean up output. | | |
Glenn L McGrath | cd26ff4eac7 | Only defines functions that will compile and are usefull under the | | |
Eric Andersen | 252bacc9ea1 | Apply a patch from Chip Rosenthal <chip@unicom.com> to fix NFS mounting,
which had been inadvertantly broken...
-Erik | | |
Glenn L McGrath | fd3741d712b | Remove 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 McGrath | 38c8551cf23 | Path count was out by one, fixed it | | |
Glenn L McGrath | 63dde9d4ce1 | Simplify and remove dependence on PATH_MAX
buf[PATH_MAX] now defined using strlen to the exact size to be used.
remo... | | |
Matt Kraai | b2f36af1573 | Updated stdin/stdout treatment to match that of gnu tar. | | |
Matt Kraai | 6fc2a7d04da | Reorganize listing code. | | |
Matt Kraai | 82cfbad2164 | Allow non-verbose listing to work. | | |
Pavel Roskin | c9db2e86658 | Updated to be in sync with the current sample inittab | | |
Pavel Roskin | d2d3aa39eff | Fixed compliance with the DTD | | |
John Beppu | 2aee9931184 | + credit markw@lineo.com for his contributions | | |
Pavel Roskin | f5cf8c6c65c | Don't suppress output of umount and swapoff - it is both unwise
and incompatible with lash that doesn't support >&1 yet. | | |
Pavel Roskin | 33bee33af04 | Don't suppress output of umount and swapoff - it is both unwise
and incompatible with lash that doesn't support >&1 yet. | | |
Pavel Roskin | 5f84fd70662 | "exit NUMBER" should exit, not return | | |
Pavel Roskin | cbe05e45db1 | For "askfirst" don't just read one char from stdin,
read the whole line using getc(), so that everything before Enter... | | |
Eric Andersen | 7e3bf6e339a | Add in a patch from robotti@metconnect.com and Chip Rosenthal to make
init do login shell stuff.
-Erik | | |
Eric Andersen | ce40fc044bc | Note the syslogd bug fix | | |
Eric Andersen | 5d63884a8fb | Bug fix for wget, and proper attribution of Chip Rosenthal and
Covad Communications for the contribution of wget.
-Erik | | |
Eric Andersen | 31e6829bd86 | Fix the halt/reboot/poweroff segfault when used from within an initrd...
-Erik | | |
Matt Kraai | 131241f71cb | Backslashes shouldn't be treated as backticks. | | |
Matt Kraai | cbbe4d6bc2d | Copy the string terminator. | | |
Glenn L McGrath | 56a328810b8 | Fix looping bug, use fullRead | | |
Eric Andersen | b4c3c59a453 | Add in BasicLinux by request | | |
Pavel Roskin | f8e04f71133 | Added _install | | |
Eric Andersen | fb6a50820cb | Ensure forked processes always are on a controlling tty, so the
^C can be properly sent to /dev/console.
-Erik | | |
Pavel Roskin | d39d1209980 | Make syslogd ignore SIGCLD only if SIGCLD is defined. This should fix SPARC.
Also ignore SIGCHLD - it must have been ... | | |
Pavel Roskin | 5d513f72568 | List of signals updated from util-linux-2.10o
Architecture names are no longer used - should now compile on SPARC | | |
Matt Kraai | dd450a0dedf | Don't fork for the . (source) command so that environment settings are
preserved. | | |
Matt Kraai | 322ae93a5e0 | Fix 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 Kraai | b89075298ed | Fix unchecked calls to {m,c,re}alloc so that they print an error and
exit rather than segfaulting (what an improvement). | | |
Pavel Roskin | 23ad7f7f06c | Typo fix: resolv -> resolve | | |
Eric Andersen | ccb0a9ba88e | Formatting cleanup patch from Bryan Rittmeyer <bryan@ixiacom.com>.
-Erik | | |
Glenn L McGrath | fca8050f0fd | Fix .deb unpack and experimental TAR support
The previous ar.c fialed to recognise one record in .debs
Experimental... | | |
Glenn L McGrath | ac19b7e032c | Extra defines for ar | | |
Eric Andersen | 49352adf9c9 | Simplify 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 McGrath | 605a819a179 | New dd behaviour | | |
Glenn L McGrath | f0b073f55ac | dd now truncates files at the end its write, this can be turned of by
specifying conv=notrunc in the command line
Th... | | |
Eric Andersen | de34e437556 | MAke lsmod act just like modutils lsmod, by printing which modules use
other modules, and state info like (deleted) a... | | |
Eric Andersen | cbb61c78ae9 | Make init handle current 2.4.x sysinfo behavior
-Erik | | |
Eric Andersen | 73de6561cae | Update free for current 2.4.x behavior...
-Erik | | |
Glenn L McGrath | 729216cb11f | Remove some debugging code | | |
Glenn L McGrath | 18310f1ce3f | Using 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 McGrath | 0ae8e5a645d | My previous attempt to make dd use fullRead, fullWrite was very broken,
this should actually work. | | |
Glenn L McGrath | bd7c67136ac | remove some printf statements i forgot about | | |
Glenn L McGrath | 1c6917d2c48 | Updated to match new -R ar functionality | | |
Glenn L McGrath | e2b345a6d82 | Implemented new ar functionality unique to busybox ar (i think), the -R
option enable a Recursive extraction (or list... | | |
Glenn L McGrath | 437bf72785c | Changed getopt so that options can be grouped together, the source
archive is now assumed to be the first non paramet... | | |
Glenn L McGrath | 6fb88e73f79 | Fix permisions | | |
Glenn L McGrath | 8324b9f1aac | Now supports GNU style long filenames.
If no filenames are specifed to be (extracted/listed) it will act on
all file... | | |
Eric Andersen | 11c655295c7 | New ls sorting patch, as written by Sterling Huxley, and then updated
by kent robotti. I then updated it to use my_g... | | |
Matt Kraai | 44e38403438 | Stop leaking file handles. | | |
Matt Kraai | 17c88518131 | Fix more typos. | | |
Matt Kraai | 6085c72b6ee | Reset optind so that getopt works in busybox applets called directly by sh.
Change the behavior of -c to correctly ha... | | |
Matt Kraai | 9dd79791c89 | Fixed a grammatical error. | | |
Eric Andersen | ebee301c8b0 | Fixed for when BB_CP_MV is enabled. | | |
Eric Andersen | d13ebff1639 | Add BB_SH to get_last_path_component()... Fix thanks to
Bj�rn Eriksson. | | |
Eric Andersen | 1eec89df4c8 | Apply segfault on no-args fix from robotti@metconnect.com | | |
Eric Andersen | 3639c5d9509 | Set environment variable to make ash happy. ash is a frequent enough
target.... | | |
Eric Andersen | 1b355ebba68 | Added expr, from Edward Betts <edward@debian.org>, with some fixups
and docs added by me.
-Erik | | |
Matt Kraai | 43c8c38bbfe | Allow compilation when not using BB_FEATURE_TAR_EXCLUDE, and fix
handling of --exclude option. | | |
Eric Andersen | 61a9d8d1450 | Forgot this part of wget | | |
Eric Andersen | 96700838184 | Initial implementation of wget, from Chip Rosenthal <chip@laserlink.net>.
Very cool. Still lacks "chunked" transfer-... | | |
Matt Kraai | b92223b6f58 | Allow selective extraction and listing of files. And fix an unchecked
return value of realloc (with xrealloc). | | |
Eric Andersen | fd50c3d2f9a | Add in byld | | |
Eric Andersen | cb91d69b3fa | Fix compile when BB_FEATURE_LINUXRC is defined
-Erik | | |
Eric Andersen | 73bdf13d35e | Fixed a stupid thinko preventing zcat from doing its job, thanks
to Torbj�rn Axelsson <torax@cendio.se> for the fix.
... | | |
Eric Andersen | 3a957b9d4cc | Turned off ls file-sorting till it can be fixed. | | |
Eric Andersen | 18a1014c959 | updated some usage info from a patch from robotti@metconnect.com
-Erik | | |
Matt Kraai | da542f3a0ca | Argh. I *will* compile before checking in. | | |
Matt Kraai | f446297afd6 | Don't unlink files if we are extracting to stdout. | | |
Eric Andersen | e99674a70fa | Correct the stdin/stdout behavior when no args are provided.
-Erik | | |
Eric Andersen | 5eb5912790b | Sigh. Seems I screwed up last time. This fixed detecting
when on a console or not, and make default behavior compat... | | |
Eric Andersen | 4e61db22849 | Add an extra sanity check in parse_mode
-Erik | | |
Eric Andersen | ad3d90f91e1 | Fix a spelling error
-Erik | | |
Eric Andersen | a3de24e85d0 | Fix spelling error
-Erik | | |
Matt Kraai | 1638488d26e | Rewritten by mistake. | | |
Matt Kraai | ab60f6987a8 | Removed dead regular expression code. | | |
Matt Kraai | 88cc3057fdb | Compile xstrdup and xstrndup iff they are needed. | | |
Glenn L McGrath | 06aeb6c417d | ar.c now uses a linked list to process headers, uses getopt, new internal function extractAr(srcFD, dstFd, filename) ... | | |
Eric Andersen | 4d5ac2f346d | Fix tab stops for sed usage. | | |
Pavel Roskin | 3a0f4baf2fd | Fixed a warning about a label not being used | | |
Pavel Roskin | 8237add8d0d | Fixed misuse of type "char" | | |
Pavel Roskin | 32f2769800e | From Ken Chalmers <chalmers@norscan.com>:
The current CVS mount.c is missing a semicolon, causing building to fail
if... | | |
Eric Andersen | 089d12d762d | Fix a unterminated string.
-Erik | | |
Eric Andersen | aaa94fb8a9e | Note the chmod fix.
-Erik | | |
Eric Andersen | ce82c8ab778 | Fix an option parsing bug where things like
chmod -r /tmp/file
wholdn't work (since it thought -r was an option).... | | |
Mark Whitley | 2368a387edc | Some additional tips and formatting changes. | | |
Eric Andersen | e4c4d69c048 | Fix a silly bug so it compiles up properly
-Erik | | |
Eric Andersen | 6ab22027d09 | Oops. Forgot to commit rdate.c.
-Erik | | |
Eric Andersen | fba9c00071e | Script to do regression test, by combining all possible options.
-Erik | | |
Eric Andersen | acf55510991 | Script to do regression test, by combining all possible options.
Run this to check for combinitorial type build error... | | |
Eric Andersen | 918507eddaa | Added the 'rdate' command, thanks to Sterling Huxley <sterling@europa.com>.
I added the docs, and made behavior ident... | | |
Eric Andersen | 851ce895bdf | Turn off some debug noise.
-Erik | | |
Eric Andersen | a1f16bba72c | Added getopt(1) from "Alfred M. Szmidt" <ams@trillian.itslinux.org>
-Erik | | |
Eric Andersen | e2205f093bb | Removed since this patch is now in the current 2.4.x kernel
tree.
-Erik | | |
Mark Whitley | 0e4cec0be89 | Applied patch from Mark Ferrell <mferrell@mvista.com> to use the 'p' option in
substitution expressions. | | |
Eric Andersen | dc746169cfd | Oops. Forgot to add in reset.c. Doh!
-Erik | | |
Eric Andersen | 282c364148e | Fix a thinko, thanks to Klaasjan <klaasjan@europe.com>
-Erik | | |
Eric Andersen | fa405d0cb28 | Add in the "reset" command.
-Erik | | |
Eric Andersen | 202995c6122 | Yet another patch to fixup lsmod
-Erik | | |
Eric Andersen | c86e5e61456 | Some leftover stuff I forgot to commit for the lsmod change.
-Erik | | |
Eric Andersen | be0dc0d06a7 | lsmod now uses the query_module syscall, rather then /proc
-Erik | | |
Eric Andersen | b2fc5a06479 | syslogd was leaking processes that could forever busyloop. Fixed.
-Erik | | |
Eric Andersen | e89267c8b38 | Minor fixups.
-Erik | | |
Eric Andersen | 8cbac440d66 | Better 'mt' docs, thanks to Kent Robotti <robotti@metconnect.com>
-Erik | | |
Eric Andersen | 6ac18a3d83b | Fix to make 'ar xv' work, thanks to Kent Robotti <robotti@metconnect.com>
-Erik | | |
Eric Andersen | bb39a31e339 | Minor link update
-Erik | | |
Eric Andersen | 79565b6c910 | Add optional ls file sorting, thanks to a patch from
Sterling Huxley <sterling@europa.com>
-Erik | | |
Eric Andersen | f9ca653faa5 | Added fix from David Vrabel <dvrabel@arcom.co.uk> for a
buffer overrun in find_real_root_device(), fixing bug #1019
... | | |
Eric Andersen | 88f50b6bf5e | Some #include updates.
-Erik | | |
Mark Whitley | 40406e6bad9 | Applied patch from Mark Ferrell <mferrell@mvista.com> to fix sed '1,$p' where
sed was only printing the first line an... | | |
Matt Kraai | adbf018dc46 | We complained if the total number of arguments was greater than 3 and
the destination wasn't a directory. We should ... | | |
Matt Kraai | deb95f69b6a | Exit with the appropriate value when grepping multiple files. | | |
Eric Andersen | 46ade979839 | Cleaner way to handle -NUM and +NUM, reduces the mem usage as well.
-Erik | | |
Eric Andersen | 0c8e2a6580c | Fixed the "-f" option.
-Erik | | |
Eric Andersen | fdd51033480 | Merge in two patches from Dave Cinege:
the first is a cleanup of tar --exclude
the second changes mount so mt... | | |
Mark Whitley | 5ae166813f8 | Minor cleanup thingy. fprintf(stderr, ...) -> errorMsg(). | | |
Mark Whitley | 807f0fd637e | Brand, new version of cut. This fixes the bugs in the old cut, is smaller, and
is a sight easier to understand than t... | | |
Eric Andersen | d5fa3e3e9a8 | Update to the tail rewrite by "Allen Soard" <esp-software@mail.hypermart.net>
-Erik | | |
Eric Andersen | 080d51bf455 | Minor fix to clean target
-Erik | | |
Matt Kraai | 0f8f7b8a35c | Fix bug 1017, which reports that insmod segfaults when /lib/modules doesn't
exist. Also allow early search terminati... | | |
Eric Andersen | 98bbd688a80 | Commit the rewrite of tail by Allen Soard
<esp-software@mail.hypermart.net>. Thanks Allen for
you work at getting th... | | |
Pavel Roskin | 43c17b3d964 | New variable WARNINGS to hold all warning options | | |
Pavel Roskin | 616d13bcd1a | Fixed to pass -Wundef | | |
Pavel Roskin | 259972e5657 | Disabled debugging output
Fine-grained checks for possible errors instead of "set -e"
The standard output shows what ... | | |
Eric Andersen | 9cf306d55e3 | Fix for a potential uninitialized variable, thx to
Ken Chalmers <chalmers@norscan.com>
-Erik | | |
Eric Andersen | 6a4c33c5c0e | Clean up the nasty blunder I'd made of how different behaviors happen.
-Erik | | |
Eric Andersen | 6150df320a8 | Some cleanups, based on a patch from Ken Chalmers
-Erik | | |
Eric Andersen | d5704686b14 | Fix from Robert Kaiser for stdin behavior.
-Erik | | |
Eric Andersen | 1428c4f1367 | Oops. Forgot an ifdef
-Erik | | |
Eric Andersen | a5716d30294 | Fix from Arne Bernin for return code -- now reflects whether the rmmod
failed or not.
-Erik | | |
Eric Andersen | 501c88b245f | More sh updates (with related changes to everything else). Switched
to using getopt and cleaned up the resulting mes... | | |
Eric Andersen | 6a99aaf0208 | More shell features.... if-then-else-fi is now basically usable (disable
by default pending further debugging). Adde... | | |
Mark Whitley | 7ce41ad6929 | Fixed a syntax error & superfluous param decl that was causing the build to
fail. | | |
Eric Andersen | e92108ae6d9 | Minor style cleanups. | | |
Eric Andersen | 0d49dd53cf9 | Better description | | |
Eric Andersen | cc10a5b42ba | Fix some bitrot.
-Erik | | |
Mark Whitley | 83e85f6a083 | Modified print_subst_w_backrefs() so it will print backslash escaped
characters properly, just like GNU sed. | | |
Mark Whitley | 52681b48dc2 | Added a note in the "Tips and Pointer" section on the correct way to test for
string equivalence with strcmp(). | | |
Eric Andersen | fad9c1198aa | Finish off fixing up the memleaks (I think). Added the beginnings of
some if-then-else-fi support (nonfunctional and... | | |
Eric Andersen | b040d4f3da1 | Use BB_FEATURE_CLEAN_UP where appropriate
-Erik | | |
Eric Andersen | b9ea02c04b9 | Add in BB_FEATURE_CLEAN_UP, which is whether to clean up mem leaks and close
files, or not. Usually safe to leave it... | | |
Eric Andersen | d34595d8577 | Remove some noise.
-Erik | | |
Eric Andersen | e5db4066901 | Clean up $1=$prefix
-Erik | | |
Mark Whitley | 40bfc763855 | First revision of the Busybox Style Guide and an accompanying .indent.pro
file. | | |
Pavel Roskin | e99f7500e04 | chroot can now call the builtin shell | | |
Eric Andersen | ea824fb9370 | Fixed stdin/stdout paths so things like
tar cvf - /etc/* | gzip -c9 >test.tgz
will now work. Fix thanks to Dave ... | | |
Eric Andersen | bf960f58e2f | Added 'renice' command, thanks to Dave Cinege <dcinege@psychosis.com>
-Erik | | |
Eric Andersen | 7df345e1494 | Bump version number.
-Erik | | |
Eric Andersen | ec8d60f0f83 | Add in the LinuxMagic VPN Firewall
-Erik | | |
Pavel Roskin | 0010ee45e37 | Fixed usage info for "cut" | | |
Mark Whitley | c768ab490e9 | Took -V out of the sed_usage string. | | |
Eric Andersen | ced2cefcca0 | * syslogd can now log messages to a remote host -- patch thanks
to Gyepi Sam <gyepi@praxis-sw.com>
-Erik | | |
Mark Whitley | 1f45b268cb5 | As per a discussion on the mailing list between Matt and Pavel. I have removed
the -V (version) flag from busybox sed... | | |
Mark Whitley | 1ac435c15e2 | Converted option parsing to getopt(). Also added some explanatory comments. | | |
Eric Andersen | 51154bacbe3 | Adjusted install.sh to use relative symlinks, and to optionally
create hardlinks. Added a makefile target to create ... | | |
Mark Whitley | 3950596e1e1 | Converted option parsing to using getopt(). Also managed to remove an
extraneous logic loop that existed only for the... | | |
Mark Whitley | 99e370f0c65 | Whoops. Forgot to #include <getopt.h>. | | |
Mark Whitley | aa4f108338e | Converted option parsing to getopt() and made some minor formatting changes. | | |
Matt Kraai | 27a804246af | Centralize handling of --help. | | |
Matt Kraai | 869057238b4 | Added some missing declarations and fixed some typos. I have to
remember to compile *before* committing. | | |
Matt Kraai | 2f46b664b7d | Add usage messages for applets without them. | | |
Eric Andersen | 91a4400fd5a | Avoid trying to free NULL ptrs. Comment on malloc usages.
-Erik | | |
Eric Andersen | a16c66335e2 | Use FatalError()
-Erik | | |
Eric Andersen | ae6eae02dd8 | Moved some code and add a coupld #defines to support use of dmalloc.
-Erik | | |
Eric Andersen | 52d6fa3bb33 | Funny. Head was getting installed to the wrong spot.
-Erik | | |
Eric Andersen | 1d255be78d2 | Updated to add support for dmalloc, and adjusted for better cross
compiler support.
-Erik | | |
Mark Whitley | 2ef880b2369 | Consolodated some common code into print_matched_line to make 'grep_file' a
little more terse & clean. Also made a fe... | | |
Eric Andersen | a9d69fb5680 | Removed now incorrect message about NFS not working with
Linux 2.[34].x kernels. It does work now,
-Erik | | |
Mark Whitley | 8f122431f5a | Added support for the -c (count matches) option. Made it so it works just like
GNU grep. | | |
Eric Andersen | 6efc48c1aeb | Sigh -- can't sleep. Clean up some mem leaks, fixed some bugs.
-Erik | | |
Pavel Roskin | 9c5fcc34086 | New message added to messages.c: full_version
Used where possible | | |
Pavel Roskin | cc8a66b113d | Moved functions used by "lsmod" from cat.c to utility.c
Adjusted to make lsmod and sh compilable as standalone apps.
... | | |
Mark Whitley | 97562bd9d7f | - Added support for backreferences in substitution expressions up to nine
(\1, \2...\9). This touched a lot of pla... | | |
Pavel Roskin | 21ddb38fcf0 | Now it's possible to compile Busybox with only one app defined
(unless it's lsmod, to be fixed by the next commit) | | |
Eric Andersen | a1d187a8a8a | Backtick support to infinite (memory limited) levels of nesting is
now implemented... So now busybox shell can do co... | | |
Pavel Roskin | bc0aed79a8c | It is now possible to select in busybox.def.h whether minixfs version 2
is to be supported. | | |
Pavel Roskin | 47d4926244f | The result of getopt() is "int" and should be treated as such | | |
Matt Kraai | bf181b93381 | Extract usage information into a separate file. | | |
Matt Kraai | 3bd8bd89ee9 | Don't use strings directly in calls to usage(). This is in preparation
for their extraction to a separate file. | | |
Mark Whitley | 464c5de00d3 | Fixed a couple of buglets:
- add_cmd_str: segv's were being generated if there was a '# comment' line
(and probab... | | |
Mark Whitley | 70705d7c968 | - Added support for semicolon delimited command lines. (woo-hoo!)
- Obsoleted the trim_str function (#if 0'ed out --... | | |
Eric Andersen | add09fd558c | Getopt'ed by Marc Nijdam <marc_nijdam@hp.com>
-Erik | | |
Eric Andersen | 17ad45aace3 | Getopt'rd by Marc Nijdam <marc_nijdam@hp.com>
-Erik | | |
Pavel Roskin | df4532bfa39 | More fixes for "signed vs. unsigned" warnings. | | |
Pavel Roskin | ff5a9033f9d | Reduced the number of "signed vs. unsigned" warnings.
Sometimes such warnings matter (esp. on PPC with char default t... | | |
Pavel Roskin | f626dcbc841 | More fixes for "missing initializers" | | |
| Next → |