aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* udhcpc: convert to getopt32Denis Vlasenko2006-11-274-171/+155
|
* tar: fix misplaced --exclude long option definitionDenis Vlasenko2006-11-271-4/+9
|
* Closing bug 1040:Denis Vlasenko2006-11-271-1/+1
| | | | | | | 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.
* erase_mtab: do not limit ourself to 40 mtab entriesDenis Vlasenko2006-11-271-32/+21
|
* fix remaining survivors of the return(a) cleanupDenis Vlasenko2006-11-274-11/+11
|
* style cleanup: return(a) -> return a, part 2Denis Vlasenko2006-11-2728-282/+273
|
* style cleanup: return(a) -> return a, part 1Denis Vlasenko2006-11-2736-219/+214
|
* byteswap ops had extra mask ops - removedDenis Vlasenko2006-11-274-21/+17
|
* svn add bb_strtonum.c :(Denis Vlasenko2006-11-271-0/+147
|
* Provide our own isdigit macro. saves more than 400 bytes.Denis Vlasenko2006-11-275-11/+13
|
* safe_strtoXX interface proved to be a bit unconvenient.Denis Vlasenko2006-11-2716-280/+145
| | | | | Remove it, introduce saner bb_strtoXX. Saved ~350 bytes.
* - minor shrinkageBernhard Reutner-Fischer2006-11-271-8/+6
| | | | | | text data bss dec hex filename 773 0 80 853 355 vlock.o.orig 766 0 80 846 34e vlock.o
* ifconfig: do not try to continue on errors. not much sence in doing thatDenis Vlasenko2006-11-271-104/+58
| | | | IMHO, but requires extra code.
* deluser: the same code, but a bit less obfuscated.Denis Vlasenko2006-11-271-15/+16
|
* deluser: size reduction by 60 bytes.Denis Vlasenko2006-11-271-62/+48
| | | | patch from Tito <farmatito@tiscali.it>
* added gcc flag which is needed for ULLONG_MAX to appearDenis Vlasenko2006-11-261-0/+3
| | | | on Tito's box
* Closing bug 730. libbb run_parts is using scandir (a GNUism),Denis Vlasenko2006-11-264-129/+99
| | | | | and it is used only by run_parts applet, so move it there. Also saved ~30 bytes (prolly gcc autoinlining...).
* added small doc about tar 'pax header' formatDenis Vlasenko2006-11-261-0/+239
|
* sort: two small optimizationsDenis Vlasenko2006-11-261-9/+10
|
* sort: reformat entire file wrt style.Denis Vlasenko2006-11-261-182/+215
| | | | | | fix single obvious bug: right hand was 0 here: flags & (FLAG_b&FLAG_d&FLAG_f&FLAG_i&FLAG_bb) fixed to use |
* small fixes:Denis Vlasenko2006-11-269-24/+35
| | | | | | fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc.
* tar: refuse to untar files with "/../" componentsDenis Vlasenko2006-11-261-1/+6
|
* tar: correctly skip (and warn about) pax headers.Denis Vlasenko2006-11-262-20/+35
| | | | | plug memory leak. save 50 bytes. Wooohooo! we finally can unpack kernel tarballs!
* tar: add support for FEATURE_TAR_GNU_EXTENSIONS so than we can saveDenis Vlasenko2006-11-251-25/+98
| | | | | | | 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 ;)
* tee: fix bug: argv[-1] is a no-no!Denis Vlasenko2006-11-254-58/+71
| | | | | bb_full_fd_action: optimize die_if_ferror: "<applet>: filename" isn't a good err msg, add "..I/O error"
* tar: small fix and small optimizationDenis Vlasenko2006-11-252-12/+10
|
* small improvements in str -> num convertorsDenis Vlasenko2006-11-253-9/+25
|
* tar: abort if tarring up file larger that 64GbDenis Vlasenko2006-11-251-42/+35
| | | | (otherwise we will produce garbled tarfile)
* dd: support >2gb values for seek, skip, countDenis Vlasenko2006-11-251-4/+10
|
* regularize str -> num convertorsDenis Vlasenko2006-11-256-271/+362
|
* small optimizationDenis Vlasenko2006-11-241-4/+3
|
* tar: fix multiple -t and/or -v options handling.Denis Vlasenko2006-11-242-44/+28
| | | | do not process list of files to tar up in reverse order.
* tar: sanitize option handlingDenis Vlasenko2006-11-248-217/+177
|
* tar: buglet fixDenis Vlasenko2006-11-241-1/+1
|
* tar: fix and sanitize handling of long filenames/linknamesDenis Vlasenko2006-11-243-21/+47
| | | | | | | | | (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
* hunt down improper include <>, make mkswap output 4Gb+ friendlyDenis Vlasenko2006-11-245-12/+11
|
* svn add makedev.c. Forgot as usual... :(Denis Vlasenko2006-11-241-0/+19
|
* tar: small fixes:Denis Vlasenko2006-11-242-38/+42
| | | | | * size-optimize mapping code * kill double close
* tar: cache [ug]id->username/groupname mappings. Cuts down amountDenis Vlasenko2006-11-243-24/+52
| | | | | of open/read/close of /etc/passwd and /etc/group dramatically (we were rereading those for each untarred file!!!)
* tar: cry murder and bail out if file shrinks under us while we tar it upDenis Vlasenko2006-11-242-4/+13
|
* glibc makedev() is a large inline. Save 700+ bytes by wrapping itDenis Vlasenko2006-11-242-32/+96
| | | | into a function.
* header_verbose_list: stop truncating file size in listingDenis Vlasenko2006-11-2410-43/+42
|
* tar:Denis Vlasenko2006-11-244-181/+220
| | | | | | | | | * 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
* md5sum: make -c grok formats like "68b329da9893e34099c7d8ad5cb9c940 *foo".Denis Vlasenko2006-11-231-20/+24
| | | | Also eradicate 95 bytes of bloat.
* ifupdown:Denis Vlasenko2006-11-231-6/+9
| | | | | ifconfig said to set iface up before it processes hw %hwaddress%, which then of course fails. Thus we run two separate ifconfig
* ifupdown: save some 100+ bytes of code in addstr()Denis Vlasenko2006-11-231-45/+35
|
* wget: -O - still outputs progressbar (to stderr)Denis Vlasenko2006-11-231-5/+6
| | | | Noticed dead code. -100 bytes.
* add "wpad" DHCP option. Spotted some optimization opportunities: -80 bytesDenis Vlasenko2006-11-234-54/+64
|
* introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd),Denis Vlasenko2006-11-2216-42/+40
| | | | | use them where appropriate. 200 bytes saved
* - add FIXME to brokenness in the installer..Bernhard Reutner-Fischer2006-11-221-0/+1
|