Denis Vlasenko | 2b75a94118b | ash: improve readability of the code. No real code changes. | | |
Denis Vlasenko | ef527f50e62 | ash: optional support for $'...\t...\n...' bashism
function old new ... | | |
Denis Vlasenko | a80d0e4bf70 | trim usage text | | |
Denis Vlasenko | 8124a96c349 | mdoprobe: fix SEGV bug (by Vlad Dronnikov) | | |
Denis Vlasenko | e3eae0d445a | vi: fix obvious thinko's | | |
Denis Vlasenko | 50b5cac59f5 | wget: accept code 204. | | |
Denis Vlasenko | 2a210e5df2a | vi: fix vda's breakage (by Cristian Ionescu-Idbohrn) | | |
Denis Vlasenko | b07a4962297 | ash: minor shrink (mostly smallints) and variable renaming
function old ... | | |
Denis Vlasenko | c87339d5848 | dpkg: trivial code shrinkage, and redo G trick correctly.
function old ... | | |
Denis Vlasenko | d235f58ac27 | dpkg: code shrink
dpkg: add documentation from bug 3644
function old ... | | |
Denis Vlasenko | 20273138fcd | dpkg: code shrink (by Peter Korsgaard <jacmet@uclibc.org>)
function old ... | | |
Denis Vlasenko | 3387538bbea | vi: small code shrink
function old new delta
file_insert ... | | |
Denis Vlasenko | b175946ba44 | vi: fix the bug where vi never grows the edit buffer.
vi: do G trick on it
function ... | | |
Denis Vlasenko | b67004b2ae9 | ssd: fix comment | | |
Denis Vlasenko | dd9c072846f | udhcpc: change BPF filter to not use 0xffffffff as a max packet size,
there are kernels which don't like big (negativ... | | |
Denis Vlasenko | 1363f0df150 | strrchr: actually, last one was finding "" in "any" at pos 0,
should find at pos LAST... | | |
Denis Vlasenko | d5736c56070 | strrchr: bikeshed painting time!
replace cubic running time implementation with quadratic
make embedded test actual... | | |
Denis Vlasenko | 9cd4c76b50b | ash: fix "shift BIGNUM" and "read with no variable name" bugs.
omg. hush testsuite helps to find bugs in ash! what n... | | |
Denis Vlasenko | 1ba323e5b69 | cosmetics in hush testsuites | | |
Denis Vlasenko | 324a3fdf87a | fix globbing in unquoted $* and $@ | | |
Denis Vlasenko | 4a689e9b49a | fix trivial error with inverted exit code in ls | | |
Denis Vlasenko | 55789c6646d | hush: fix a bug with backslashes improperly handled in unquoted variables.
with previous patch:
function ... | | |
Denis Vlasenko | ab876cd107f | hush: add testsuite for "no globbing in redirection" rule.
simplify redirection habdling | | |
Denis Vlasenko | 985de15bf3f | hush: expand quote3.tests and move from hush-bugs to hush-parsing | | |
Denis Vlasenko | c1c63b622df | hush: fix last hush-bugs testcase (disappearing "", $empty"" etc) | | |
Bernhard Reutner-Fischer | 4954d47ab01 | - fixes from Tito | | |
Bernhard Reutner-Fischer | 619b87dfa51 | - fix includes | | |
Denis Vlasenko | 16c2fea2803 | hush: fix $$ handling | | |
Bernhard Reutner-Fischer | 13436ea0dd2 | - improved strrstr impl from vda with testcases from Tito and vda | | |
Denis Vlasenko | 6eaf8deddd3 | hush: fix "for a in; do echo 'I should never run'; done" bug | | |
Bernhard Reutner-Fischer | b6926109b70 | - remove depmod from TODO, it was recently added.
Small touch up while at it | | |
Denis Vlasenko | 988339259fb | move glob_and_assign.tests from hush-bugs to hush-glob | | |
Denis Vlasenko | 30c9cc5b178 | hush: continue fixing quoting and subst: fix glob_and_assign.tests. | | |
Denis Vlasenko | c7985b76c51 | hush: cleanup pass, the biggest is - moved builtins to the end of the file,
they really annoy in the middle of parse... | | |
Denis Vlasenko | b61e13d2474 | hush: fix memory leak. it was actually rather invloved problem.
Now finally glob/variable expansion is done IN THE RI... | | |
Denis Vlasenko | ccce59d5622 | hush: fixing fallout from last big glob fix:
fix segfault; identify where we leak memory
function ... | | |
Denis Vlasenko | 32d8423e632 | hush: delete hush-bugs/glob_and_vars.tests for real | | |
Denis Vlasenko | 82dfec3e4e6 | hush: fix hush-bugs/glob_and_vars.tests testcase:
globbing is now done _after_ variable/`cmd` substitution
function... | | |
Denis Vlasenko | 31e12863653 | tftp: help compiler a bit | | |
Denis Vlasenko | 8474cd38f3c | tftpd: PXE server said to need to support "tsize" option
(by Pascal Bellard <pascal.bellard AT ads-lu.com>).
Condit... | | |
Denis Vlasenko | f45c4f41b79 | whitespace and comment fixes, no code changes | | |
Denis Vlasenko | 57c899e4c2b | even more of help text fixes | | |
Denis Vlasenko | 1dba30f2def | fix config help text | | |
Bernhard Reutner-Fischer | f54a088429a | - fix copy'n paste error.
thanks, vda! :) | | |
Denis Vlasenko | b4c5bf615e0 | Specially for Bernhard Fischer introduce USE_BB_CRYPT
which selects between libc/custom crypt routines. | | |
Denis Vlasenko | 5703c22a51a | hush: eliminate PARSEFLAG_SEMICOLON and ctx->parse_type field.
function ... | | |
Denis Vlasenko | ff7cd6f9250 | use USE_FEATURE_UDHCP_PORT instead of ifdef | | |
Denis Vlasenko | f716a6da9a8 | udhcpc: removing stray whitespace | | |
Denis Vlasenko | 5cdc247ba4e | further encrypt_des optimizations
function old new delta
pw_encryp... | | |
Denis Vlasenko | 04087c6bbd2 | cryptpw: fix "cryptpw -a des -- TEXT" case
libbb/pw_encrypt_des.c: optimize
function ... | | |
Denis Vlasenko | d50dda8c350 | *: use llist_pop for traverse-and-free list operation
function old n... | | |
Denis Vlasenko | 873b895d50d | udhcpc: reduce ifdef forest, no code changes | | |
Denis Vlasenko | e235285c3a3 | crypt: code shrink
function old new delta
des_crypt ... | | |
Denis Vlasenko | 7a762f9dbf8 | tar: fix "unused parameter 'gzip'" warning | | |
Denis Vlasenko | f8d01d3f66d | hush: fix a bug where we were requiring semicolon here: (cmd;)
also fix a bug where after error prompt is not shown.... | | |
Denis Vlasenko | dd316dd2837 | hush: add support for ':'; create testsuite entries
text data bss dec hex filename
809569 612... | | |
Denis Vlasenko | a84420062a1 | hush: support "! cmd | cmd" negation
function old new delta
done_w... | | |
Denis Vlasenko | 6108dc4df61 | Update sponsors page as well | | |
Denis Vlasenko | 29038c06d69 | ash: small cosmetic change | | |
Denis Vlasenko | 2659c63213f | ash: fix ${var/s/r} handling, add testcase. | | |
Denis Vlasenko | a1767a1f5d7 | dos2unix: do not destroy symlinks and mode of the file being converted. | | |
Denis Vlasenko | 21765fa0638 | udhcpc: kill undocumented -W, it was a no-op.
fix option parsing in the case some CONFIG_x are off.
disable -b on N... | | |
Denis Vlasenko | 76f812803b7 | trivial crypt shrinkage
function old new delta
__md5_to64 ... | | |
Denis Vlasenko | aa9cd89c67a | fix typo in "Analog Devices" | | |
Denis Vlasenko | 7504f2f5d23 | httpd: fix authentication | | |
Denis Vlasenko | e773be0428f | shorten sponsor's link per its request | | |
Denis Vlasenko | eee4f55a65f | website: announce sponsors. | | |
Denis Vlasenko | c7497ea31b8 | build system: introduce FEATURE_ASSUME_UNICODE
ls: use it. also do G trick. with UNICODE off:
function ... | | |
Denis Vlasenko | 25b463079d9 | httpd: fix bugs in authentication (by Peter Korsgaard <jacmet ATuclibc.org>)
we were accepting empty username; also ... | | |
Denis Vlasenko | 0eb406caa85 | htppd: lots of variable/function renaming in config file parsing.
fixed a bug where we trashed config file's name;
ot... | | |
Denis Vlasenko | bd8390a872a | Reinstate DEBUG_PESSIMIZE (by Christian Ionescu-Idbohrn) | | |
Denis Vlasenko | fdddab0c61c | make pw_encrypt() return malloc'ed string.
text data bss dec hex filename
759802 604 6684 ... | | |
Denis Vlasenko | 4ea83bf562c | uclibc insists on having 70k static buffer for crypt.
For bbox it's not acceptable. Roll our own des and md5 crypt
im... | | |
Bernhard Reutner-Fischer | 9de46220554 | - make the first arg of the filter function passed to rtnl_dump_filter constant
to match normal iproute. No obj-cod... | | |
Denis Vlasenko | 7e3d33b6ce3 | hush: speed up o_addX{chr,str}
function old new delta
o_addQstr ... | | |
Denis Vlasenko | 76db5adbf70 | hush: fix for nested $()s with escapes + testsuite | | |
Denis Vlasenko | bd1aeeb850e | logger: "clean up" a dirty hack a bit | | |
Denis Vlasenko | 87f40bac149 | hush: more backtick and quoting fixes... | | |
Denis Vlasenko | 43360e51781 | hush: fix escaping of \[*?; add testsuites for these and for globbing | | |
Denis Vlasenko | 2e76c3f9016 | hush: fix yet another fallout
hush: move fixed testsuites out of hush-bugs/* | | |
Denis Vlasenko | 895bea23032 | hush: fix some fallout from prev commits, add testsuite | | |
Denis Vlasenko | 46ccdcb96ea | hush: search/and/replace style cleanups, no code changes | | |
Denis Vlasenko | 7b4f3f13d30 | hush: fix two nasty bugs:
hush-bugs/tick2.tests: ok
hush-bugs/tick.tests: ok
function ... | | |
Denis Vlasenko | 76d50418b37 | hush: fix a memory leak in NOMMU case | | |
Denis Vlasenko | 3fe4f986a05 | less: fix a case when regexp matches ""
hush: remove wrong comment, expand another one | | |
Mike Frysinger | 98a6f56d495 | reword the error msg so people realize that they broke it, they buy it | | |
Denis Vlasenko | 598bb732e86 | cosmetics | | |
Denis Vlasenko | 2d0529c9bc0 | msh_function.patch: picked it up in the wild.
Fixed allocation bugs (it was allocating
one too small vectors) but it ... | | |
Denis Vlasenko | ed9d621cf48 | msh: style cleanups. No code changes. | | |
Denis Vlasenko | f2cccbce370 | mktemp: make default tempfile template shorter;
make help text more understandable | | |
Denis Vlasenko | b8c9354114f | hush: add yet another bug to testsuite :( | | |
Denis Vlasenko | 048897c9712 | ifenslave: small shrink
text data bss dec hex filename
809731 624 7060 817415 c7907 busy... | | |
Denis Vlasenko | 52a8d975da9 | ip: make numeric table work: "ip route list table 255". closes bug 3664.
function ... | | |
Denis Vlasenko | b597564e4c1 | ifenslave: tiny shrink
text data bss dec hex filename
2221 0 0 2221 8ad busy... | | |
Denis Vlasenko | 09c0a749a12 | define CLOCK_MONOTONIC to 1 if it is not defined | | |
Denis Vlasenko | c8fa04f9b16 | ifenslave: further shrink by suppressing excessive inlining
ifenslave: reorder functions to avoid forward declaration... | | |
Denis Vlasenko | 0876822ded1 | ifenslave: fix improper longopts definition
ifenslave: shrink
function o... | | |
Denis Vlasenko | dd6f570fa39 | add libbb/print_flags.c... | | |
Denis Vlasenko | 53354ac47df | libbb: introduce and use print_flags().
Mostly by Natanael Copa <natanael.copa AT gmail.com>
function ... | | |
Denis Vlasenko | f0d6c255860 | Update a link to cross-compiling HOWTO. | | |
Denis Vlasenko | c0cd9f29d21 | Fix trivial problems: "make clean" cleaning too much
and add #include to pull in __be32 typedef. | | |
Denis Vlasenko | a05c0716c25 | grep: make "-f -" work (+ testsuite)
diff: small code shrink
function ol... | | |
Denis Vlasenko | 401de648a79 | Build system: track -Wl,-elf2flt in CFLAGS_busybox too.
Document in comments that it generally should be thers,
not i... | | |
Denis Vlasenko | 7bdf0c82da3 | klogd: make help text more understandable
klogd: by using a register instead of global variable, shrink code a bit
f... | | |
Bernhard Reutner-Fischer | 797c96d8ce8 | - fix compilation on standard-conforming compilers | | |
Bernhard Reutner-Fischer | 593f8baeb02 | - fix copy'n paste error for the release date | | |
Denis Vlasenko | 9b6f4aa8e80 | ip: support for the LOWER_UP flag by Natanael Copa <natanael.copa@gmail.com>.
~50 bytes code growth. | | |
Denis Vlasenko | f592aa36f33 | which: -a support (needed for bfin uclibc build script)
real support (with CONFIG_DESKTOP=y): 120+ bytes:
text ... | | |
Bernhard Reutner-Fischer | f0d6068086b | - The conffiles control file isn't required in Debian packages, so don't
error out if it's missing. (Peter Korsgaard) | | |
Denis Vlasenko | c05b1684a0b | mktemp: make argument optional (coreutil 6.12 compat)
function old n... | | |
Denis Vlasenko | 66d56c565e4 | ash testsuite: modify it so that it can run hush and msh tests | | |
Denis Vlasenko | 50120dab4e7 | added testsuite for printf by Cristian Ionescu-Idbohrn | | |
Denis Vlasenko | 7d60fc1c0a9 | replace single-char printf's with bb_putchar | | |
Denis Vlasenko | bedfabd500b | libiproute: use stdout directly instead of passing it as a parameter
function ... | | |
Denis Vlasenko | b6fe10091d1 | announce 1.10.3 | | |
Denis Vlasenko | 49b78fc1a8f | Apply post-1.10.2 fixes, bump version to 1.10.3 | | |
Denis Vlasenko | e7860e358e0 | config help text: fix capitalization | | |
Denis Vlasenko | 1a9bbfb96f0 | remove -fno-jump-tables - after stripping it proved to be worse | | |
Denis Vlasenko | 1da86d2f40f | build system: add PIE build option | | |
Mike Frysinger | 1e93f3c5859 | change default rtcwake mode to match changed behavior in upstream util-linux | | |
Denis Vlasenko | 3b162ecdf69 | networking/interface.c: fix indentation | | |
Denis Vlasenko | 630a7f75e83 | Remove stray debug instrumentation | | |
Mike Frysinger | 85571d8d01a | make the help for rtcwake reflect the actual default behavior | | |
Bernhard Reutner-Fischer | 6075b2aee08 | - add FIXME. Perhaps somebody is interrested in looking into this one.
We would try to be clever and compare the *d... | | |
Bernhard Reutner-Fischer | c2741e1f72d | - add alias support | | |
Bernhard Reutner-Fischer | ef729dd90c7 | - revert revision 22183 since it breaks -b /abs /abs/path/to/mod.ko | | |
Bernhard Reutner-Fischer | d42816763f2 | - just chdir to the basedir (-30b). | | |
Bernhard Reutner-Fischer | beac1bd58e2 | - optional fancy pruning-mode for depmod | | |
Bernhard Reutner-Fischer | 9af7aba5791 | - pm_states[PM_SUSPEND_MAX] suggests to support "standby" and not "suspend"
Thanks to Paulius Zaleckas for mentioni... | | |
Denis Vlasenko | b8e653bfbfe | Reinstate CONFIG_CROSS_COMPILE_PREFIX | | |
Denis Vlasenko | cd2663f15e7 | ash: optional printf builtin. +25 bytes if off, +35 if on.
by Cristian Ionescu-Idbohrn. | | |
Denis Vlasenko | d78920675f3 | msh: fix ENOENT testcase | | |
Bernhard Reutner-Fischer | 62d85035895 | - use ut_user rather than ut_name (Cristian Ionescu-Idbohrn)
- use ut_tv.tv_sec rather than ut_time (me)
- shrink hal... | | |
Bernhard Reutner-Fischer | e0fd13e9012 | - shrink modprobe a little bit (~-40 bytes). ACKed by Yann. | | |
Denis Vlasenko | a76669c5956 | printf: fix a trivial bug | | |
Denis Vlasenko | f4e6bd0bf3c | mdev: add commented-out debug code to open stdio. | | |
Denis Vlasenko | 1d1bba4e99f | printf: code shrink by eliminating string alloc/copy
function old ne... | | |
Denis Vlasenko | d12fcc20dac | libiproute: fix option parsing, so that "ip -o link" works again.
closes bug 3524 | | |
Denis Vlasenko | 3e57adb7319 | libiproute: style fixes, and using smallint as appropriate
function old ... | | |
Denis Vlasenko | 8f74094548a | runsvdir: make it more robust against libc buglets (errno accidentally set to !0)
closes bug 3514
function ... | | |
Denis Vlasenko | 447bd668372 | msh: fix the case where the file has exec bit but can't be run directly
(run "$SHELL $file" instead)
msh: fix ex... | | |
Bernhard Reutner-Fischer | f9a07841441 | - add FIXME to use hasmntopt() | | |
Bernhard Reutner-Fischer | db508e3b822 | - fix overflow; improve documentation while at it | | |
Denis Vlasenko | cd9d4c85a41 | fuser: a now, the corrected fix (vda botched previous one) | | |
Bernhard Reutner-Fischer | 634b0221088 | - misc. improvements and shrinkage | | |
Bernhard Reutner-Fischer | 17282292c22 | - add strrchr | | |
Denis Vlasenko | 5de8a13b088 | fiser: opendir "/proc", not "." (by Cristian Ionescu-Idbohrn) | | |
Denis Vlasenko | ea9f7a6a7fb | find: beautify config prompts a bit | | |
Denis Vlasenko | 417e240abb0 | Remove 'busybox' word from configuration programs
(based on experience of adapting it to uclibc). | | |
Bernhard Reutner-Fischer | 10be1a787f0 | - move depmod shell script to examples/ | | |
Bernhard Reutner-Fischer | c21d9c72907 | - the moddir_base is supposed to be omitted frmo the .dep file
- other tweaks while at it | | |
Bernhard Reutner-Fischer | 1510216a555 | - Spaghetti alert. Fix clash with ancient fwd-decl. This is an unfortunate
combination of linux not providing a use... | | |
Bernhard Reutner-Fischer | 55fb9da5b83 | - remove duplicate helptext of dhcprelay and improve it | | |
Bernhard Reutner-Fischer | b85fb693c14 | - Add config option for DEFAULT_DEPMOD_FILE and DEFAULT_DEPMOD_FILE.
No obj-code changes. | | |
Bernhard Reutner-Fischer | 4fec3469668 | - use (uC)libc functions. Saves a dozen bytes. | | |
Bernhard Reutner-Fischer | 9cf0f62b157 | vda, xmalloc'ing can use *alot* of RAM. Don't forget that there are
modules out there that are half a megabyte! mm... | | |
Bernhard Reutner-Fischer | 94748300062 | - improve help-text | | |
Bernhard Reutner-Fischer | 1ea25684694 | - improve option-handling a bit | | |
Denis Vlasenko | 7a5f494cabc | scripts: add a script which prints memory map of running busybox | | |
Denis Vlasenko | c47e8978feb | scripts: add primitive memory usage meter script | | |
Denis Vlasenko | fc9e1080320 | udhcpc: shrink
udhcpc: guard against zero lease time
function old ne... | | |
Bernhard Reutner-Fischer | 6bb55cfb990 | - add basic option-handling (+220b). Untested | | |
Bernhard Reutner-Fischer | cf18010ca96 | - use mmap instead of allocating hundreds of megabytes of RAM. +39b | | |
Bernhard Reutner-Fischer | dc5d7fec350 | - remove some bloat -28b: now approx. 501b | | |
Bernhard Reutner-Fischer | 423465cd5e6 | - switch to FILE base writer and remove now unneeded stuff. -50b | | |
Bernhard Reutner-Fischer | 55e547eb6fa | - add simple first-draft unoptimized depmod just to proove Vladimir Dronnikov wrong
text data bss dec ... | | |
Denis Vlasenko | a0e17f7df6d | [u]mount: add/update dietlibc build fix | | |
Denis Vlasenko | b267ed95bc8 | lineedit: correctly handle prompt longer than screen width. closes bug 3414 | | |
Denis Vlasenko | 4830fc565ac | hush: make it ignore SIGINT etc in a config wich has no job control | | |
Denis Vlasenko | af6cca50afb | move setgroups definition to libbb.h so that it no longer inadvertently
get hidden attribute | | |
Denis Vlasenko | 30f892a0ee3 | last: code shrink
function old new delta
show_entry ... | | |
Denis Vlasenko | 69dc3253972 | syslogd: do not error out on missing files to rotate. closes bug 3404. | | |
Denis Vlasenko | bd23fbbd0a0 | docs/depmod: and example of depmod in shell/sed/awk... | | |
Denis Vlasenko | 8e2c9e1518d | inotify: new applet by Vladimir Dronnikov <dronnikov AT gmail.com>
function ... | | |
Denis Vlasenko | e94a87134d2 | mdev: fix counting of '%' in pattern | | |
Denis Vlasenko | ff9234948ea | mdev: fix whitespace damage | | |
Bernhard Reutner-Fischer | cf575ca8561 | - optionally pass additional flags down to nm | | |
Bernhard Reutner-Fischer | 61082ec1ccc | - not sure but i may have had the shutdown-time wrong and no records to verify | | |
Bernhard Reutner-Fischer | 69d5ba2f952 | - untangle the implementation of the small and huge last applets | | |
Denis Vlasenko | a959a2abdd5 | mdev: suppress "may be used uninitialized" warning | | |
Denis Vlasenko | 4801441e9a3 | mdev: add support for "only rename" option in mdev.conf | | |
Denis Vlasenko | e9b76e1f1e3 | dnsd: fixes various segfaults.
One was a lib api change that was not updated and another
is a stack buffer overflow.
... | | |
Denis Vlasenko | ae84b11467c | modprobe: fix for blacklisting
The patch makes the order of the alias/blacklist in modprobe.conf
irrelevant (like m... | | |
Denis Vlasenko | dfd8282464c | last: make its output more like "standard" last (aka "fancy last").
The main difference is that LOGIN lines are still... | | |
Denis Vlasenko | 7b3863986db | last: trim format string a bit | | |
Denis Vlasenko | b22a8059cb8 | last: trim help text | | |
Denis Vlasenko | 869d3d318ff | last: optional alternative sysv-like implementation
(by Patricia Muscalu <patricia.muscalu AT axis.com>)
function ... | | |
Bernhard Reutner-Fischer | 7bd8d8fd264 | - make Christian happy | | |
Next → |