summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-06-26dont setpgrp() for now as it breaks system() and that is more important than ↵Mike Frysinger
ctrl+c handling of background processes
2006-06-26Upgrade mdev to allow commands to be run on create/delete.Rob Landley
Both Jason Schoon and Giuseppe Ciotta deserve credit for this, I used elements of both.  It's been upgraded so that you can specify that a given command should run at create, at delete, or at both using different special characters (@, $, and * respectively).  It uses the system() method of running command lines which means you can use environment variables on the command line (it sets $MDEV to the name of the current device being created/deleted, which is useful if you matched it via regex), and the documentation warns that you need a /bin/sh to make that work, so you probably want to pick a default shell.
2006-06-25Missed one. Based on suggestions from Erik Hovland.Rob Landley
2006-06-25Various cleanups I made while going through Erik Hovland's patch submissions,Rob Landley
some of which are even from him. :)
2006-06-25- convert old-style parameter declarations (K&R) to modern style.Bernhard Reutner-Fischer
2006-06-25Whitespace. (Vim's auto-indent is kind of annoying at times, like "daytime"Rob Landley
and "nighttime"...)
2006-06-25Fix a possible race condition if two processes try to claim the same loopRob Landley
device at the same time. We should only CLR_FD if the set status fails, not if the SET_FD fails.
2006-06-25A few patches from Erik Hovland, turning strncpy() into safe_strncpy() andRob Landley
removing some unnecessary code.
2006-06-24Add a test from Glenn.Rob Landley
2006-06-24Document mount's new error return conventions.Rob Landley
2006-06-24The logic to make cp -d or -P treat things like regular files should onlyRob Landley
trigger for symlinks, not for device nodes. This should fix "cp -a /dev ." to work as expected (when run by root, anyway). While I was there, cleanup headers and make an #ifdef go away...
2006-06-24Slowly pulling more common headers into libbb.h. Andre pointed out thatRob Landley
older uClibc didn't include sys/socket.h from netinet/in.h, so add an explicit #include for that too...
2006-06-22Clean up.Rob Landley
2006-06-22Patch from Shaun Jackman to replace CFLAGS_EXTRA with .config.makRob Landley
2006-06-22CONFIG_DHCP -> CONFIG_APP_DHCP.Rob Landley
2006-06-21Jean Wolter writes: modprobe checks, whether a module is already loaded. The ↵Mike Frysinger
function used for this currently always returns 0.
2006-06-21- add note about strict orderingBernhard Reutner-Fischer
2006-06-21Jean Wolter writes: ash uses bsearch to search in the list of built-in ↵Mike Frysinger
commands, therefore the list of built-in commands has to be ordered. Revision 15077 introduced the source built-in and destroyed this order. And now ash doesn't find the shift command anymore.
2006-06-21Patch from Paul Fox to improve mount's error handling behavior, which I beatRob Landley
on a bit.
2006-06-21Andre (armcc2200@yahoo) patched a bug where successful mounts could sometimesRob Landley
produce an error, due to a missing rc assignment.
2006-06-21Aurelien Jacobs pointed out inline functions that could be removed. Doing soRob Landley
shrank the code a bit.
2006-06-21Remove pointless "inline" wrapper around get_terminal_width_height().Rob Landley
2006-06-21Zubicaray reported a bug in vi that causes it to eat 100% cpu when you closeRob Landley
an xterm it's running in. The vi signal behavior would catch and restarts lots of signals, like SIGHUP, that should just kill the thing. (Leftover behavior from when it would segfault all the time.) Filtered out the more obviously bad ones. If it segfaults, we should find and fix the problem.
2006-06-20only enable count_bit functions when actually needed to fix warning reported ↵Mike Frysinger
by Bernhard Fischer
2006-06-20Since rangecoder is just a bunch of C functions, move it into the one userRob Landley
(decompress_unlzma.c). Also a slight #include cleanup, and I've been meaning to put #include <unistd.h> into libbb.h since it's so darn common...
2006-06-20Cleanup patch from Shaun Jackman converting %m to perror.Rob Landley
2006-06-20Patch by Robert P. Day to remove obsolete alias code that the 2.4 and 2.6Rob Landley
Linux kernels don't do anymore.
2006-06-20assign default debug level to the MSHDEBUG defineMike Frysinger
2006-06-20I broke allbareconfig with half-finished cleanups I'd forgotten weren't done.Rob Landley
Got both to a decent stopping point. (There's a lot more cleanup to do on ls.c but now is not the time...)
2006-06-20The type changed too.Rob Landley
2006-06-20Use the new names for tty_baud_to_value() and tty_value_to_baud() again.Peter Kjellerstedt
2006-06-20Revert the last two patches to go back to a state before this file wasRob Landley
controversial.
2006-06-20Patch by Robert P. Day to make structs use c99 initializers.Rob Landley
2006-06-20Patch from Robert P. J. Day cleaning up some unnecessary preprocessorRob Landley
directives.
2006-06-20Amrein-Marie Christophe pointed out that Mandrake changed its name.Rob Landley
2006-06-19Make some 64 bit warnings go away on x86-64.Rob Landley
2006-06-18Undo all of the ugliness and some of the bloat from 15412.Rob Landley
2006-06-18skip_whitespace() shouldn't claim its return value is const, it doesn't knowRob Landley
that and callers wind up typecasting it back.
2006-06-18Make this slightly more readable, and expose the hypocrasy of a comment thatRob Landley
says "our implementation makes it impossible to use blocksizes smaller than 22 octets" right above a check for blocksize < 8.
2006-06-17danf writes: stty doesn't support baud rates > 460800 bps, the attached ↵Mike Frysinger
patch adds support for all baud rates supported by Linux 2.6.16 on x86.
2006-06-16Make it so Erik has to forward me less email.Rob Landley
2006-06-16- add cross-reference generation target.Bernhard Reutner-Fischer
Experimental.
2006-06-16- do away with the fwd-decls of functions. Should not contain any code changesBernhard Reutner-Fischer
AFAICT.
2006-06-16Revert svn 15333. If you vfork, you must either exec or exit. (The parent isRob Landley
blocked until you do so.)
2006-06-16This directory was fallout from the great feature freeze of 2003, which ledRob Landley
up to the 1.00 release. I just moved what was left of it to http://busybox.net/~landley/pending because it does _not_ belong in the tree anymore.
2006-06-16- hide CONFIG_GETOPT_LONG for the 1.2.0 release. Turned on per default.Bernhard Reutner-Fischer
I will revisit this and make sure that run-parts and ifupdown are fixed; hdparm needs treatment too..
2006-06-16- add patch to provide a target 'html' to build a cross-reference of the sourceBernhard Reutner-Fischer
2006-06-16- add needed includes and include busybox.h needed for the ATTRIBUTE define.Bernhard Reutner-Fischer
2006-06-16Remove warnings caused by #include <sys/mount.h> in platform.h. ApparentlyRob Landley
we redefine a lot of stuff from standard header files...
2006-06-15Patch from Rich Felker:Rob Landley
- duplicated format bit 14 forced LIST_EXEC always-on - -p option was behaving just like -F (SUSv3 says -p only shows / for   dirs, not other special symbols) - tests for LIST_EXEC in color functions were nonsense (constant   tests). i assume they were supposed to be (all_fmt & LIST_EXEC)   however having coloring of executable files depend on -F seems   undesirable.