aboutsummaryrefslogtreecommitdiff
path: root/include/unarchive.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* delete tons of extra #includesvda2007-05-311-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18717 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make compressed help code NOMMU- and NOFORK-friendly -vda2007-04-101-0/+5
| | | | | | | no forking anymore, bunzip2 unpack routine now does all it in memory. git-svn-id: svn://busybox.net/trunk/busybox@18392 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bunzip2/gunzip/uncompress/unlzma: merge into common code -vda2007-03-071-1/+1
| | | | | | | fix few corner cases, reduce size by 450 bytes. Update testsuite. git-svn-id: svn://busybox.net/trunk/busybox@18025 69ca8d6d-28ef-0310-b511-8ec308f3f277
* do not expose internal state of [g]zip unpacker.vda2007-01-051-8/+7
| | | | | | | fix memory leak in inflate_gunzip. git-svn-id: svn://busybox.net/trunk/busybox@17167 69ca8d6d-28ef-0310-b511-8ec308f3f277
* extern variable declaration in a .c file is heresy - fixing itvda2007-01-031-0/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17139 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar et al: die if bb_copyfd_size copies less than asked for.vda2006-12-221-1/+1
| | | | | | | (we have bb_copyfd_exact_size now for that kind of usage) git-svn-id: svn://busybox.net/trunk/busybox@17038 69ca8d6d-28ef-0310-b511-8ec308f3f277
* attempt to regularize atoi mess.vda2006-10-081-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16342 69ca8d6d-28ef-0310-b511-8ec308f3f277
* g[un]zip: add support for -v (verbose).vda2006-10-011-5/+6
| | | | | | | | Add CONFIG_DESKTOP, almost all bloat from this change is hidden under that. git-svn-id: svn://busybox.net/trunk/busybox@16283 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: revert older fix (non-portable), added new one.vda2006-09-031-0/+1
| | | | | | | | testsuite tar-extracts-all-subdirs now passes. git-svn-id: svn://busybox.net/trunk/busybox@16041 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - pull from busybox_scratch: r15829:15850aldot2006-08-281-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various fixes, cleanups and shrinkage: saves 952 Bytes: text data bss dec hex filename 1087742 15853 790632 1894227 1ce753 ../busybox/busybox.old 1086790 15853 790632 1893275 1ce39b busybox via: # scripts/bloat-o-meter ../busybox/busybox_unstripped.old busybox_unstripped function old new delta ipcrm_main 756 822 +66 getval - 61 +61 maybe_set_utc - 40 +40 udhcpc_main 2896 2912 +16 md5_hash_block 428 437 +9 opt 8 16 +8 qgravechar 106 110 +4 make_bitmap 292 295 +3 inflate_unzip 2056 2059 +3 add_partition 1412 1414 +2 __parsespent 156 158 +2 qrealloc 41 42 +1 format - 1 +1 catv_main 313 314 +1 watch_main 293 292 -1 varunset 81 80 -1 part 1 - -1 check_if_skip 837 836 -1 start_stop_daemon_main 840 837 -3 create_lost_and_found 175 172 -3 supress_non_delimited_lines 4 - -4 static.l 4 - -4 static.c 5 1 -4 bsd_sum_file 237 233 -4 eval2 338 332 -6 arithmetic_common 166 158 -8 cmpfunc 22 5 -17 cksum_main 294 275 -19 cmp_main 465 439 -26 dd_main 1535 1508 -27 rmmod_main 376 333 -43 cut_file 727 644 -83 ipcs_main 3809 3721 -88 cut_main 722 614 -108 date_main 1443 1263 -180 remove_ids 222 - -222 ------------------------------------------------------------------------------ (add/remove: 3/4 grow/shrink: 11/18 up/down: 217/-853) Total: -636 bytes git-svn-id: svn://busybox.net/trunk/busybox@16009 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleaup read() and write() variants, plus a couple of new functions likelandley2006-07-161-1/+0
| | | | | | | xlseek and fdlength() for the new mkswap. git-svn-id: svn://busybox.net/trunk/busybox@15703 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - typo: s/compenent/component/galdot2006-04-021-3/+6
| | | | | | | add a bit of documentation. git-svn-id: svn://busybox.net/trunk/busybox@14727 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Aurelien Jacobs to add unlzma. (A new decompression type,landley2006-01-201-0/+2
| | | | | | | see www.7-zip.org) git-svn-id: svn://busybox.net/trunk/busybox@13454 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add --no-same-owner and --no-same-permissions options to tar.landley2005-10-271-5/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11933 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying fixes from: pgf2005-07-201-0/+1
| | | | | | | | 0000142: unzip enhancements git-svn-id: svn://busybox.net/trunk/busybox@10887 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove trailing whitespace. Update copyright to include 2004.andersen2004-03-151-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
* As we no longer use function pointers for read in common archiving codebug12003-11-211-2/+0
| | | | | | | | | | archive_xread can be replaced with bb_full_read, and archive_copy_file with bb_copyfd* bb_copyfd is split into two functions bb_copyfd_size and bb_copyfd_eof, they share a common backend. git-svn-id: svn://busybox.net/trunk/busybox@7984 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove unused functionbug12003-11-201-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7975 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move from read_gz to the pipe()+fork() method.bug12003-11-151-12/+6
| | | | | | | | | | | | open_transformer(), common code for pipe+fork. Function pointer for read() no longer needed. Allow inflate to be initialised with a specified buffer size to avoid over-reading. Reset static variables in inflate_get_next_window to fix a bug where only the first file in a .zip would be be extracted. git-svn-id: svn://busybox.net/trunk/busybox@7917 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use the return value from uncompress_bunzip, fix some typobug12003-10-291-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7719 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont unlink when testing !bug12003-08-281-0/+1
| | | | | | | | | | Always preserve creation date Disable the -p option its for modification date Remove some cpio header debugging noise Syncronise file listing behaviour with upstream. git-svn-id: svn://busybox.net/trunk/busybox@7272 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rpm applet by Laurence Andersonbug12002-12-101-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6150 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move add_to_list from libunarchive to libbb so it can be of more general use ↵bug12002-12-081-10/+4
| | | | | | (eg ifupdown). Changed the name to llist_add_to as i plan on adding more llist_ functions as needed (e.g. llist_free). git-svn-id: svn://busybox.net/trunk/busybox@6132 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Headers for the read_gz changesbug12002-11-191-0/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5970 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fail silently if a partial tar header is read as tar.bz2 is leaving trailing ↵bug12002-11-051-0/+2
| | | | | | junk (not sure why), add some missing files git-svn-id: svn://busybox.net/trunk/busybox@5808 69ca8d6d-28ef-0310-b511-8ec308f3f277
* enable .tar.bz2 for dpkg-debbug12002-11-051-4/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5807 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change filter paramaters, filters can be more powefull nowbug12002-11-041-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5806 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Abstract read and seek in unarchiving code, convert bunzip to file ↵bug12002-11-031-11/+21
| | | | | | descriptors, support tar -j git-svn-id: svn://busybox.net/trunk/busybox@5787 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move data_extract_all_prefix to dpkg, its only used there.bug12002-11-031-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5783 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move bunzip2 idecompression code to libunarchivebug12002-11-031-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5780 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update dpkg to use new unarchive codebug12002-10-191-1/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5677 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix exclude/include problembug12002-10-191-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5676 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix compress support and prevent a segfaultbug12002-09-271-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5599 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New common unarchive code.bug12002-09-251-32/+77
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5589 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Run through indent, use /* */ style commentsbug12002-08-221-12/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5333 69ca8d6d-28ef-0310-b511-8ec308f3f277
* unzip applet by Laurence Andersonbug12002-01-021-0/+2
| | | | | | | ---------------------------------------------------------------------- git-svn-id: svn://busybox.net/trunk/busybox@3988 69ca8d6d-28ef-0310-b511-8ec308f3f277
* include unistd which provides off_t for the header and hence unarchive appletsbug12001-10-271-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3595 69ca8d6d-28ef-0310-b511-8ec308f3f277
* libunarchive, and recovery from my previous commitbug12001-10-251-0/+42
git-svn-id: svn://busybox.net/trunk/busybox@3585 69ca8d6d-28ef-0310-b511-8ec308f3f277