fli4l
  1. fli4l

busybox

Public
AuthorCommitMessageCommit dateIssues
Eric AndersenEric Andersen
674b08a6b8cFix it so usage is _always_ in sync with applets.c. Previously,broken depends allowed these to get out of sync.
Eric AndersenEric Andersen
7e496a71cfeMichael Tokarev, mjt at tls dot msk dot ru writes:Fix parsing of all tag-value pairs (in modules.conf in particular). Without this fix, code chokes badly on lines where either value or both tag+value are missing, like bare alias line, or alias w/o the value like alias some-module (syntactically incorrect, but no need for coredumps either).
Eric AndersenEric Andersen
d298bd1d513Michael Tokarev, mjt at tls dot msk dot ru writes:alias 'off' parsing fix. It is not alias off module it is alias module off
Eric AndersenEric Andersen
ba05e79815dMichael Tokarev, mjt at tls dot msk dot ru writes:Initialize all fields of struct dep_t. Without that, e.g. `busybox modprobe -v char-major-10-144' *sometimes* fails this way (strace): write(1, "insmod nvram `\213\f\10\n", 21) = 21 Note the garbage after module name which is taken from the m_options field, which is not initialized in the alias reading/parsing part. (Shell properly complains to this command, telling it can't find the clos...
Eric AndersenEric Andersen
3f47c453daaChristian Grigis, christian.grigis at smartdata dot ch writes:Hello everyone, Busybox's insmod fails to locate a module when that module is the only one existing in the /lib/modules directory (with a unique name). Example: # find /lib/modules/ -type f /lib/modules/kernel/drivers/char/bios.o # insmod bios insmod: bios.o: no module by that name found # touch /lib/modules/dummy # find /lib/modules/ -type f /lib/modules/kernel/drivers/char/bios.o /lib/modu...
Eric AndersenEric Andersen
b07ae7ba106Yet more 'make allyesconfig' adjustments
Eric AndersenEric Andersen
8ee6943d3e6Make 'allyesconfig' be a bit less stupid
Eric AndersenEric Andersen
5c1ee519ea0Minor tar test update
Eric AndersenEric Andersen
ba9b22a8ccdSimplify, make formatting better match the procps version
Eric AndersenEric Andersen
650fe63467eKill off the old 'tests' stuff. Write a ton of new tests for the'testsuite' dir. Fix a bunch of broken tests. Fix the testsuite 'runtest' script so it actually reports all failures and provides meaningful feedback. -Erik
Eric AndersenEric Andersen
39396b95fc7Fix non standard 'date -R' formatting
Eric AndersenEric Andersen
c354f6ee54cFix the test suite script so it actually works and actually flagsall errors as such. Make verbose mode exit on FAIL and provide a printout of the failed test run.
Eric AndersenEric Andersen
b2e267f1538Some test additions
Eric AndersenEric Andersen
18751cd4a2fPatch adding support for ibs= and obs= to dd
Eric AndersenEric Andersen
009617f4139Per suggestion by Pawel Sakowski, fix the dash_arith() prototypeto return a long. We were needlessly truncating to an int.
Eric AndersenEric Andersen
b2aa776f891Tito, farmatito at tiscali dot it writes:Hi to all, I discovered a little bug in hdparm.c (really two little bugs...I've made...sigh! Mea culpa). Some vars were modified only locally and this could lead to wrong results to be displayed with the -I switch and maybe with others. Attached is a patch that fix it ( +88b). Also attached is second patch that reduces the size a little bit: text data bss dec hex filename ...
Eric AndersenEric Andersen
762c64fdf1arename uncompress.c to decompress_uncompress.crename unzip.c to decompress_unzip.c
Eric AndersenEric Andersen
522a2f3b395Everything should be made as simple as possible. But no simpler.
Rob LandleyRob Landley
25d82397f76The last patch broke: sed -i "/^boo/a fred" ipsec.confWhich works in gnu sed. (And is _supposed_ to strip all the whitespace before "fred".) It also broke: sed -i -e "/^boo/a \\" -e " fred" ipsec.conf I.E. there can legally be spaces between the a and the backslash at the end of the line. And strangely enough, gnu sed accepts the following syntax as well: sed -i "/^boo/a \\ fred" ipsec.conf Which is a way of having the significant whitespa...
Eric AndersenEric Andersen
0b5bf45d325Patch from Hideki IWAMOTO adding support for 'cmp -n'
Eric AndersenEric Andersen
46390ed829dJunio Hamano, junio at twinsun dot com writes:The sed command in busybox 1.0.0-pre8 loses leading whitespace in 'a' command ('i' and 'c' commands are also affected). A patch to fix this is attached at the end of this message. The following is a transcript that reproduces the problem. The first run uses busybox 1.0.0-pre3 as "/bin/sed" command, which gets the expected result. Later in the test, /bin/sed symlink is changed to point at bu...
Eric AndersenEric Andersen
c11a6a887b8Patch from Thomas Winkler:ifconfig did not look up hostnames, so ifconfig lo localhost would not work, you have to do ifconfig lo 127.0.0.1
Eric AndersenEric Andersen
11e5516d675Patch from Thomas Winkler showing the the system time for each processwhen running 'top'
Eric AndersenEric Andersen
90fb65f7a60Patch from Thomas Winkler -- vi -R did not work
Eric AndersenEric Andersen
bbbbcfef24aSigh. what a mess.
Eric AndersenEric Andersen
0a92f357022As waldi noticed, checks for the size of an off_t and castingetc was also redundant and possibly buggy...
Eric AndersenEric Andersen
259cf97803dGo ahead and kill off the FDISK_SUPPORT_LARGE_DISKS option,as it is redundant....
Eric AndersenEric Andersen
1236631700bThe fdisk llseek junk was redundant, since both uClibc and glibcautomatically promote lseek and friends to their 64 bit counterparts when CONFIG_LFS is enabled, since it enables __USE_FILE_OFFSET64
Eric AndersenEric Andersen
75eb90f2888As noted by Martin Schwenke, the example for find was wrong
Eric AndersenEric Andersen
38748fddf3fYet more doc cleanups
Eric AndersenEric Andersen
8ee2b27f0c8Add missing include files
Eric AndersenEric Andersen
ea9bcda3730passwd and sulogin also need libcrypt, via libbb/pw_encrypt()
Eric AndersenEric Andersen
70060d25d23s/fileno\(stdin\)/STDIN_FILENO/gs/fileno\(stdout\)/STDOUT_FILENO/g
Eric AndersenEric Andersen
edd580a088fVladimir N. Oleynik (vodz) writes: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_disp...
Eric AndersenEric Andersen
fbcf06d2960Update docs
Eric AndersenEric Andersen
97310d02539Brian Pomerantz writes: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....
Robert GrieblRobert Griebl
6bb80870b83Some corrections from vodz:- Make -u/-l mutually exclusive - Minor size reduction
Robert GrieblRobert Griebl
c8685ead577The utc variable was not modified according to the -u/-l command lineparameters.
Eric AndersenEric Andersen
bfb51574ae1Tito noticed a printf that should have been a bb_error_msg.
Manuel Novoa IIIManuel Novoa III
539fa95e0d3Oops..got a bit to aggressive with size optimization and global replace. :-(
Eric AndersenEric Andersen
1daa0c60971As noted in a patch from Kendrick Hamilton, rmmod was onlyhalf way converted, and still used the old delete_module(), call rather than a syscall, in one spot.
Eric AndersenEric Andersen
9e458f5b7a3Add missing ELFCLASSM for m68k
Eric AndersenEric Andersen
16451a07b44Only use R_68K_GOTOFF if it is defined
Eric AndersenEric Andersen
06d4ec2a4b9Fix broken arg parsing (was not passing pointer to items so p, argc, and argvwere only modified locally). Fix error reporting to properly describe why ioctls fail.
Eric AndersenEric Andersen
16767e23772Patch from vodz to fix the dynamic vars patch, which I should not 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 ...
Eric AndersenEric Andersen
ca65ca7d450Oops. Using the wrong variable was a rather stupidthing for me to do.
Eric AndersenEric Andersen
c7bda1ce659Remove trailing whitespace. Update copyright to include 2004.
Manuel Novoa IIIManuel Novoa III
8854004b410I redid route.
Eric AndersenEric Andersen
63a1a7aaa52Update docs for start_stop_daemon to match reality. Updatethe reality a bit to better match debian behavior.
Eric AndersenEric Andersen
55c704c119cFix some doc generation problems