aboutsummaryrefslogtreecommitdiff
path: root/archival (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Speed and memory usage improvements from Laurence Adnersonbug12002-11-202-164/+190
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5975 69ca8d6d-28ef-0310-b511-8ec308f3f277
* read_gz patch 3 from Laurence Andersonbug12002-11-202-144/+188
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5972 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use read_gz, remove fork() woohoo!bug12002-11-191-44/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5966 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Laurence Anderson to provide a read_gz function, doesnt require ↵bug12002-11-172-56/+162
| | | | | | fork(), pipe(), consistent with read_bz2 and more flexible. git-svn-id: svn://busybox.net/trunk/busybox@5949 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove #defines around get_header_ptr, we allways need it.bug12002-11-161-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5948 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Allow short reads as we are looping anyway.bug12002-11-151-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5946 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont chdir untill after we open the archivebug12002-11-151-4/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5931 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor cleanupsbug12002-11-135-33/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5915 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reduce block size to 512 to prevent short read's when reading from a pipebug12002-11-121-10/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5914 69ca8d6d-28ef-0310-b511-8ec308f3f277
* #ifdef, not just #if... grrrbug12002-11-081-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5872 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix reading from stdin (me), Fix tar segfault when no arguments specified ↵bug12002-11-081-5/+5
| | | | | | (Geoffrey Lee) git-svn-id: svn://busybox.net/trunk/busybox@5871 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use a switch instead of successive if (strcmp()) statments.bug12002-11-061-31/+50
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5833 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Split deb_extract() into more generic functionsbug12002-11-061-43/+76
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5832 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Terminate the buffer with a '\0'bug12002-11-061-3/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5831 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Support for bziped debs, i.e. use .tar.bz2 instead .tar.gz internallybug12002-11-051-16/+34
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5815 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fail silently if a partial tar header is read as tar.bz2 is leaving trailing ↵bug12002-11-056-5/+103
| | | | | | 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-056-20/+38
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5807 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change filter paramaters, filters can be more powefull nowbug12002-11-046-21/+78
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5806 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Call lseek directly rather than via data_align()bug12002-11-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5789 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Abstract read and seek in unarchiving code, convert bunzip to file ↵bug12002-11-0325-306/+442
| | | | | | descriptors, support tar -j git-svn-id: svn://busybox.net/trunk/busybox@5787 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix #define syntaxbug12002-11-032-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5784 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move data_extract_all_prefix to dpkg, its only used there.bug12002-11-033-38/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5783 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add copyright notice and license, use strcat+strcpy instead of sprintfbug12002-11-031-8/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5782 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use xread_char to save a few bytes, fix indenting of commentsbug12002-11-031-23/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5781 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move bunzip2 idecompression code to libunarchivebug12002-11-033-1787/+1812
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5780 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make uncompress a seperate applet so it doesnt pull in all the gunzip codebug12002-11-016-4/+143
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5771 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Allow short reads when filling compress bufferbug12002-11-012-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5769 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Allow the .Z prefix if compress support enabledbug12002-11-011-5/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5768 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make it a fatal error if bad chksum or crc, if not we should return an error ↵bug12002-11-011-2/+2
| | | | | | code git-svn-id: svn://busybox.net/trunk/busybox@5767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Report errror if the first magic character doesnt matchbug12002-11-011-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5764 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A bugfix from Danny Lepage:andersen2002-10-261-1/+1
| | | | | | | | | | It seems that under busybox unstable, "tar -c -f - blabla" create a tar file named "-" instead of writing to stdout. The included patch should fix this. git-svn-id: svn://busybox.net/trunk/busybox@5712 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move unzip.c uncompress.c from libbb to archiveal/libunarchivebug12002-10-221-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5681 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update dpkg to use new unarchive codebug12002-10-194-6/+80
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5677 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix exclude/include problembug12002-10-195-47/+34
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5676 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Find a string in a listbug12002-10-191-0/+30
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5675 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove entries from the accept list as they are matched so we can determine ↵bug12002-10-192-0/+14
| | | | | | if any files that were specified in the list wernt found. git-svn-id: svn://busybox.net/trunk/busybox@5674 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont use absolute pathname (dunno why i did that), fix tar filename/stdin ↵bug12002-10-191-16/+25
| | | | | | problems git-svn-id: svn://busybox.net/trunk/busybox@5671 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Put bac kthe code that handles cases where a '-' wasnt specified prior to ↵bug12002-10-181-0/+8
| | | | | | the options. git-svn-id: svn://busybox.net/trunk/busybox@5670 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix an obvious thinkoandersen2002-10-181-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5667 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch61 from vodz:andersen2002-10-102-7/+7
| | | | | | | | | | | | New complex patch for decrease size devel version. Requires previous patch. Also removed small problems from dutmp and tar applets. Also includes vodz' last_patch61_2: Last patch correcting comment for #endif and more integrated with libbb (very reduce size if used "cat" applet also). Requires last_patch61 for modutils/config.in. git-svn-id: svn://busybox.net/trunk/busybox@5640 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix segfault when testing if reaidng from stdin "-"bug12002-10-061-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5624 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vodz' last_patch57:andersen2002-09-301-5/+3
| | | | | | | | | | | | | | | | | | Hi, Erik. my_getpw(uid/gid) and applets used it have problem: if username for uid not found, applets can`t detect it (but code pessent). Also "%8ld " format is bad: spaces not required (applets have self format or spec format (tar applet) and overflow for "id" applet...) This problem also pressent in stable version. Patch for unstable in attach. --w vodz git-svn-id: svn://busybox.net/trunk/busybox@5613 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Konstantin Isakov <ikm@pisem.net>:andersen2002-09-301-3/+4
| | | | | | | | | | | In most cases, dirname returns the same argument it was given, so this code works nice, but there's one special case: when the name contains no dirname, it returns "." (stored statically in the body of itself), and we get a segfault in attempt to free() it. This patch fixes this problem. git-svn-id: svn://busybox.net/trunk/busybox@5609 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Save status so we know if to delete compressed filebug12002-09-301-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5604 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for using '-' as the filename when reading from stdinbug12002-09-281-9/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5601 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix compress support and prevent a segfaultbug12002-09-279-49/+59
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5599 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix simple define problembug12002-09-261-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5597 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove files made obsolete by new unarchiving codebug12002-09-254-655/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5590 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New common unarchive code.bug12002-09-2531-1386/+1969
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5589 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Modified so that it "works" for archs other than i386... arm in particular.mjn32002-09-171-47/+108
| | | | | | | | | Also tried to clean up the logic a little, and ensure that read errors or invalid archives resulted in error returns. This could use a lot more work... Volunteers? git-svn-id: svn://busybox.net/trunk/busybox@5548 69ca8d6d-28ef-0310-b511-8ec308f3f277