aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2001-05-17Fix invocation of builtin shell to have proper argc and argv.Matt Kraai
2001-05-17Always print a newline after a matching substitution.Matt Kraai
2001-05-17It turns out job control in both hush and lash was broken by theEric Andersen
signal handling in cmdedit.c. Disabling it makes the shells behave themselves again. hush isn't quite there, but is getting close... -Erik
2001-05-16Remove/replace the "div" call.Eric Andersen
2001-05-16Add missing include, noted by Larry Doolittle.Matt Kraai
2001-05-16Whoops. Forgot the x.Matt Kraai
2001-05-16Add xgethostbyname and herror_msg* functions.Matt Kraai
2001-05-16Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.cMatt Kraai
by Larry Doolittle.
2001-05-16Move init of a bunch of globals into main so we are at leastEric Andersen
a bit more reentrant. -Erik
2001-05-15Fix the behavior of local shell variables to match that of bash and ash.Eric Andersen
-Erik
2001-05-15Suggestion from Larry: no format string, use fputs instead.Eric Andersen
2001-05-15Patch from Adam Heath <doogie@debian.org> to add arbitrary header supportEric Andersen
to wget, so it can now do funky interactive things with cgi scripts.
2001-05-15This patch from Adam Heath <doogie@debian.org>, makes print_fileEric Andersen
(used by cat, grep, sed, etc) quite a bit faster.
2001-05-15Patch from Vladimir:Eric Andersen
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
2001-05-15Oops. I left in some debug noise.Eric Andersen
2001-05-15Write set_local_var() and fixup lookup_param() so you can now useEric Andersen
shell local variables. -Erik
2001-05-15This patch covers one big part of variable handling.Eric Andersen
$ 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
2001-05-15Fix incorrect length passed to accept noted by Larry Doolittle.Matt Kraai
2001-05-14Added some testcases for grep and sed (many more could still be added)Mark Whitley
2001-05-14...Need to print just a few more newlines.Mark Whitley
2001-05-14A compromise solution for insmodEric Andersen
2001-05-14...And now that we're chomping lines, we need to re-add the newline later...Mark Whitley
2001-05-14We will chomp() lines so REG_NEWLINE does not break stuff. Thanks, Matt.Mark Whitley
2001-05-14Fixed a subtle bug in the handling of -l and -c flags.Mark Whitley
2001-05-14Added REG_NEWLINE as cflags to xregcomp for normal addresses so EOL $ will workMark Whitley
2001-05-14Follow symbolic links when searching for modules.Matt Kraai
2001-05-14Per suggestion from Vladimir, eliminate check_wildcard_match(), whichEric Andersen
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
2001-05-14Add missing periods and delete superfluous whitespace.Matt Kraai
2001-05-13Do not ever change permissions on existing directories, onlyEric Andersen
on directories we created while extracting a tarball. Fix based on bug report and patch from Konstantin Boldyshev <konst@linuxassembly.org> -Erik
2001-05-13When doing a 'wget -O -' turn on the quiet flag, lest the status barEric Andersen
noise get mingled with the retrieved webpage. -Erik
2001-05-13A patch from Aaron Lehmann <aaronl@vitelus.com> to fix aEric Andersen
crash on a broken regexp.
2001-05-13Make the locale stuff only do the getpid==1 check if BB_INIT is definedEric Andersen
2001-05-11Added support for 'r' command in sed.Mark Whitley
2001-05-11Fix up some silly warningsEric Andersen
2001-05-11Fix a segfault in lash, hush, and cmdedit. Each of these usedEric Andersen
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
2001-05-11Use xgetcwdEric Andersen
2001-05-11Fix the chown usage text, also thanks to Lars Kellogg-Stedman ↵Eric Andersen
<lars@larsshack.org>
2001-05-11This patch from Lars Kellogg-Stedman, fixes the behavior ofEric Andersen
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
2001-05-11Check that putenv succeeded, suggested by Jonas Holmberg.Matt Kraai
2001-05-11Fix env usage information.Matt Kraai
2001-05-11Fix handling of '-' option and way that variables are added to theMatt Kraai
environment from Jonas Holmberg <jonas.holmberg@axis.com>. Fix handling of command options by adding + to getopt string.
2001-05-11Fix symlink removal problem noted by Erik Andersen.Matt Kraai
2001-05-10Add installation instructions from Tomas Pospisek <tpo_hp@sourcepole.ch>.Matt Kraai
2001-05-09Make stdio functions which can be interrupted by the progressmeter timerMatt Kraai
recover gracefully from EINTR.
2001-05-09Bump version to 0.52preEric Andersen
2001-05-08A few more structural updates for job control.Eric Andersen
-Erik
2001-05-08Fix a stupid segfault caused by dereferencing a NULL ptr.Eric Andersen
-Erik
2001-05-07This patch from Evin Robertson <nitfol@my-deja.com> fixes export so it works.Eric Andersen
This way leaks memory, but oh well. We will probably fix that when we get around to doing local variables.
2001-05-07This syncs things with Vladimir's latest patches. Also getsEric Andersen
rid of useless 'const int' declarations. -Erik
2001-05-07This is Vladimir's update to last_char_is(). Since 'char *' isEric Andersen
the least common denominator, I modified it to use that (not const), which will minimize the need for casting elsewhere.