Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-12-16 | inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid] | Denis Vlasenko | |
2006-12-16 | s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/g | Denis Vlasenko | |
xstrtou: disallow leading '+' | |||
2006-12-16 | diff: fix -q exit code | Denis Vlasenko | |
last_char_is: sacrifice 9 bytes but avoid double-scan | |||
2006-12-12 | build system: small fix for "release" target to work | Denis Vlasenko | |
2006-12-10 | bb_makedev: fix for glibc 2.3.2 | Denis Vlasenko | |
sed: fix C++ style declaration | |||
2006-12-04 | - cosmetic change to avoid warnings about eventual padding/packing. | Bernhard Reutner-Fischer | |
2006-12-02 | sed: improve handling of NULs | Denis Vlasenko | |
2006-12-01 | passwd: made smaller by ~130 bytes. size can go negative | Denis Vlasenko | |
if current trend will continue ;) | |||
2006-11-30 | passwd: small size optimization. salt generation improved | Denis Vlasenko | |
(really generated different salts even if called back-to-back). | |||
2006-11-30 | passwd: rework: | Denis Vlasenko | |
* do not make backup copy by copying (just retain old file) * correctly fall back to /etc/passwd if user is not in shadow * fix bug with overlong passwd entries * be permissive on some kinds of failures * reduce stack usage * code size: -500 bytes | |||
2006-11-29 | cut 0.5k off mkfs.minix | Denis Vlasenko | |
assorted strtoul fixes (that's what brought me into minix)... | |||
2006-11-28 | fix bug in new str -> num convertors | Denis Vlasenko | |
2006-11-27 | erase_mtab: do not limit ourself to 40 mtab entries | Denis Vlasenko | |
2006-11-27 | style cleanup: return(a) -> return a, part 2 | Denis Vlasenko | |
2006-11-27 | style cleanup: return(a) -> return a, part 1 | Denis Vlasenko | |
2006-11-27 | svn add bb_strtonum.c :( | Denis Vlasenko | |
2006-11-27 | safe_strtoXX interface proved to be a bit unconvenient. | Denis Vlasenko | |
Remove it, introduce saner bb_strtoXX. Saved ~350 bytes. | |||
2006-11-26 | Closing 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-26 | small fixes: | Denis Vlasenko | |
fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc. | |||
2006-11-25 | tee: 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-25 | small improvements in str -> num convertors | Denis Vlasenko | |
2006-11-25 | regularize str -> num convertors | Denis Vlasenko | |
2006-11-24 | small optimization | Denis Vlasenko | |
2006-11-24 | tar: fix multiple -t and/or -v options handling. | Denis Vlasenko | |
do not process list of files to tar up in reverse order. | |||
2006-11-24 | tar: sanitize option handling | Denis Vlasenko | |
2006-11-24 | tar: fix and sanitize handling of long filenames/linknames | Denis Vlasenko | |
(GNU extensions 'K' and 'L'). We correctly handle them when untarring now, but unfortunately we still don't use them when tarring! That stupid 100 char limit is still there! The biggest problem is that we don't support 'pax' tar format. Linux kernel tarballs are in this format... shame | |||
2006-11-24 | hunt down improper include <>, make mkswap output 4Gb+ friendly | Denis Vlasenko | |
2006-11-24 | svn add makedev.c. Forgot as usual... :( | Denis Vlasenko | |
2006-11-24 | tar: small fixes: | Denis Vlasenko | |
* size-optimize mapping code * kill double close | |||
2006-11-24 | tar: cache [ug]id->username/groupname mappings. Cuts down amount | Denis Vlasenko | |
of open/read/close of /etc/passwd and /etc/group dramatically (we were rereading those for each untarred file!!!) | |||
2006-11-24 | tar: cry murder and bail out if file shrinks under us while we tar it up | Denis Vlasenko | |
2006-11-24 | glibc makedev() is a large inline. Save 700+ bytes by wrapping it | Denis Vlasenko | |
into a function. | |||
2006-11-24 | tar: | 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-22 | introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd), | Denis Vlasenko | |
use them where appropriate. 200 bytes saved | |||
2006-11-22 | fix double merge | Denis Vlasenko | |
2006-11-22 | telnetd: move generic stuff into libbb. It will make it easy | Denis Vlasenko | |
to make other server applets IPv6-aware too. | |||
2006-11-22 | telnetd: 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-21 | xgethostbyname: more readable | Denis Vlasenko | |
2006-11-21 | bb_INET_default[] is really just a const "default", | Denis Vlasenko | |
nothing INET-specific | |||
2006-11-18 | rodata cleanup. "unable to" == "cannot". -300 bytes | Denis Vlasenko | |
2006-11-16 | svlogd: new applet. +9k. Still too big, but it was 12k yesterday. | Denis Vlasenko | |
2006-11-10 | wget: fix error message. | Denis Vlasenko | |
Bad: wget http://127.0.0.1:81/fgdg/Makefile Connecting to 127.0.0.1[127.0.0.1]:81 : HTTP/1.0 404 Not Foundror 404 Not Found Good: wget http://127.0.0.1:81/fgdg/Makefile Connecting to 127.0.0.1[127.0.0.1]:81 get: server returned error: HTTP/1.0 404 Not Found nslookup: fix my mistake applets: make Bernhard Fischer <rep.nop@aon.at> happy :) | |||
2006-11-05 | rename: compare_string_array -> index_in_str_array | Denis Vlasenko | |
introduce index_in_substr_array and use it in iproute2 | |||
2006-11-05 | smart_ulltoa5: make available in libbb | Denis Vlasenko | |
2006-11-05 | replace /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-05 | top: improve CPU% calculation | Denis Vlasenko | |
style fixes | |||
2006-11-01 | Unneeded code removed, usused field "unsigned pscpu" removed | Denis Vlasenko | |
2006-11-01 | PID 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-11-01 | #if CONFIG_xxx -> #if ENABLE_xxx | Denis Vlasenko | |
2006-10-31 | reads: fix bug 1078 | Denis Vlasenko | |