aboutsummaryrefslogtreecommitdiff
path: root/archival/libunarchive/get_header_ar.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rename archival/libunarchive -> archival/libarchive; move bz/ into itDenys Vlasenko2010-11-031-133/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-161-1/+1
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ar: add archive creation supportAlexander Shishkin2010-03-151-10/+3
| | | | | | | | | | | | | | | | function old new delta ar_main 184 542 +358 output_ar_header - 166 +166 copy_data - 54 +54 filter_replaceable - 19 +19 get_header_ar 409 414 +5 header_verbose_list_ar 85 88 +3 static.msg_unsupported_err 28 - -28 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 3/0 up/down: 605/-28) Total: 577 bytes Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libunarchive: clean up dirty hacks. code shrank as a resultDenys Vlasenko2010-01-061-2/+2
| | | | | | | | | | | | | | | | | | | function old new delta cpio_main 526 539 +13 init_handle 57 58 +1 init_archive_deb_ar 34 35 +1 get_header_ar 408 409 +1 dpkg_main 3900 3901 +1 unpack_package 516 515 -1 rpm_main 1673 1672 -1 tar_main 774 767 -7 get_header_cpio 990 972 -18 data_extract_all 750 727 -23 get_header_tar 1631 1576 -55 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/6 up/down: 17/-105) Total: -88 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ar: fix long filenames handling (bug 611)Denys Vlasenko2009-09-201-37/+50
| | | | | | | | function old new delta get_header_ar 493 528 +35 read_num - 25 +25 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dpkg_deb: slight code shrinkDenis Vlasenko2008-07-101-2/+3
| | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
* random small shrinkage and elimination of staticsDenis Vlasenko2007-04-071-2/+2
|
* ls: fix segfault-if-standalone-shell, add big fat comment.Denis Vlasenko2007-03-191-1/+1
|
* get_header_ar: reformatted code, no real changesDenis Vlasenko2007-03-141-10/+14
|
* merge post-1.3.0 fixesDenis Vlasenko2006-12-261-7/+16
|
* tar et al: die if bb_copyfd_size copies less than asked for.Denis Vlasenko2006-12-221-1/+2
| | | | (we have bb_copyfd_exact_size now for that kind of usage)
* style cleanup: return(a) -> return a, part 2Denis Vlasenko2006-11-271-2/+2
|
* style cleanup: return(a) -> return a, part 1Denis Vlasenko2006-11-271-2/+2
|
* tar: fix and sanitize handling of long filenames/linknamesDenis Vlasenko2006-11-241-1/+1
| | | | | | | | | (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
* add open_read_close() and similar stuffDenis Vlasenko2006-10-141-1/+1
|
* attempt to regularize atoi mess.Denis Vlasenko2006-10-081-6/+6
|
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-8/+4
| | | | | | | | | | 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-12/+12
|
* Cleaup read() and write() variants, plus a couple of new functions likeRob Landley2006-07-161-2/+2
| | | | xlseek and fdlength() for the new mkswap.
* 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-13/+2
|
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* just whitespaceTim Riker2006-01-251-10/+10
|
* Add a comment explaining why we have to check for an extra \nGlenn L McGrath2004-04-091-1/+3
|
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-1/+1
|
* Fix usage with libraries, skip symbol table.Glenn L McGrath2004-01-041-1/+1
|
* Fix bug when handling debian packages.Glenn L McGrath2003-07-311-3/+5
| | | | | | If we read the contents of compressed files within the ar archive, e.g. control.tar.gz, then file position gets all out of whack, so it has to be reset before reading thenext header.
* Major coreutils update.Manuel Novoa III2003-03-191-8/+8
|
* Change filter paramaters, filters can be more powefull nowGlenn L McGrath2002-11-041-1/+1
|
* New common unarchive code.Glenn L McGrath2002-09-251-40/+56
|
* Applied vodz' patches #49 and #50 (with a small correction in runshell.c)Robert Griebl2002-07-191-2/+1
| | | | | | | | | #49: I found one memory overflow and memory leak in "ln" applet. Last patch reduced also 54 bytes. ;) #50: I found bug in loginutils/Makefile.in. New patch have also new function to libbb and aplied this to applets and other cosmetic changes.
* Fixup warnings and undefined operations that show up in gcc-3.1Eric Andersen2002-07-111-1/+2
| | | | -Erik
* *** empty log message ***Glenn L McGrath2001-10-251-0/+106