summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-12-02- commentary typoBernhard Reutner-Fischer
2006-12-02sed: fix handling of files not ending in '\n'Denis Vlasenko
2006-12-02sed: improve handling of NULsDenis Vlasenko
2006-12-01passwd: made smaller by ~130 bytes. size can go negativeDenis Vlasenko
if current trend will continue ;)
2006-12-01- provide central knob to turn off RPC related options.Bernhard Reutner-Fischer
2006-11-30passwd: micro-optimizationDenis Vlasenko
2006-11-30"kernel config" -> "busybox config"Denis Vlasenko
suggested by Roberto A. Foglietta <roberto.foglietta@gmail.com>
2006-11-30"make bigdata" biggest offender dealt with:Denis Vlasenko
xmalloc 16Kb buffer instead of keeping it in bss
2006-11-30ed: convert style to bbox's. No code changes.Denis Vlasenko
2006-11-30passwd: small size optimization. salt generation improvedDenis Vlasenko
(really generated different salts even if called back-to-back).
2006-11-30passwd: 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-30- save 4 bytesBernhard Reutner-Fischer
text data bss dec hex filename 764 0 80 844 34c vlock.o.oorig 760 0 80 840 348 vlock.o
2006-11-29Well, I am not 100.00% usre that uint16 will suffice there.Denis Vlasenko
We don't lose anything by using 'unsigned' instead.
2006-11-29another -90 bytes. That #define is **evil**Denis Vlasenko
2006-11-29mkfs.minix: more cleanups, -~300 bytes of code.Denis Vlasenko
Added debugging support.
2006-11-29cut 0.5k off mkfs.minixDenis Vlasenko
assorted strtoul fixes (that's what brought me into minix)...
2006-11-29httpd: fix decode of '/' when called via -dDenis Vlasenko
2006-11-29od: fix buglet in --traditional, microoptimization,Denis Vlasenko
document coreutils bug bloat-o-meter: account for objects in rodata too
2006-11-29getopt32-ification of fdiskDenis Vlasenko
2006-11-29fix support for globally disabling --long-options.Denis Vlasenko
(disabling them saves ~4K on fully configured bbox)
2006-11-28od: sometime ago I landed BIG od implementationDenis Vlasenko
from coreutils. My fault. This commit contains cleanups and size reductions.
2006-11-28fix bug in new str -> num convertorsDenis Vlasenko
2006-11-28usage: fix few help texts, fix breakage: '\<tab>'Denis Vlasenko
sequence utterly confused cpp :)
2006-11-28udhcpc: fix my breakageDenis Vlasenko
2006-11-28fix udhcpc help message, take steps to make usage.h less messyDenis Vlasenko
2006-11-27do not overflow ifr_name. maybe it was safe in some places,Denis Vlasenko
but not everywhere. err to the safe side.
2006-11-27udhcpc: convert to getopt32Denis Vlasenko
2006-11-27tar: fix misplaced --exclude long option definitionDenis Vlasenko
2006-11-27Closing bug 1040:Denis Vlasenko
The "quiet" option is quietly (hah) ignored. It should be passed through to the mount() syscall in the comma separated list of options. I found the problem with the vfat/msdos filesystems, which uses a quiet option to override some complaints and errors.
2006-11-27erase_mtab: do not limit ourself to 40 mtab entriesDenis Vlasenko
2006-11-27fix remaining survivors of the return(a) cleanupDenis Vlasenko
2006-11-27style cleanup: return(a) -> return a, part 2Denis Vlasenko
2006-11-27style cleanup: return(a) -> return a, part 1Denis Vlasenko
2006-11-27byteswap ops had extra mask ops - removedDenis Vlasenko
2006-11-27svn add bb_strtonum.c :(Denis 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-27- minor shrinkageBernhard Reutner-Fischer
text data bss dec hex filename 773 0 80 853 355 vlock.o.orig 766 0 80 846 34e vlock.o
2006-11-27ifconfig: do not try to continue on errors. not much sence in doing thatDenis Vlasenko
IMHO, but requires extra code.
2006-11-27deluser: the same code, but a bit less obfuscated.Denis Vlasenko
2006-11-27deluser: size reduction by 60 bytes.Denis Vlasenko
patch from Tito <farmatito@tiscali.it>
2006-11-26added gcc flag which is needed for ULLONG_MAX to appearDenis Vlasenko
on Tito's box
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-26added small doc about tar 'pax header' formatDenis Vlasenko
2006-11-26sort: two small optimizationsDenis Vlasenko
2006-11-26sort: reformat entire file wrt style.Denis Vlasenko
fix single obvious bug: right hand was 0 here: flags & (FLAG_b&FLAG_d&FLAG_f&FLAG_i&FLAG_bb) fixed to use |
2006-11-26small fixes:Denis Vlasenko
fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc.
2006-11-26tar: refuse to untar files with "/../" componentsDenis Vlasenko
2006-11-26tar: correctly skip (and warn about) pax headers.Denis Vlasenko
plug memory leak. save 50 bytes. Wooohooo! we finally can unpack kernel tarballs!
2006-11-25tar: add support for FEATURE_TAR_GNU_EXTENSIONS so than we can saveDenis Vlasenko
long names now. We were able to read such tars, but not create. +275 bytes. Without FEATURE_TAR_GNU_EXTENSIONS: -25 bytes. We still cannot unpack Linux kernels, but not for long ;)