Denis Vlasenko | 834410a5a56 | getopt32-ification of fdisk | | |
Denis Vlasenko | c61852a02bd | fix support for globally disabling --long-options.
(disabling them saves ~4K on fully configured bbox) | | |
Denis Vlasenko | 601ae1378ba | od: sometime ago I landed BIG od implementation
from coreutils. My fault. This commit contains
cleanups and size redu... | | |
Denis Vlasenko | df38188367a | fix bug in new str -> num convertors | | |
Denis Vlasenko | 7df69b887ad | usage: fix few help texts, fix breakage: '\<tab>'
sequence utterly confused cpp :) | | |
Denis Vlasenko | c2f5b022933 | udhcpc: fix my breakage | | |
Denis Vlasenko | 1fffe38e01e | fix udhcpc help message, take steps to make usage.h less messy | | |
Denis Vlasenko | 229b3d20721 | do not overflow ifr_name. maybe it was safe in some places,
but not everywhere. err to the safe side. | | |
Denis Vlasenko | e2d3ded3549 | udhcpc: convert to getopt32 | | |
Denis Vlasenko | 30d7a346e68 | tar: fix misplaced --exclude long option definition | | |
Denis Vlasenko | 5e90e106474 | Closing bug 1040:
The "quiet" option is quietly (hah) ignored. It should be passed through
to the mount() syscall in ... | | |
Denis Vlasenko | f1a6c6b362c | erase_mtab: do not limit ourself to 40 mtab entries | | |
Denis Vlasenko | 097c324f59e | fix remaining survivors of the return(a) cleanup | | |
Denis Vlasenko | d9e15f20684 | style cleanup: return(a) -> return a, part 2 | | |
Denis Vlasenko | 079f8afa0a1 | style cleanup: return(a) -> return a, part 1 | | |
Denis Vlasenko | 10d0d4eec7e | byteswap ops had extra mask ops - removed | | |
Denis Vlasenko | 3ece72dc3f9 | svn add bb_strtonum.c :( | | |
Denis Vlasenko | 459903bd4e2 | Provide our own isdigit macro. saves more than 400 bytes. | | |
Denis Vlasenko | d686a045c81 | safe_strtoXX interface proved to be a bit unconvenient.
Remove it, introduce saner bb_strtoXX.
Saved ~350 bytes. | | |
Bernhard Reutner-Fischer | 8a0a83d503a | - minor shrinkage
text data bss dec hex filename
773 0 80 853 355 vlock.o.or... | | |
Denis Vlasenko | 2813ce2aad3 | ifconfig: do not try to continue on errors. not much sence in doing that
IMHO, but requires extra code. | | |
Denis Vlasenko | a7b2c41e035 | deluser: the same code, but a bit less obfuscated. | | |
Denis Vlasenko | c9bb67787a0 | deluser: size reduction by 60 bytes.
patch from Tito <farmatito@tiscali.it> | | |
Denis Vlasenko | bf11e8942d3 | added gcc flag which is needed for ULLONG_MAX to appear
on Tito's box | | |
Denis Vlasenko | e5667c1cfe3 | Closing bug 730. libbb run_parts is using scandir (a GNUism),
and it is used only by run_parts applet, so move it the... | | |
Denis Vlasenko | ec0c920a788 | added small doc about tar 'pax header' format | | |
Denis Vlasenko | 664733f1a3c | sort: two small optimizations | | |
Denis Vlasenko | 0d42ddff703 | sort: reformat entire file wrt style.
fix single obvious bug: right hand was 0 here:
flags & (FLAG_b&FLAG_d&FLAG_f&F... | | |
Denis Vlasenko | cf749bc10c9 | small fixes:
fix xstrdup to not grossly overallocate memory
use xopen instean of xopen3 in several places
etc. | | |
Denis Vlasenko | c1660fea6da | tar: refuse to untar files with "/../" components | | |
Denis Vlasenko | b5963358684 | tar: correctly skip (and warn about) pax headers.
plug memory leak. save 50 bytes.
Wooohooo! we finally can unpack ke... | | |
Denis Vlasenko | 7725d0ff5c3 | tar: add support for FEATURE_TAR_GNU_EXTENSIONS so than we can save
long names now. We were able to read such tars, b... | | |
Denis Vlasenko | 2d27e4ccbbc | tee: fix bug: argv[-1] is a no-no!
bb_full_fd_action: optimize
die_if_ferror: "<applet>: filename" isn't a good err m... | | |
Denis Vlasenko | 87cd4a87e3f | tar: small fix and small optimization | | |
Denis Vlasenko | 43bddf31e95 | small improvements in str -> num convertors | | |
Denis Vlasenko | f2408e6c3ff | tar: abort if tarring up file larger that 64Gb
(otherwise we will produce garbled tarfile) | | |
Denis Vlasenko | 5dd27b1ee05 | dd: support >2gb values for seek, skip, count | | |
Denis Vlasenko | ed836cdc306 | regularize str -> num convertors | | |
Denis Vlasenko | 809a6e31044 | small optimization | | |
Denis Vlasenko | 3feb2fc535d | tar: fix multiple -t and/or -v options handling.
do not process list of files to tar up in reverse order. | | |
Denis Vlasenko | d031ffa6232 | tar: sanitize option handling | | |
Denis Vlasenko | b833ca9d2d7 | tar: buglet fix | | |
Denis Vlasenko | d6772501db4 | tar: fix and sanitize handling of long filenames/linknames
(GNU extensions 'K' and 'L').
We correctly handle them whe... | | |
Denis Vlasenko | d398ecab9d6 | hunt down improper include <>, make mkswap output 4Gb+ friendly | | |
Denis Vlasenko | 8023d7df788 | svn add makedev.c. Forgot as usual... :( | | |
Denis Vlasenko | b8a8e601df9 | tar: small fixes:
* size-optimize mapping code
* kill double close | | |
Denis Vlasenko | c50f370f98e | tar: cache [ug]id->username/groupname mappings. Cuts down amount
of open/read/close of /etc/passwd and /etc/group
dra... | | |
Denis Vlasenko | 4fbb584a0e6 | tar: cry murder and bail out if file shrinks under us while we tar it up | | |
Denis Vlasenko | 0b35470d9b5 | glibc makedev() is a large inline. Save 700+ bytes by wrapping it
into a function. | | |
Denis Vlasenko | cf30cc82a34 | header_verbose_list: stop truncating file size in listing | | |
Denis Vlasenko | 376ce1e775a | tar:
* unpack: handle tar header fields which are not NUL terminated
* pack: handle 4+GB files correctly
* pack: refu... | | |
Denis Vlasenko | 14621929a19 | md5sum: make -c grok formats like "68b329da9893e34099c7d8ad5cb9c940 *foo".
Also eradicate 95 bytes of bloat. | | |
Denis Vlasenko | a741b778fec | ifupdown:
ifconfig said to set iface up before it processes hw %hwaddress%,
which then of course fails. Thus we run t... | | |
Denis Vlasenko | 93ad1c2385b | ifupdown: save some 100+ bytes of code in addstr() | | |
Denis Vlasenko | 4e4662cc73b | wget: -O - still outputs progressbar (to stderr)
Noticed dead code. -100 bytes. | | |
Denis Vlasenko | c90c3f30a89 | add "wpad" DHCP option. Spotted some optimization opportunities: -80 bytes | | |
Denis Vlasenko | 48237b0c883 | introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd),
use them where appropriate. 200 bytes saved | | |
Bernhard Reutner-Fischer | b40bdb383a6 | - add FIXME to brokenness in the installer.. | | |
Bernhard Reutner-Fischer | 7627cc14544 | - fix typo | | |
Denis Vlasenko | 81e264d4af1 | fix double merge | | |
Bernhard Reutner-Fischer | be2f9f7fe07 | - update TODOs | | |
Bernhard Reutner-Fischer | 32eddffa305 | - revert r15563 (pull current version of taskset off the busybox_scratch branch) | | |
Denis Vlasenko | c8717cd8571 | telnetd: move generic stuff into libbb. It will make it easy
to make other server applets IPv6-aware too. | | |
Denis Vlasenko | 0801ef28ca6 | telnetd: if FEATURE_IPV6 is on, telnet will NOT work on IPv4
which is kind of stupid | | |
Denis Vlasenko | 75f8d080a28 | telnetd: we were having telnetd with is ONLY inetd or ONLY standalone.
What if I need to have both?? This patch intro... | | |
Bernhard Reutner-Fischer | d6bbf99a8b1 | - reinstate "make checkhelp" | | |
Denis Vlasenko | aad4999eea8 | #if HAVE_AFINET6 -> #ifdef HAVE_AFINET6 | | |
Denis Vlasenko | 428f7ae6e28 | httpd: comment on QUERY_STRING | | |
Denis Vlasenko | 8b45837b4c0 | httpd: add link to docs | | |
Denis Vlasenko | 5e618ff4393 | xgethostbyname: more readable | | |
Denis Vlasenko | 7ca3921e5e8 | bb_INET_default[] is really just a const "default",
nothing INET-specific | | |
Denis Vlasenko | 5096246ffb2 | ifconfig: looks like char host[128] is not really needed. | | |
Denis Vlasenko | f8c8bb11600 | wget: yet another contortion for proftpd's PASV response. | | |
Bernhard Reutner-Fischer | 921f5df25fd | - add 'ip rule' support. First take..
text data bss dec hex filename
2999 0 0 299... | | |
Denis Vlasenko | 04b30ba3b88 | ifconfig: preparatory patch, no code changes | | |
Denis Vlasenko | 3aa2d51cd66 | insmod: set STRVERSIONLEN = 64, convert #ifdef CONFIG to #if ENABLE,
stop using CONFIG_ prefix for non-config-system ... | | |
Denis Vlasenko | 9229794ab33 | insmod_ng_main: -80 bytes. Stopp mmapping, use xmalloc_open_read_close(). | | |
Bernhard Reutner-Fischer | a8381948da7 | - style fixes | | |
Denis Vlasenko | 1288722f3ea | wget: add TODO | | |
Denis Vlasenko | 40f62a8c3de | wget: fix ftp PASV mode ("numeric" check was too strict) | | |
Bernhard Reutner-Fischer | 3e7ef7ead43 | - update defconfig | | |
Denis Vlasenko | 9cade089170 | wget: reduce likelihood of ETA overflow (especially with !LFS) | | |
Denis Vlasenko | 04291bc5aee | httpd: slight reduction of #ifdef forest
few other applets: #ifdef CONFIG_ -> #if ENABLE_
traceroute: fix exposed bug... | | |
Denis Vlasenko | 3eb91c2e359 | cpio: (allegedly) fix bug 0001095:
"cpio hardlink support and possible memory leak fix" | | |
Denis Vlasenko | 5d148e26468 | httpd: fix cgi-bin/index.cgi support, add example of it,
stat: fix end-of-line if format is specified (wasn't printin... | | |
Denis Vlasenko | fcdb00f7359 | httpd: LC_TIME locale _must_ be POSIX to httpd! We speak over the net! | | |
Denis Vlasenko | 6c85ddc8509 | httpd: add support for directory indexer (cgi-bin/index.cgi) | | |
Denis Vlasenko | a3ee69fa6cc | httpd: get rid of big, useless blocks (deindent,
bring code under 80 columns) | | |
Denis Vlasenko | 0bb993f39b9 | httpd: More robust Content-length: parsing,
code reorganization (less indented) | | |
Denis Vlasenko | 736230e2098 | dhcprelay: new applet | | |
Denis Vlasenko | c9cdeaa3fef | add compile-time check for correct DHCP packet size | | |
Denis Vlasenko | 4a5cf16a368 | login: use %s - we know that string is not too long there
ping[6]: use getopt32: smaller (-50 bytes) and handles -c6 ... | | |
Denis Vlasenko | 6a353c81587 | mount: if FILE* is NULL, it's not wise to use it. | | |
Denis Vlasenko | 83edaf3fd67 | svlogd: log full lines to stderr too, and also stop using stdio for that | | |
Denis Vlasenko | 22dcd04f8f9 | mkdir: style fix | | |
Denis Vlasenko | 89f0b3486df | rodata cleanup. "unable to" == "cannot". -300 bytes | | |
Denis Vlasenko | 61126ab30a9 | small fixes: using fd-based io instead of FILE*-based,
missed O_TRUNC, etc | | |
Denis Vlasenko | 5a3395bc01c | udhcp: fix indentation and style.
Eliminate (group) a lot of smallish *.h files
Remove lots of unneeded #includes | | |
Denis Vlasenko | abfc4cf6d8b | Add names of people historically linked to bbox project | | |
Denis Vlasenko | f7eaccde13e | nc: fix --help text | | |
Denis Vlasenko | a7189f01a4a | add -Wundef, fix uncovered bugs | | |
Denis Vlasenko | 04c6386c45c | forgot about avn add... :( | | |
Denis Vlasenko | 8a00f44bf46 | runit: add runsv, runsvdir and sv. Oh yes.
It even seems to work. +11K. :( | | |
Denis Vlasenko | a5342b4541c | httpd: make Bernhard happier | | |
Bernhard Reutner-Fischer | 8bfd215fb25 | - Set INSTALL_OPTS according to the config. | | |
Bernhard Reutner-Fischer | 193bcf381ea | - fix generation of the busybox.links install script inputfile | | |
Bernhard Reutner-Fischer | 68532b35780 | - typo fix | | |
Bernhard Reutner-Fischer | e766715032f | - end may be used uninitialized.
- TODO: should eventually use skip_whitespace there | | |
Denis Vlasenko | b3a071543d7 | httpd: reduce ifdef forest. comment out redundant PATH setting | | |
Denis Vlasenko | d4f3d1a4bd1 | httpd:
fix union aliasing bug
symptom: wget of non-existent file gets redirected to /text/html/something
on second an... | | |
Denis Vlasenko | 0871bc89fbe | httpd: add -i (inetd) and -f (foreground) otions.
-i makes possible to run httpd in both inetd and standalone mode
wi... | | |
Denis Vlasenko | e867b7ce868 | httpd: stop being silly with setenv | | |
Denis Vlasenko | 83ea643d8dc | svlogd: new applet. +9k. Still too big, but it was 12k yesterday. | | |
Mike Frysinger | 3672fe9e914 | remove duplicate flag decls | | |
Denis Vlasenko | 1119972f917 | umount: umount -a shouldn't stop on first failure | | |
Denis Vlasenko | 6c5e5a0e85a | httpd: cosmetic fixes (the bug which was being hunted down
turned out to be nonexistent :) | | |
Denis Vlasenko | 067e3f031a2 | wget: fix error message.
Bad:
wget http://127.0.0.1:81/fgdg/Makefile
Connecting to 127.0.0.1[127.0.0.1]:81
: HTTP/1.0... | | |
Denis Vlasenko | 07159f0f0e2 | add && !defined(__UCLIBC__) to static link warning check | | |
Denis Vlasenko | 85281516589 | small ipv6 doc changes; nslookup a tiny bit smaller | | |
Denis Vlasenko | 6476cc10896 | getty: remove ancient termio support (was using termois anyway) | | |
Denis Vlasenko | 9f60929cc45 | httpd: sendCgi() forked child needs to close opened
server socket and accepted socket | | |
Denis Vlasenko | 5af906e7c83 | rename: compare_string_array -> index_in_str_array
introduce index_in_substr_array and use it in
iproute2 | | |
Denis Vlasenko | 402151671b5 | ps: add documentation on POSIX ps | | |
Denis Vlasenko | 77a1a53a988 | usage.h: stop using ancient USAGE_xxx (we have USE_xx now) | | |
Denis Vlasenko | 9494919ea51 | ps: implement POSIX-like options, most notably -o
(activated by CONFIG_DESKTOP) | | |
Denis Vlasenko | aae0311356b | smart_ulltoa5: make available in libbb | | |
Denis Vlasenko | 459e4d6cf77 | replace /proc scanning code by more versatile one.
Use it where appropriate.
Stop scanning /etc/passwd *for every pro... | | |
Denis Vlasenko | fa07680091d | top: improve CPU% calculation
style fixes | | |
Denis Vlasenko | 9d4533ede12 | Fix kbuild bugs noticed by Bernhard Fischer <rep.nop@aon.at> | | |
Denis Vlasenko | dd539f76877 | Unneeded code removed, usused field "unsigned pscpu" removed | | |
Denis Vlasenko | 92258541449 | mostly style fixes | | |
Denis Vlasenko | 048c93cc559 | pidof: reduce #ifdef forest | | |
Denis Vlasenko | 35fb5127286 | PID should be stored in pid_t, not int or long.
find_pid_by_name() was returning 0 or -1 in last array element,
but -... | | |
Denis Vlasenko | d3ada322855 | ps: reduce #ifdef forest | | |
Denis Vlasenko | 966ec7c067d | #if CONFIG_xxx -> #if ENABLE_xxx | | |
Denis Vlasenko | 31c65f24560 | find: -type T was actually meaning ! -type T!
With this fix, "make mrproper" works correctly | | |
Denis Vlasenko | 14aa9f74156 | build system: Makefiles are in source dir, add $(srctree) | | |
Denis Vlasenko | b141b9b512f | reads: fix bug 1078 | | |
Denis Vlasenko | 4126b1f5c69 | add usefun info on SIGINT handling peculiarities | | |
Denis Vlasenko | 8c76487f060 | login: add big fat comment about SIGINT - prevent
adding/deleting that code again and again | | |
Denis Vlasenko | 6ae8079e2d6 | login: re-enable Ctrl-^C before execing shell. | | |
Denis Vlasenko | 3b8ff68ec87 | dd: fix bugs: always assumed conv=sync, died on write errors
w/o perror and statictics. Several small improvements | | |
Denis Vlasenko | 5f18e7ca33a | find: implement -prune. "make clean" now works! :) | | |
Denis Vlasenko | a3b4fed8b30 | find: fix implicit -print (sometime differed from standard) | | |
Denis Vlasenko | 6191a7a007f | find: implement ( ) | | |
Denis Vlasenko | afea46b4e44 | "#warning: http://...." doesn't work (gcc thinks that it's a comment!) | | |
Denis Vlasenko | 41be5b863d5 | website: fix link | | |
Denis Vlasenko | 8d463072df5 | website: announce 1.2.2.1 | | |
Denis Vlasenko | 5d499e1600e | find: a lot more compliant to 'standard' find
(we were not respecting order of actions!).
Add -o and -a handling. | | |
Denis Vlasenko | e2fb719ba34 | find: small improvement | | |
Denis Vlasenko | df0553bbd2c | find: fix -exec to work like stock find does. | | |
Denis Vlasenko | 656f746e744 | ls: silly comment fixes | | |
Denis Vlasenko | 8c0c119130b | chmod: typo in comments | | |
Denis Vlasenko | 94cf69fe3e2 | ls: cleanup part 2. ifdef forest is much less scary now :) | | |
Denis Vlasenko | 5c7596058de | ls: cleanup part 1 | | |
Denis Vlasenko | 8c35d65c432 | recursive_action: add depth param
chmod: match coreutils versus following links | | |
Denis Vlasenko | e80e2a3660b | chgrp: just call chown! :) | | |
Denis Vlasenko | 3b8fc1c5828 | recursive_action: preparatory changes. will introduce "int level". | | |
Denis Vlasenko | 51b4c92f80d | chown: add -vcf support if CONFIG_DESKTOP
chmod: stop following symlinks | | |
Denis Vlasenko | fefb279ace2 | chmod: support -vcf if CONFIG_DESKTOP | | |
Denis Vlasenko | cf704331736 | modprobe: reformat to match bbox style | | |
Denis Vlasenko | 82f9e285132 | OFF_T_FMT -> OFF_FMT | | |
Denis Vlasenko | 25d80621280 | top: batch mode should output all processes | | |
Denis Vlasenko | b54b208d90e | Fix largefile breakage; advance version to 1.2.2 | | |
Denis Vlasenko | dca0b707c0f | reshuffle libbb.h contents so that order of decls makes sense
Found bad typo in largefile support :) | | |
Denis Vlasenko | 621204bbf67 | get_terminal_width_height: do not pass insanely large values | | |
Denis Vlasenko | d3d004dd350 | last nail into error_msg() (de)capitalization | | |
Denis Vlasenko | 1340ca8c87d | As usual, I forgot "svn del"... | | |
Denis Vlasenko | 2fe7b73d990 | ...and yet another small fix. Ouch... | | |
Denis Vlasenko | 1de0830e622 | Fix minor breakage in previous commit | | |
Denis Vlasenko | ddec5af6b08 | rename functions to more understandable names | | |
Denis Vlasenko | f0ed376eda5 | remove bb_printf and the like | | |
Denis Vlasenko | 670a6626cab | add ipv6 developer doc | | |
Denis Vlasenko | ebe578ab2fc | nslookup: make it more IPv6 friendly | | |
Denis Vlasenko | 68f21872652 | mount: use switch (compare_string_array(..))
where appropriate, saves >100 bytes. | | |
Denis Vlasenko | 1457915afcb | xconnect is non-conforming to "xfunc like libc" rule. Fixing | | |
Denis Vlasenko | 940b2e4b734 | ip: "ip addr del" and "ip addr delete" both should work | | |
Denis Vlasenko | c6f188def8c | silly size savings and capitalization fixes | | |
Bernhard Reutner-Fischer | e63a0dee9e5 | - revert r16191; re-add resize() applet.
text data bss dec hex filename
288 0 0 ... | | |
Denis Vlasenko | 80778503303 | sed: mostly style fixes, very small changes in actual code | | |
Denis Vlasenko | d18a3a20dba | use skip_whitespace where appropriate | | |
Denis Vlasenko | c8400a21620 | wget: wget $'-\207' ... should not be allowed to work. ever. :)
So fix wget & getopt32. Also fix multiple --header op... | | |
Rob Landley | 44c7917cab4 | Put up BusyBox 1.2.2 and get out of Denis' way. Also minor tweak to
autodocifier.pl so USAGE_ macros that haven't b... | | |
Bernhard Reutner-Fischer | d35d540217b | - add nmeter and raidautorun to defconfig. | | |
Bernhard Reutner-Fischer | a481d87ff79 | - we take exactly one argument. | | |
Denis Vlasenko | 7534e0834f9 | wget: -100 bytes, reduce stack usage, remove --header length limit | | |
Denis Vlasenko | 703aa13ff5e | watch: fix warning
getty: fix breakage; fix excessive stack usage | | |
Denis Vlasenko | 4e70bf43596 | getty: conditionally disable handling of all-caps terminals. | | |
Next → |