Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | It turns out job control in both hush and lash was broken by the | Eric Andersen | 2001-05-17 | 4 | -20/+52 | |
| | | | | | | signal handling in cmdedit.c. Disabling it makes the shells behave themselves again. hush isn't quite there, but is getting close... -Erik | |||||
* | Remove/replace the "div" call. | Eric Andersen | 2001-05-16 | 2 | -10/+14 | |
| | ||||||
* | Add missing include, noted by Larry Doolittle. | Matt Kraai | 2001-05-16 | 1 | -0/+2 | |
| | ||||||
* | Whoops. Forgot the x. | Matt Kraai | 2001-05-16 | 2 | -4/+4 | |
| | ||||||
* | Add xgethostbyname and herror_msg* functions. | Matt Kraai | 2001-05-16 | 25 | -96/+236 | |
| | ||||||
* | Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.c | Matt Kraai | 2001-05-16 | 22 | -36/+36 | |
| | | | | by Larry Doolittle. | |||||
* | Move init of a bunch of globals into main so we are at least | Eric Andersen | 2001-05-16 | 2 | -14/+32 | |
| | | | | | a bit more reentrant. -Erik | |||||
* | Fix the behavior of local shell variables to match that of bash and ash. | Eric Andersen | 2001-05-15 | 2 | -50/+218 | |
| | | | | -Erik | |||||
* | Suggestion from Larry: no format string, use fputs instead. | Eric Andersen | 2001-05-15 | 2 | -4/+4 | |
| | ||||||
* | Patch from Adam Heath <doogie@debian.org> to add arbitrary header support | Eric Andersen | 2001-05-15 | 5 | -9/+79 | |
| | | | | to wget, so it can now do funky interactive things with cgi scripts. | |||||
* | This patch from Adam Heath <doogie@debian.org>, makes print_file | Eric Andersen | 2001-05-15 | 5 | -6/+72 | |
| | | | | (used by cat, grep, sed, etc) quite a bit faster. | |||||
* | Patch from Vladimir: | Eric Andersen | 2001-05-15 | 12 | -68/+70 | |
| | | | | | | | 1) fixed a bug that could crash df, mount, and umount applets if the root device name was longer then the word "root" (/dev/loop1 vs /dev/root) - 2) severl functions needed static declaration in the umount applet 3) update declaration for function in last_char_is() in libbb | |||||
* | Oops. I left in some debug noise. | Eric Andersen | 2001-05-15 | 2 | -2/+0 | |
| | ||||||
* | Write set_local_var() and fixup lookup_param() so you can now use | Eric Andersen | 2001-05-15 | 2 | -8/+202 | |
| | | | | | shell local variables. -Erik | |||||
* | This patch covers one big part of variable handling. | Eric Andersen | 2001-05-15 | 2 | -10/+98 | |
| | | | | | | | | | | | | | | | $ a=b foo should be handled correctly. $ a=b is parsed OK, but the actual variable setting is not yet written. Except for some weird exceptions related to quoting rules, this code passes (matches ash behavior) all the tests I threw at it. If someone now writes set_local_var(), and updates lookup_param() to match, we can claim success! - Larry | |||||
* | Fix incorrect length passed to accept noted by Larry Doolittle. | Matt Kraai | 2001-05-15 | 2 | -2/+6 | |
| | ||||||
* | Added some testcases for grep and sed (many more could still be added) | Mark Whitley | 2001-05-14 | 1 | -0/+13 | |
| | ||||||
* | ...Need to print just a few more newlines. | Mark Whitley | 2001-05-14 | 2 | -4/+10 | |
| | ||||||
* | A compromise solution for insmod | Eric Andersen | 2001-05-14 | 2 | -8/+30 | |
| | ||||||
* | ...And now that we're chomping lines, we need to re-add the newline later... | Mark Whitley | 2001-05-14 | 2 | -6/+6 | |
| | ||||||
* | We will chomp() lines so REG_NEWLINE does not break stuff. Thanks, Matt. | Mark Whitley | 2001-05-14 | 2 | -0/+2 | |
| | ||||||
* | Fixed a subtle bug in the handling of -l and -c flags. | Mark Whitley | 2001-05-14 | 2 | -38/+38 | |
| | ||||||
* | Added REG_NEWLINE as cflags to xregcomp for normal addresses so EOL $ will work | Mark Whitley | 2001-05-14 | 2 | -2/+2 | |
| | ||||||
* | Follow symbolic links when searching for modules. | Matt Kraai | 2001-05-14 | 2 | -8/+8 | |
| | ||||||
* | Per suggestion from Vladimir, eliminate check_wildcard_match(), which | Eric Andersen | 2001-05-14 | 6 | -234/+97 | |
| | | | | | | | | | | | was only being used by insmod these days. Also, I spent a minute adjusting insmod so that it first searches /lib/modules/`uname -r` and then (if that fails) searches /lib/modules, which makes bb insmod behave much more like the real insmod, and should avoid nasty surprises (such as the recent "Modutils vs. Busybox..." thread). -Erik | |||||
* | Add missing periods and delete superfluous whitespace. | Matt Kraai | 2001-05-14 | 1 | -2/+2 | |
| | ||||||
* | Do not ever change permissions on existing directories, only | Eric Andersen | 2001-05-13 | 2 | -4/+12 | |
| | | | | | | | on directories we created while extracting a tarball. Fix based on bug report and patch from Konstantin Boldyshev <konst@linuxassembly.org> -Erik | |||||
* | When doing a 'wget -O -' turn on the quiet flag, lest the status bar | Eric Andersen | 2001-05-13 | 2 | -2/+4 | |
| | | | | | noise get mingled with the retrieved webpage. -Erik | |||||
* | A patch from Aaron Lehmann <aaronl@vitelus.com> to fix a | Eric Andersen | 2001-05-13 | 2 | -2/+18 | |
| | | | | crash on a broken regexp. | |||||
* | Make the locale stuff only do the getpid==1 check if BB_INIT is defined | Eric Andersen | 2001-05-13 | 2 | -2/+10 | |
| | ||||||
* | Added support for 'r' command in sed. | Mark Whitley | 2001-05-11 | 2 | -20/+146 | |
| | ||||||
* | Fix up some silly warnings | Eric Andersen | 2001-05-11 | 4 | -12/+12 | |
| | ||||||
* | Fix a segfault in lash, hush, and cmdedit. Each of these used | Eric Andersen | 2001-05-11 | 10 | -5/+40 | |
| | | | | | | xgetcwd, but did not check the return for a NULL, and then continued to call strlen on the NULL when the cwd had been removed from under it. -Erik | |||||
* | Use xgetcwd | Eric Andersen | 2001-05-11 | 2 | -4/+4 | |
| | ||||||
* | Fix the chown usage text, also thanks to Lars Kellogg-Stedman ↵ | Eric Andersen | 2001-05-11 | 3 | -6/+9 | |
| | | | | <lars@larsshack.org> | |||||
* | This patch from Lars Kellogg-Stedman, fixes the behavior of | Eric Andersen | 2001-05-11 | 2 | -6/+22 | |
| | | | | | | | chown to be consistant with GNU chown, so that it follows symlinks (who cares about the perms on a link anyways?) unless the -h option is supplied. -Erik | |||||
* | Check that putenv succeeded, suggested by Jonas Holmberg. | Matt Kraai | 2001-05-11 | 2 | -2/+4 | |
| | ||||||
* | Fix env usage information. | Matt Kraai | 2001-05-11 | 3 | -3/+3 | |
| | ||||||
* | Fix handling of '-' option and way that variables are added to the | Matt Kraai | 2001-05-11 | 2 | -12/+28 | |
| | | | | | environment from Jonas Holmberg <jonas.holmberg@axis.com>. Fix handling of command options by adding + to getopt string. | |||||
* | Fix symlink removal problem noted by Erik Andersen. | Matt Kraai | 2001-05-11 | 1 | -1/+2 | |
| | ||||||
* | Add installation instructions from Tomas Pospisek <tpo_hp@sourcepole.ch>. | Matt Kraai | 2001-05-10 | 1 | -0/+8 | |
| | ||||||
* | Make stdio functions which can be interrupted by the progressmeter timer | Matt Kraai | 2001-05-09 | 2 | -10/+98 | |
| | | | | recover gracefully from EINTR. | |||||
* | Bump version to 0.52pre | Eric Andersen | 2001-05-09 | 4 | -3/+9 | |
| | ||||||
* | A few more structural updates for job control. | Eric Andersen | 2001-05-08 | 2 | -8/+26 | |
| | | | | -Erik | |||||
* | Fix a stupid segfault caused by dereferencing a NULL ptr. | Eric Andersen | 2001-05-08 | 2 | -0/+4 | |
| | | | | -Erik | |||||
* | This patch from Evin Robertson <nitfol@my-deja.com> fixes export so it works. | Eric Andersen | 2001-05-07 | 2 | -2/+8 | |
| | | | | | This way leaks memory, but oh well. We will probably fix that when we get around to doing local variables. | |||||
* | This syncs things with Vladimir's latest patches. Also gets | Eric Andersen | 2001-05-07 | 2 | -8/+8 | |
| | | | | | rid of useless 'const int' declarations. -Erik | |||||
* | This is Vladimir's update to last_char_is(). Since 'char *' is | Eric Andersen | 2001-05-07 | 1 | -4/+7 | |
| | | | | | the least common denominator, I modified it to use that (not const), which will minimize the need for casting elsewhere. | |||||
* | Silence cut so it doesn't whine during compilation | Eric Andersen | 2001-05-07 | 2 | -2/+2 | |
| | ||||||
* | A patch from Vladimir to simplify chomp() | Eric Andersen | 2001-05-07 | 1 | -7/+4 | |
| |