aboutsummaryrefslogtreecommitdiff
path: root/archival/libunarchive/get_header_tar.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* trailing whitespace removalDenis Vlasenko2009-04-011-1/+1
|
* tar: make FEATURE_TAR_AUTODETECT work with DESKTOP off too.Denis Vlasenko2009-03-131-2/+2
|
* header_verbose_list: show off_t size, not cast to (unsigned)Denis Vlasenko2008-12-121-1/+72
| | | | | | | | | get_header_tar: support GNU tar's "base256" encoding function old new delta get_header_tar 1536 1600 +64 header_verbose_list 242 257 +15
* *: refactor handling of archived files. "tar f file.tar.lzma" now works too.Denis Vlasenko2008-08-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta unpack_Z_stream - 1229 +1229 open_zipped - 176 +176 unpack_bz2_stream_prime - 60 +60 tar_main 642 677 +35 find_main 406 418 +12 sv_main 1222 1233 +11 decode_format_string 829 837 +8 cmp_main 641 649 +8 popstring 134 140 +6 filter_accept_list_reassign 120 125 +5 parse_and_put_prompt 800 804 +4 passwd_main 1053 1049 -4 make_new_name_gunzip 119 114 -5 rpm_main 1688 1670 -18 prepare 302 283 -19 xmalloc_open_zipped_read_close 135 61 -74 uncompress 1229 - -1229 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 8/5 up/down: 1554/-1349) Total: 205 bytes
* fix trivial build warningDenis Vlasenko2008-07-221-1/+1
|
* tar: fix handling of tarballs with symlinks with size field != 0Denis Vlasenko2008-07-201-6/+11
|
* cpio: internalize archive_xread_all_eof. add a few paranoia checksDenis Vlasenko2008-07-121-1/+1
| | | | | | | | | | | | | for corrupted cpio files. modprobe-small: remove stray include route: small code shrink function old new delta get_header_cpio 958 980 +22 archive_xread_all_eof 33 - -33 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/0 up/down: 22/-33) Total: -11 bytes
* fix compile failures resulting from last few commitsDenis Vlasenko2008-07-111-2/+1
|
* dpkg_deb: slight code shrinkDenis Vlasenko2008-07-101-8/+19
| | | | | | | | | | | | | | ar: reuse existing ar unpacking code get_header_tar: handle autodetection for tiny .tar.gz files too unarchive.h: do not include CONFIGed out things function old new delta get_header_tar 1521 1534 +13 dpkg_deb_main 400 380 -20 ar_main 260 196 -64 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 13/-84) Total: -71 bytes
* libunarchive: stop using static data in archivers - archive_handle_tDenis Vlasenko2008-06-281-49/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | can trivially provide space for that. rpm: code shrink tar: simplify autodetection of bz2/.gz function old new delta static.not_first 1 - -1 static.end 1 - -1 bb_makedev 51 49 -2 static.saved_hardlinks_created 4 - -4 static.saved_hardlinks 4 - -4 longname 4 - -4 linkname 4 - -4 hash_file 251 247 -4 get_header_tar 1528 1521 -7 rpm_main 1711 1697 -14 get_header_cpio 965 944 -21 ------------------------------------------------------------------------------ (add/remove: 0/6 grow/shrink: 0/5 up/down: 0/-66) Total: -66 bytes text data bss dec hex filename 804926 611 6868 812405 c6575 busybox_old 804878 611 6852 812341 c6535 busybox_unstripped
* *: introduce and use FAST_FUNC: regparm on i386, otherwise no-onDenis Vlasenko2008-06-271-2/+2
| | | | | | | text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
* - use EXIT_{SUCCESS,FAILURE}. No object-code changesBernhard Reutner-Fischer2008-05-191-1/+1
|
* more -Wall warning fixes from Cristian Ionescu-Idbohrn.Denis Vlasenko2008-05-131-2/+2
| | | | | | | | | | | | | This time it resulted in small code changes: function old new delta nexpr 820 828 +8 tail_main 1200 1202 +2 wrapf 166 167 +1 parse_mount_options 227 209 -18 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/1 up/down: 11/-18) Total: -7 bytes
* tar: fix obscure case when name is "" and prefix is not ""Denis Vlasenko2008-04-291-1/+1
|
* tar: fix the case where long base names can be ignoredDenis Vlasenko2008-04-291-0/+3
|
* trivial fixes to make bbox compile with gcc 4.3.0Denis Vlasenko2008-04-151-5/+5
|
* tar: optional autodetection of gz/bz2 compressed tarballs.Denis Vlasenko2008-02-191-8/+44
| | | | | +130 bytes. Closes bug 992.
* tar: real support for -p. +200 if selected.Denis Vlasenko2008-02-141-1/+8
| | | | | By Natanael Copa <natanael.copa at gmail.com>
* tar: do "short EOF" compat only if CONFIG_DESKTOP.Denis Vlasenko2008-02-141-1/+8
| | | | | ash: add a comment about new minor bug
* tar: compat: handle tarballs with only one zero block at the endDenis Vlasenko2008-02-131-1/+9
|
* add comment clarifying busybox's use of non-standard tar headerPaul Fox2007-11-171-0/+3
|
* tar: fix a case where glibc detects bogus buffer overrunDenis Vlasenko2007-11-161-2/+3
| | | | | which is not really there!
* style fix (stray space before ';')Denis Vlasenko2007-07-211-2/+2
|
* tar: improve OLDGNU compat, make old SUN compat configurableDenis Vlasenko2007-06-211-5/+24
|
* do not do utime() on links, it acts on link targets, and we don't want that.Denis Vlasenko2007-06-201-6/+6
| | | | | rename link_name to link_target, less confusing this way.
* remove f wordsDenis Vlasenko2007-03-041-1/+1
|
* tar: handle tarfiles with (broken) checksums a-la Sun.Denis Vlasenko2007-03-031-6/+13
|
* merge post-1.3.0 fixesDenis Vlasenko2006-12-261-1/+3
|
* tar et al: die if bb_copyfd_size copies less than asked for.Denis Vlasenko2006-12-221-1/+1
| | | | (we have bb_copyfd_exact_size now for that kind of usage)
* tar: refuse to untar files with "/../" componentsDenis Vlasenko2006-11-261-1/+6
|
* tar: correctly skip (and warn about) pax headers.Denis Vlasenko2006-11-261-19/+34
| | | | | plug memory leak. save 50 bytes. Wooohooo! we finally can unpack kernel tarballs!
* tar: small fix and small optimizationDenis Vlasenko2006-11-251-2/+4
|
* tar: buglet fixDenis Vlasenko2006-11-241-1/+1
|
* tar: fix and sanitize handling of long filenames/linknamesDenis Vlasenko2006-11-241-20/+45
| | | | | | | | | (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
* header_verbose_list: stop truncating file size in listingDenis Vlasenko2006-11-241-20/+21
|
* tar:Denis Vlasenko2006-11-241-74/+93
| | | | | | | | | * 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
* fixes from Vladimir Dronnikov <dronnikov@gmail.ru>Denis Vlasenko2006-10-101-6/+7
|
* attempt to regularize atoi mess.Denis Vlasenko2006-10-081-23/+22
|
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-7/+3
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* "formated" -> "formatted" throughout the code base."Robert P. J. Day"2006-07-201-20/+20
|
* Cleaup read() and write() variants, plus a couple of new functions likeRob Landley2006-07-161-8/+4
| | | | xlseek and fdlength() for the new mkswap.
* Fix tar so it can extract git-generated tarballs, based on a suggestionRob Landley2006-07-061-5/+4
| | | | from Erik Frederiksen.
* Standardize on the vi editing directives being on the first line."Robert P. J. Day"2006-07-021-0/+1
|
* More size shrinkage.Rob Landley2006-05-291-4/+2
|
* Change llist_add_* to take the address of the list rather than returning the newRob Landley2006-05-261-1/+1
| | | | head, and change all the callers.
* - typos: s/compatability/compatibility/g;s/compatable/compatible/g;Bernhard Reutner-Fischer2006-04-021-2/+2
|
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* use bb_xstrndup vs strndup. Thanks rfelker."Vladimir N. Oleynik"2006-03-011-1/+1
|
* Bug 640: a filename of length exactly 100 could bleed into the next field onRob Landley2006-02-201-19/+11
| | | | | display or extract. (Only shows up when no gnu longname extension, either because it's disabled or because tarball hasn't got it.)
* just whitespaceTim Riker2006-01-251-1/+1
|