aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2006-11-26Closing bug 730. libbb run_parts is using scandir (a GNUism),Denis Vlasenko
and it is used only by run_parts applet, so move it there. Also saved ~30 bytes (prolly gcc autoinlining...).
2006-11-25tee: fix bug: argv[-1] is a no-no!Denis Vlasenko
bb_full_fd_action: optimize die_if_ferror: "<applet>: filename" isn't a good err msg, add "..I/O error"
2006-11-25small improvements in str -> num convertorsDenis Vlasenko
2006-11-25regularize str -> num convertorsDenis Vlasenko
2006-11-24tar: sanitize option handlingDenis Vlasenko
2006-11-24tar: cache [ug]id->username/groupname mappings. Cuts down amountDenis Vlasenko
of open/read/close of /etc/passwd and /etc/group dramatically (we were rereading those for each untarred file!!!)
2006-11-24glibc makedev() is a large inline. Save 700+ bytes by wrapping itDenis Vlasenko
into a function.
2006-11-24header_verbose_list: stop truncating file size in listingDenis Vlasenko
2006-11-24tar:Denis Vlasenko
* unpack: handle tar header fields which are not NUL terminated * pack: handle 4+GB files correctly * pack: refuse to store 101+ softlinks (was truncating link target name) * pack: mask mode with 07777
2006-11-22introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd),Denis Vlasenko
use them where appropriate. 200 bytes saved
2006-11-22- revert r15563 (pull current version of taskset off the busybox_scratch branch)Bernhard Reutner-Fischer
2006-11-22telnetd: move generic stuff into libbb. It will make it easyDenis Vlasenko
to make other server applets IPv6-aware too.
2006-11-22telnetd: we were having telnetd with is ONLY inetd or ONLY standalone.Denis Vlasenko
What if I need to have both?? This patch introduces CONFIG_FEATURE_TELNETD_STANDALONE: y - both, n - only inetd.
2006-11-21bb_INET_default[] is really just a const "default",Denis Vlasenko
nothing INET-specific
2006-11-21- add 'ip rule' support. First take..Bernhard Reutner-Fischer
text data bss dec hex filename 2999 0 0 2999 bb7 networking/libiproute/iprule.o
2006-11-21insmod_ng_main: -80 bytes. Stopp mmapping, use xmalloc_open_read_close().Denis Vlasenko
2006-11-20dhcprelay: new appletDenis Vlasenko
2006-11-18rodata cleanup. "unable to" == "cannot". -300 bytesDenis Vlasenko
2006-11-18nc: fix --help textDenis Vlasenko
2006-11-17add -Wundef, fix uncovered bugsDenis Vlasenko
2006-11-17runit: add runsv, runsvdir and sv. Oh yes.Denis Vlasenko
It even seems to work. +11K. :(
2006-11-16httpd: reduce ifdef forest. comment out redundant PATH settingDenis Vlasenko
2006-11-16httpd: add -i (inetd) and -f (foreground) otions.Denis Vlasenko
-i makes possible to run httpd in both inetd and standalone mode without recompile (or need to have two different binaries)
2006-11-16svlogd: new applet. +9k. Still too big, but it was 12k yesterday.Denis Vlasenko
2006-11-05rename: compare_string_array -> index_in_str_arrayDenis Vlasenko
introduce index_in_substr_array and use it in iproute2
2006-11-05usage.h: stop using ancient USAGE_xxx (we have USE_xx now)Denis Vlasenko
2006-11-05ps: implement POSIX-like options, most notably -oDenis Vlasenko
(activated by CONFIG_DESKTOP)
2006-11-05smart_ulltoa5: make available in libbbDenis Vlasenko
2006-11-05replace /proc scanning code by more versatile one.Denis Vlasenko
Use it where appropriate. Stop scanning /etc/passwd *for every process*!!! (uid->username) top: reduce memory usage - we won't save unneeded fields from /proc info anymore. Downside: ~+250 bytes of code
2006-11-05top: improve CPU% calculationDenis Vlasenko
style fixes
2006-11-01Unneeded code removed, usused field "unsigned pscpu" removedDenis Vlasenko
2006-11-01PID should be stored in pid_t, not int or long.Denis Vlasenko
find_pid_by_name() was returning 0 or -1 in last array element, but -1 was never checked. We can use just 0 intead.
2006-10-28ls: cleanup part 1Denis Vlasenko
2006-10-27recursive_action: add depth paramDenis Vlasenko
chmod: match coreutils versus following links
2006-10-27chgrp: just call chown! :)Denis Vlasenko
2006-10-27chown: add -vcf support if CONFIG_DESKTOPDenis Vlasenko
chmod: stop following symlinks
2006-10-27chmod: support -vcf if CONFIG_DESKTOPDenis Vlasenko
2006-10-27reshuffle libbb.h contents so that order of decls makes senseDenis Vlasenko
Found bad typo in largefile support :)
2006-10-26Fix minor breakage in previous commitDenis Vlasenko
2006-10-26rename functions to more understandable namesDenis Vlasenko
2006-10-26remove bb_printf and the likeDenis Vlasenko
2006-10-26xconnect is non-conforming to "xfunc like libc" rule. FixingDenis Vlasenko
2006-10-25- revert r16191; re-add resize() applet.Bernhard Reutner-Fischer
text data bss dec hex filename 288 0 0 288 120 console-tools/_resize.o.gcc-2.95 258 0 0 258 102 console-tools/_resize.o.gcc-3.3 252 0 0 252 fc console-tools/_resize.o.gcc-3.4
2006-10-25wget: wget $'-\207' ... should not be allowed to work. ever. :)Denis Vlasenko
So fix wget & getopt32. Also fix multiple --header options order: add and use rev_llist.
2006-10-22cp: update help textDenis Vlasenko
2006-10-21cp: add support for -s, -l. Fix free(nonmalloc) bug.Denis Vlasenko
Add doc on POSIX's rules on -i and -f (insane!). ln: make "ln dangling_symlink new_link" work.
2006-10-20watch: execute command thru shell, not fork/exec. Other fixesDenis Vlasenko
2006-10-20raidautorun: new applet, by:Denis Vlasenko
Thomas Jarosch (email?) and Bernhard Fischer <rep.nop@aon.at>
2006-10-20message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko
2006-10-19build system: (try to) get rid of bb_config.h hackDenis Vlasenko