summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2001-05-07Silence cut so it doesn't whine during compilationEric Andersen
2001-05-07A patch from Vladimir to simplify chomp()Eric Andersen
2001-05-07A patch from Vladimir to simplify concat_path_file() andEric Andersen
make it less likely to break.
2001-05-07A patch from Vladimir to use last_char_is(), and a patch fromEric Andersen
Larry to fix a silly bug when BB_FEATURE_VI_OPTIMIZE_CURSOR is not defined.
2001-05-07Patch from Vladimir to use last_char_is to simplify du.cEric Andersen
2001-05-07Patch from Vladimir to remove testing stuff from sttyEric Andersen
2001-05-07A bug fix from Vladimir for a memory leak I stupidlyEric Andersen
added to which.c.
2001-05-07More hush updates from Larry:Eric Andersen
Update some comments. Generate partial placeholders for the missing builtins. Write builtin_umask. Properly treat exec without arguments as a means to open/close files within the running script. Implement "4<&-" that encodes for file descriptor closure.
2001-05-07Patch from Jim McQuillan to pass the terminal type to the remote host.Eric Andersen
2001-05-07Per comment from Jim McQuillan <jam@mcquil.com>, don't logEric Andersen
syslogd startup/shutdown messages as KERN.EMERG, but use SYSLOG.INFO instead.
2001-05-07Update comment re USE_SYSTEM_PWD_GRPEric Andersen
-Erik
2001-05-07Per some comments from Lars Kellogg-Stedman <lars@larsshack.org>,Eric Andersen
make xreadlink() return NULL on failure, and make sure everyone uses the interface correctly. -Erik
2001-05-07Another vi update from Sterling Huxley:Eric Andersen
- All of the ESC sequences are now in variables. This should make re-targeting for other terminals easier. - The initial screen draw does not force out every single column. Should be faster. - The place_cursor() routine trys to be smarter about moving the cursor. This is optional based on BB_FEATURE_VI_OPTIMIZE_CURSOR. - The 't' and 'f' intra-line positioning commands were added. They can now be used as targets in 'c' and 'd' commands, i.e., dfx - delete from dot to next 'x' dtx - delete from dot to the char before next 'x' - show_status_line() uses a static int checksum to remember what is currently displayed on the screen and not re-draw the status line unless it has changed. - Some of the code in refresh() was moved out to format_line(). refresh() trys to send out the smallest segment containing the changed chars rather than the whole line. - Added "flash" to the :set command to specify if error indication should be by flashing the screen or ringing the bell. - Changed the rawmode() routine so that it turns off the NL -> CR NL translation. On output of a NL, the OS will not add a CR. - If vi was started as "view", with global read-only mode, and another file is opened, the file is opened read-only rather than read+write.
2001-05-07woops, forgot the break statmentGlenn L McGrath
2001-05-07Tolerate -q argument, if -q is passed give a warning and continue rather ↵Glenn L McGrath
than just fail
2001-05-07Actually we dont need to check if the device is nfs as it wont be stat'edGlenn L McGrath
2001-05-07woops, i shouldnt be so presumtuous? about what the error will beGlenn L McGrath
2001-05-07Device may not be a real filenameGlenn L McGrath
2001-05-05Rewrite -c and -b processing to shrink code and eliminate buffer overrun.Matt Kraai
2001-05-05include libbb.h after other includesGlenn L McGrath
2001-05-04Larry's variant on Evin Robertson's fix to what I messed upEric Andersen
trying to make job control work. This fix makes it so that hush doesn't error out when init hasn't set up job control, as in when init=/bin/sh
2001-05-04Larry suggested using concat_path_file() would be an even safer betEric Andersen
for 'which'. I ageed, so I whipped this up -- which revealed a bug in concat_path_file. It turns out that that a '/' can be appended from either the path _or_ the filename, but only the former was checked. -Erik
2001-05-04Wrote documentation and scripts for creating a busybox boot floppy. Initial ↵Mark Whitley
revision.
2001-05-04Don't reset parents context when we encounter an terminator. FixesMatt Kraai
if true; then if true; then true; fi; fi