summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
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-23md5sum: make -c grok formats like "68b329da9893e34099c7d8ad5cb9c940 *foo".Denis Vlasenko
Also eradicate 95 bytes of bloat.
2006-11-23ifupdown:Denis Vlasenko
ifconfig said to set iface up before it processes hw %hwaddress%, which then of course fails. Thus we run two separate ifconfig
2006-11-23ifupdown: save some 100+ bytes of code in addstr()Denis Vlasenko
2006-11-23wget: -O - still outputs progressbar (to stderr)Denis Vlasenko
Noticed dead code. -100 bytes.
2006-11-23add "wpad" DHCP option. Spotted some optimization opportunities: -80 bytesDenis Vlasenko
2006-11-22introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd),Denis Vlasenko
use them where appropriate. 200 bytes saved
2006-11-22- add FIXME to brokenness in the installer..Bernhard Reutner-Fischer
2006-11-22- fix typoBernhard Reutner-Fischer
2006-11-22fix double mergeDenis Vlasenko
2006-11-22- update TODOsBernhard Reutner-Fischer
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: if FEATURE_IPV6 is on, telnet will NOT work on IPv4Denis Vlasenko
which is kind of stupid
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-22- reinstate "make checkhelp"Bernhard Reutner-Fischer
2006-11-22#if HAVE_AFINET6 -> #ifdef HAVE_AFINET6Denis Vlasenko
2006-11-21httpd: comment on QUERY_STRINGDenis Vlasenko