summaryrefslogtreecommitdiff
path: root/archival (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* gzip cleanup part #6Denis Vlasenko2007-01-071-33/+45
|
* gzip cleanup part #5Denis Vlasenko2007-01-071-204/+212
|
* gzip cleanup part #4Denis Vlasenko2007-01-071-35/+39
|
* gzip cleanup part #3Denis Vlasenko2007-01-071-73/+66
|
* gzip cleanup part #2Denis Vlasenko2007-01-071-210/+50
|
* a ton of gzip changes, split up in compiled andDenis Vlasenko2007-01-071-188/+145
| | | | | | | run-tested pieces. Code was rather messy. It's not a bug fix, more like code cleanup. This is the first part.
* kill unused variableDenis Vlasenko2007-01-061-14/+5
|
* move [g]zip decompressor state into malloc'ed buffer. size:Denis Vlasenko2007-01-061-88/+192
| | | | | | text data bss dec hex 5256 0 108 5364 14f4 - old 4915 0 0 4915 1333 - new
* split inflate_xx_setup() subroutines from inflate_xx()Denis Vlasenko2007-01-051-119/+146
|
* do not expose internal state of [g]zip unpacker.Denis Vlasenko2007-01-052-39/+44
| | | | fix memory leak in inflate_gunzip.
* Stopped doing assignments inside expressions.Denis Vlasenko2007-01-052-58/+110
| | | | | | | Who wrote this gem, I wonder? n -= (e = (e = gunzip_wsize - ((d &= gunzip_wsize - 1) > w ? d : w)) > n ? n : e);
* decompress_unzip: preparatory patchDenis Vlasenko2007-01-051-56/+56
|
* Stop tracking buffer size - it is a constant.Denis Vlasenko2007-01-051-25/+34
| | | | | | | | Stop ignoring write errors. Fix bugs in this line: rc->buffer_size = read(rc->fd, RC_BUFFER, rc->buffer_size); (a) should use safe_read() (b) just ONE short read (e.g. 4 bytes) will make ALL future reads short!
* simplify access to buffer, making code a bit smallerDenis Vlasenko2007-01-051-80/+90
|
* - spelling fixBernhard Reutner-Fischer2007-01-041-1/+1
|
* extern variable declaration in a .c file is heresy - fixing itDenis Vlasenko2007-01-032-5/+4
|
* done a dozen of randconfig test. guess what? ALL failed...Denis Vlasenko2006-12-301-2/+4
| | | | these are resulting fixes
* bb_xget[pw/gr]nam were horribly misnamed - fixed.Denis Vlasenko2006-12-281-2/+2
| | | | | | | uidgid_get -> get_uidgid, add additional param (numeric_ok). Make chown use it. chown: fix "chown user: ...." install: fix incorrect use of bb_xget[pw/gr]nam
* merge post-1.3.0 fixesDenis Vlasenko2006-12-262-8/+19
|
* style fixesDenis Vlasenko2006-12-264-40/+40
| | | | last xcalloc replaced by xzalloc
* remove useless casts (type*) xzalloc(...)Denis Vlasenko2006-12-223-4/+4
|
* dpkg: getopt32-ification etc, -100 bytesDenis Vlasenko2006-12-221-223/+170
|
* rpm: reformat. was really hard to readDenis Vlasenko2006-12-221-121/+168
|
* removal of commented-out cruftDenis Vlasenko2006-12-223-15/+3
|
* tar et al: die if bb_copyfd_size copies less than asked for.Denis Vlasenko2006-12-228-41/+37
| | | | (we have bb_copyfd_exact_size now for that kind of usage)
* remove casts from xmalloc()Denis Vlasenko2006-12-191-3/+3
|
* A bunch of defined(__GLIBC__) added. static-linking warning expandedDenis Vlasenko2006-12-181-1/+1
|
* tar: report error if child dies while writing out the end of tarballDenis Vlasenko2006-12-171-8/+39
| | | | (e.g. out of disk space).
* inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko2006-12-167-8/+7
|
* s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/gDenis Vlasenko2006-12-161-1/+1
| | | | xstrtou: disallow leading '+'
* - remove functions marked as LEGACY in SUSv3 and use their modern counterparts.Bernhard Reutner-Fischer2006-12-121-5/+5
|
* fix support for globally disabling --long-options.Denis Vlasenko2006-11-291-4/+3
| | | | (disabling them saves ~4K on fully configured bbox)
* tar: fix misplaced --exclude long option definitionDenis Vlasenko2006-11-271-4/+9
|
* style cleanup: return(a) -> return a, part 2Denis Vlasenko2006-11-273-4/+4
|
* style cleanup: return(a) -> return a, part 1Denis Vlasenko2006-11-278-23/+19
|
* small fixes:Denis Vlasenko2006-11-261-1/+1
| | | | | | 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 ;)
* tar: small fix and small optimizationDenis Vlasenko2006-11-252-12/+10
|
* tar: abort if tarring up file larger that 64GbDenis Vlasenko2006-11-251-42/+35
| | | | (otherwise we will produce garbled tarfile)
* tar: fix multiple -t and/or -v options handling.Denis Vlasenko2006-11-241-36/+21
| | | | do not process list of files to tar up in reverse order.
* tar: sanitize option handlingDenis Vlasenko2006-11-242-125/+87
|
* tar: buglet fixDenis Vlasenko2006-11-241-1/+1
|
* tar: fix and sanitize handling of long filenames/linknamesDenis Vlasenko2006-11-242-21/+46
| | | | | | | | | (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
* tar: small fixes:Denis Vlasenko2006-11-241-23/+23
| | | | | * size-optimize mapping code * kill double close
* tar: cache [ug]id->username/groupname mappings. Cuts down amountDenis Vlasenko2006-11-241-6/+3
| | | | | 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-241-2/+12
|
* header_verbose_list: stop truncating file size in listingDenis Vlasenko2006-11-243-28/+26
|
* tar:Denis Vlasenko2006-11-242-179/+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