summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2006-12-22tar et al: die if bb_copyfd_size copies less than asked for.Denis Vlasenko
(we have bb_copyfd_exact_size now for that kind of usage)
2006-12-21less: stop dying on bad regexps, quietly pipe data w/oDenis Vlasenko
user interaction if stdout is not a tty. size optimizations
2006-12-21introduce LONE_CHAR (optimized strcmp with one-char string)Denis Vlasenko
2006-12-18xfuncs.c: dietlibc actually HAS fdprintf!Denis Vlasenko
platform.h: define strchrnul for dietlibc ash: stop using few non-standard functions
2006-12-18nc: add missing castDenis Vlasenko
xfuncs: add dprintf for dietlibc
2006-12-18A bunch of defined(__GLIBC__) added. static-linking warning expandedDenis Vlasenko
2006-12-17fix/shorten some usage stringsDenis Vlasenko
2006-12-16inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko
2006-12-16s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/gDenis Vlasenko
xstrtou: disallow leading '+'
2006-12-12build system: add "release" targetDenis Vlasenko
find: support -size N (needed for above)
2006-12-07- s/:\t\t/\t/ for two helptexts.Bernhard Reutner-Fischer
2006-12-01passwd: made smaller by ~130 bytes. size can go negativeDenis Vlasenko
if current trend will continue ;)
2006-11-29fix support for globally disabling --long-options.Denis Vlasenko
(disabling them saves ~4K on fully configured bbox)
2006-11-28usage: fix few help texts, fix breakage: '\<tab>'Denis Vlasenko
sequence utterly confused cpp :)
2006-11-28fix udhcpc help message, take steps to make usage.h less messyDenis Vlasenko
2006-11-27udhcpc: convert to getopt32Denis Vlasenko
2006-11-27Provide our own isdigit macro. saves more than 400 bytes.Denis Vlasenko
2006-11-27safe_strtoXX interface proved to be a bit unconvenient.Denis Vlasenko
Remove it, introduce saner bb_strtoXX. Saved ~350 bytes.
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.