summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Add missing include filesEric Andersen2004-03-273-0/+3
|
* passwd and sulogin also need libcrypt, via libbb/pw_encrypt()Eric Andersen2004-03-271-3/+6
|
* s/fileno\(stdin\)/STDIN_FILENO/gEric Andersen2004-03-2721-35/+35
| | | | s/fileno\(stdout\)/STDOUT_FILENO/g
* Vladimir N. Oleynik (vodz) writes:Eric Andersen2004-03-271-22/+21
| | | | | | | | | | | | | | | Ok. Last patch reduce 73 bytes for compensate (and over) your changes ;-) Comments: Added cin_fileno variable, auto setted to 0 from BSS and have "eq" stdin descriptor if isatty(stout)==0, removed global variable FILE* cin. Removed default setting to terminal_width/terminal_height, this used only from main() and setted after call get_terminal_width_height() always correct. Variable please_display_more_prompt changed to bits logic, have size reducing. --w vodz
* Update docsEric Andersen2004-03-274-114/+89
|
* Brian Pomerantz writes:Eric Andersen2004-03-233-3/+5
| | | | | | | | | | | | | | | | I've noticed a bug in the "autowidth" feature more, and is probably in others. The call to the function get_terminal_width_height() passes in a file descriptor but that file descriptor is never used, instead the ioctl() is called with 0. In more_main() the call to get_terminal_width_height() passes 0 as the file descriptor instead of fileno(cin). This isn't a problem when you more a file (e.g. "more /etc/passwd") but when you pipe a file to it (e.g. "cat /etc/passwd | more") the size of the terminal cannot be determined because file descriptor 0 is not a terminal. The fix is simple, I've attached a patch for more.c and get_terminal_width_height.c. BAPper
* Some corrections from vodz:Robert Griebl2004-03-221-11/+6
| | | | | - Make -u/-l mutually exclusive - Minor size reduction
* The utc variable was not modified according to the -u/-l command lineRobert Griebl2004-03-211-2/+8
| | | | parameters.
* Tito noticed a printf that should have been a bb_error_msg.Eric Andersen2004-03-201-1/+1
|
* Oops.. got a bit to aggressive with size optimization and global replace. :-(Manuel Novoa III2004-03-191-3/+5
|
* As noted in a patch from Kendrick Hamilton, rmmod was onlyEric Andersen2004-03-191-4/+1
| | | | | half way converted, and still used the old delete_module(), call rather than a syscall, in one spot.
* Add missing ELFCLASSM for m68kEric Andersen2004-03-191-2/+3
|
* Only use R_68K_GOTOFF if it is definedEric Andersen2004-03-191-2/+6
|
* Fix broken arg parsing (was not passing pointer to items so p, argc, and argvEric Andersen2004-03-191-132/+117
| | | | | were only modified locally). Fix error reporting to properly describe why ioctls fail.
* Patch from vodz to fix the dynamic vars patch, which I should notEric Andersen2004-03-162-75/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | have checked in. Vladimir writes: Your patch have many problem. 1. You always added + time(). This cannot reset RANDOM=value for debuging with replay sequential. 2. Hmm. I examine bash 2.04 source. This pseudorandom generator use low bits of counter value. You use high bits. This make bad pseudorandom values after have 0-value. For example, if + time() do remove, your generator always return 0 after first generate 0. 3. Memory leak per call. Use ash-unlike unecessary bb_strdup function. 4. Unsupport show last $RANDOM value for "set" and "export" command. 5. Bloat code. Busybox-unlike patch - added unstandart feature as default hardcode. Last patch attached. Erik, why you apply Paul patch with have 5-th point problem? :( Last patch have ash change xwrite() to fresh libbb/bb_full_write interfase (haved loop after EINTR). --w vodz
* Oops. Using the wrong variable was a rather stupidEric Andersen2004-03-151-1/+1
| | | | thing for me to do.
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-15374-2051/+2048
|
* I redid route.Manuel Novoa III2004-03-131-1/+1
|
* Update docs for start_stop_daemon to match reality. UpdateEric Andersen2004-03-133-55/+81
| | | | the reality a bit to better match debian behavior.
* Fix some doc generation problemsEric Andersen2004-03-132-21/+24
|
* Hideki IWAMOTO writes:Eric Andersen2004-03-121-2/+2
| | | | | | | | | | | | | | Current `tr' implementation has a problem, if `plain char' is signed. [current cvs version] >echo a | _install/usr/bin/tr '\0' '\377' Segmentation fault (core dumped) [patched version] >echo a | _install/usr/bin/tr '\0' '\377' a
* Fix some goofy formattingEric Andersen2004-03-121-4/+3
|
* Add prototypes for safe_strtol and friendsEric Andersen2004-03-121-1/+5
|
* Fix awk entry, which was not showing up in BusyBox.txt for some reasonEric Andersen2004-03-121-6/+12
|
* Paul Mundt, lethal at linux-sh dot org writes:Eric Andersen2004-03-111-14/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here's a follow-up replacement to the patch I sent earlier, this adjusts some of the semantics of the dynamic variable setting. Namely, dynamic vars can hook a set handler (which RANDOM uses to adjust the seed). They'll only lose their dynamic status if they're unset. I've used the same approach that bash does to come up with the random number, mostly just for consistency. For example: $ echo $RANDOM 13759 $ echo $RANDOM 20057 $ echo $RANDOM 1502 $ export RANDOM=42 $ echo $RANDOM 24179 $ echo $RANDOM 2046 $ unset RANDOM $ echo $RANDOM $ export RANDOM=42 $ echo $RANDOM 42 $
* Patch from Thomas Frohlich to fix an option ordering bug of mine.Glenn L McGrath2004-03-101-3/+3
|
* When displaying the size in 1kB blocks round up if an odd number ofGlenn L McGrath2004-03-101-1/+5
| | | | blocks
* Patch by Seth W. Klein, the -l switch was reversedGlenn L McGrath2004-03-101-2/+2
|
* In spite of the feature freeze, check in a complete rework of route whichManuel Novoa III2004-03-104-485/+501
| | | | | | | | fixes some bugs, adds some error checking, and removes _lots_ of bloat. Text size on i386... old new ipv6 5425 3523 no ipv6 3143 2193
* Note that /proc must be mounted for filesystem type autodetectionEric Andersen2004-03-091-1/+2
| | | | | to work. Without /proc mounted, one must explicitly specify the type of every filesystem being mounted.
* David Anders (prpplague) submitted this patch to allow login to workEric Andersen2004-03-091-2/+2
| | | | when the device nodes are symlinks on a read only file system.
* Fix broken sort order flags.Manuel Novoa III2004-03-081-3/+2
|
* My bug. :-(Manuel Novoa III2004-03-081-0/+1
|
* Fix/eliminate use of atolEric Andersen2004-03-069-54/+132
|
* Patch from Matt Kraai to fix debian bug number 231994.Glenn L McGrath2004-03-061-4/+7
| | | | There was an extra blank line preceding the first directory.
* Woops, how did that get in thereGlenn L McGrath2004-03-061-5/+0
|
* Don't build these support functions for uClibc, as it always suppliesManuel Novoa III2004-03-061-0/+4
| | | | versions.
* Patch from John Powers, adds multicast (rfc2090) and timeout (rfc2349)Glenn L McGrath2004-03-051-0/+1053
| | | | options
* Patch from duane no-name, optionally request additional itemsGlenn L McGrath2004-03-051-0/+126
|
* Patch by Andrew Victor,Glenn L McGrath2004-03-052-5/+10
| | | | | | | | | | | In arpping.h, fix structure alignment of "struct arpMsg". GCC can insert padding in the structure which causes udhcpd to send an invalid ARP packet on the network. It will then not receive a valid reply, which can cause it to assign an IP address that's already in use on the network. (With kernels before 2.4.20, the "struct ethhdr" in linux/if_ether.h wasn't marked as packed. This is also an issue if your toolchain was built with a pre-2.4.20 kernel).
* Fix a typo, patch by Andrew VictorGlenn L McGrath2004-03-051-1/+1
|
* Patch from Tony J. White to allow paths to be configuredGlenn L McGrath2004-03-051-0/+333
|
* Patch by Denis Vlasenko to add forground support.Glenn L McGrath2004-03-051-0/+33
|
* Fix debugging output, patch by Hideki IWAMOTOGlenn L McGrath2004-03-051-1/+1
|
* Patch by Felipe Kellermann to fix a compiler compatability problemGlenn L McGrath2004-03-051-6/+6
|
* Patch from Steven Scholz to fix compiler warningsGlenn L McGrath2004-03-051-5/+7
|
* New applet, eject, by Peter WillisGlenn L McGrath2004-03-051-0/+164
|
* Close bracket in description from Peter Willis's eject appletGlenn L McGrath2004-03-051-1/+1
|
* Patch from Vernon Sauder.Glenn L McGrath2004-03-051-1/+1
| | | | | | The off_t type is not a consistent size; it depends on the kernel options (something about large file support). Therefore, the format string for printing an address is not always the same.
* Fix a compile error identiefied by Steven Scholz.Glenn L McGrath2004-03-031-1/+1
| | | | Declare variables first for compatability.