aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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 ;)
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-25tar: small fix and small optimizationDenis Vlasenko
2006-11-25small improvements in str -> num convertorsDenis Vlasenko
2006-11-25tar: abort if tarring up file larger that 64GbDenis Vlasenko
(otherwise we will produce garbled tarfile)
2006-11-25dd: support >2gb values for seek, skip, countDenis Vlasenko
2006-11-25regularize str -> num convertorsDenis Vlasenko
2006-11-24small optimizationDenis Vlasenko
2006-11-24tar: fix multiple -t and/or -v options handling.Denis Vlasenko
do not process list of files to tar up in reverse order.
2006-11-24tar: sanitize option handlingDenis Vlasenko
2006-11-24tar: buglet fixDenis Vlasenko
2006-11-24tar: fix and sanitize handling of long filenames/linknamesDenis 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-24hunt down improper include <>, make mkswap output 4Gb+ friendlyDenis Vlasenko
2006-11-24svn add makedev.c. Forgot as usual... :(Denis Vlasenko
2006-11-24tar: small fixes:Denis Vlasenko
* size-optimize mapping code * kill double close
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-24tar: cry murder and bail out if file shrinks under us while we tar it upDenis Vlasenko
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