aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace. (Vim's auto-indent is kind of annoying at times, like "daytime"landley2006-06-251-1/+1
| | | | | | | and "nighttime"...) git-svn-id: svn://busybox.net/trunk/busybox@15510 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a possible race condition if two processes try to claim the same looplandley2006-06-251-3/+4
| | | | | | | | device at the same time. We should only CLR_FD if the set status fails, not if the SET_FD fails. git-svn-id: svn://busybox.net/trunk/busybox@15509 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A few patches from Erik Hovland, turning strncpy() into safe_strncpy() andlandley2006-06-254-12/+6
| | | | | | | removing some unnecessary code. git-svn-id: svn://busybox.net/trunk/busybox@15505 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add a test from Glenn.landley2006-06-241-0/+38
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15503 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Document mount's new error return conventions.landley2006-06-241-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15502 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The logic to make cp -d or -P treat things like regular files should onlylandley2006-06-241-21/+14
| | | | | | | | | | 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... git-svn-id: svn://busybox.net/trunk/busybox@15501 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Slowly pulling more common headers into libbb.h. Andre pointed out thatlandley2006-06-241-0/+5
| | | | | | | | older uClibc didn't include sys/socket.h from netinet/in.h, so add an explicit #include for that too... git-svn-id: svn://busybox.net/trunk/busybox@15500 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Clean up.landley2006-06-221-74/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15484 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Shaun Jackman to replace CFLAGS_EXTRA with .config.maklandley2006-06-224-32/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15483 69ca8d6d-28ef-0310-b511-8ec308f3f277
* CONFIG_DHCP -> CONFIG_APP_DHCP.landley2006-06-223-14/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15482 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Jean Wolter writes: modprobe checks, whether a module is already loaded. The ↵vapier2006-06-211-1/+1
| | | | | | function used for this currently always returns 0. git-svn-id: svn://busybox.net/trunk/busybox@15474 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add note about strict orderingaldot2006-06-211-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15462 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Jean Wolter writes: ash uses bsearch to search in the list of built-in ↵vapier2006-06-211-1/+1
| | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@15461 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Paul Fox to improve mount's error handling behavior, which I beatlandley2006-06-211-21/+16
| | | | | | | on a bit. git-svn-id: svn://busybox.net/trunk/busybox@15455 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Andre (armcc2200@yahoo) patched a bug where successful mounts could sometimeslandley2006-06-211-1/+2
| | | | | | | produce an error, due to a missing rc assignment. git-svn-id: svn://busybox.net/trunk/busybox@15454 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Aurelien Jacobs pointed out inline functions that could be removed. Doing solandley2006-06-211-29/+13
| | | | | | | shrank the code a bit. git-svn-id: svn://busybox.net/trunk/busybox@15453 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove pointless "inline" wrapper around get_terminal_width_height().landley2006-06-211-21/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15452 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Zubicaray reported a bug in vi that causes it to eat 100% cpu when you closelandley2006-06-211-87/+2
| | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@15451 69ca8d6d-28ef-0310-b511-8ec308f3f277
* only enable count_bit functions when actually needed to fix warning reported ↵vapier2006-06-201-1/+2
| | | | | | by Bernhard Fischer git-svn-id: svn://busybox.net/trunk/busybox@15448 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Since rangecoder is just a bunch of C functions, move it into the one userlandley2006-06-203-167/+145
| | | | | | | | (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... git-svn-id: svn://busybox.net/trunk/busybox@15446 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup patch from Shaun Jackman converting %m to perror.landley2006-06-202-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15445 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch by Robert P. Day to remove obsolete alias code that the 2.4 and 2.6landley2006-06-201-11/+5
| | | | | | | Linux kernels don't do anymore. git-svn-id: svn://busybox.net/trunk/busybox@15444 69ca8d6d-28ef-0310-b511-8ec308f3f277
* assign default debug level to the MSHDEBUG definevapier2006-06-201-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15443 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I broke allbareconfig with half-finished cleanups I'd forgotten weren't done.landley2006-06-202-26/+19
| | | | | | | | Got both to a decent stopping point. (There's a lot more cleanup to do on ls.c but now is not the time...) git-svn-id: svn://busybox.net/trunk/busybox@15442 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The type changed too.landley2006-06-201-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15441 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use the new names for tty_baud_to_value() and tty_value_to_baud() again.pkj2006-06-201-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15440 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Revert the last two patches to go back to a state before this file waslandley2006-06-201-16/+94
| | | | | | | controversial. git-svn-id: svn://busybox.net/trunk/busybox@15439 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch by Robert P. Day to make structs use c99 initializers.landley2006-06-201-14/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15438 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Robert P. J. Day cleaning up some unnecessary preprocessorlandley2006-06-201-80/+0
| | | | | | | directives. git-svn-id: svn://busybox.net/trunk/busybox@15437 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Amrein-Marie Christophe pointed out that Mandrake changed its name.landley2006-06-201-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15436 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make some 64 bit warnings go away on x86-64.landley2006-06-196-61/+25
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15429 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Undo all of the ugliness and some of the bloat from 15412.landley2006-06-184-146/+22
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15421 69ca8d6d-28ef-0310-b511-8ec308f3f277
* skip_whitespace() shouldn't claim its return value is const, it doesn't knowlandley2006-06-1812-192/+64
| | | | | | | that and callers wind up typecasting it back. git-svn-id: svn://busybox.net/trunk/busybox@15420 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make this slightly more readable, and expose the hypocrasy of a comment thatlandley2006-06-181-5/+1
| | | | | | | | says "our implementation makes it impossible to use blocksizes smaller than 22 octets" right above a check for blocksize < 8. git-svn-id: svn://busybox.net/trunk/busybox@15419 69ca8d6d-28ef-0310-b511-8ec308f3f277
* danf writes: stty doesn't support baud rates > 460800 bps, the attached ↵vapier2006-06-171-2/+35
| | | | | | patch adds support for all baud rates supported by Linux 2.6.16 on x86. git-svn-id: svn://busybox.net/trunk/busybox@15412 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make it so Erik has to forward me less email.landley2006-06-164-4/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15411 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add cross-reference generation target.aldot2006-06-161-1/+13
| | | | | | | Experimental. git-svn-id: svn://busybox.net/trunk/busybox@15410 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - do away with the fwd-decls of functions. Should not contain any code changesaldot2006-06-161-267/+260
| | | | | | | AFAICT. git-svn-id: svn://busybox.net/trunk/busybox@15409 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Revert svn 15333. If you vfork, you must either exec or exit. (The parent islandley2006-06-161-19/+5
| | | | | | | blocked until you do so.) git-svn-id: svn://busybox.net/trunk/busybox@15408 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This directory was fallout from the great feature freeze of 2003, which ledlandley2006-06-168-2030/+0
| | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@15407 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - hide CONFIG_GETOPT_LONG for the 1.2.0 release. Turned on per default.aldot2006-06-161-5/+7
| | | | | | | I will revisit this and make sure that run-parts and ifupdown are fixed; hdparm needs treatment too.. git-svn-id: svn://busybox.net/trunk/busybox@15406 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add patch to provide a target 'html' to build a cross-reference of the sourcealdot2006-06-161-0/+31
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15405 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add needed includes and include busybox.h needed for the ATTRIBUTE define.aldot2006-06-161-0/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15404 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove warnings caused by #include <sys/mount.h> in platform.h. Apparentlylandley2006-06-164-19/+1
| | | | | | | we redefine a lot of stuff from standard header files... git-svn-id: svn://busybox.net/trunk/busybox@15403 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Rich Felker:landley2006-06-151-10/+9
| | | | | | | | | | | | | - 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. git-svn-id: svn://busybox.net/trunk/busybox@15401 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use shorter boilerplate, more accurate header guardaldot2006-06-151-23/+7
| | | | | | | - don't use multi-line string literals git-svn-id: svn://busybox.net/trunk/busybox@15400 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - drats.aldot2006-06-151-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15399 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - let the scripts be prerequisites of the files the generatealdot2006-06-152-3/+3
| | | | | | | - make sure that bbconfig isn't too stupid git-svn-id: svn://busybox.net/trunk/busybox@15398 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix bug found by Joey Hess and forwarded by Bastian Bunk. Add Joey Hess'slandley2006-06-152-4/+16
| | | | | | | | test case to the testsuite, plus another one that would have been broken by the first attempt at a fix. git-svn-id: svn://busybox.net/trunk/busybox@15397 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't do workarounds for broken shells. Busybox is about to grow a shell thatlandley2006-06-151-10/+6
| | | | | | | | | we can run our own testsuite under, and I want it to handle the full range of strange and peverted behavior you can find in real world shell scripts. In the meantime, I'll just say #!/bin/bash in places that may care. git-svn-id: svn://busybox.net/trunk/busybox@15396 69ca8d6d-28ef-0310-b511-8ec308f3f277