summaryrefslogtreecommitdiff
path: root/archival/libunarchive (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Marc A. Lehmann writes:Eric Andersen2003-09-111-1/+1
| | | | | | | | | | | | | | | The tar -x command in busybox does not restore the file mode correctly. The reason is most probably this code in archival/libunarachive/data_extract_all.c: chmod(file_header->name, file_header->mode); chown(file_header->name, file_header->uid, file_header->gid); chown clears the set*id bits (on current versions of linux :). Flipping the order around fixes the problem. (tested with 1.00pre3 from cvs).
* If a tar entry is a regualr file ending in a '/' then its really aGlenn L McGrath2003-09-091-5/+5
| | | | | | | | | | | | directory. From http://www.gnu.org/manual/tar/html_node/tar_123.html REGTYPE AREGTYPE These flags represent a regular file. In order to be compatible with older versions of tar, a typeflag value of AREGTYPE should be silently recognized as a regular file. New archives should be created using REGTYPE. Also, for backward compatibility, tar treats a regular file whose name ends with a slash as a directory.
* Dont unlink when testing !Glenn L McGrath2003-08-282-38/+29
| | | | | | | Always preserve creation date Disable the -p option its for modification date Remove some cpio header debugging noise Syncronise file listing behaviour with upstream.
* Change hardlink handling for tar to work the same way as cpioGlenn L McGrath2003-08-142-44/+46
|
* 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.
* Fixup problem unconditionally converting all hard links to symlinks.Eric Andersen2003-07-161-6/+1
|
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-144-4/+4
|
* Be certain to not abort prematurely when reading stuff from pipes.Eric Andersen2003-07-052-2/+2
|
* Handle hard links by converting them to symlinksGlenn L McGrath2003-06-121-1/+5
|
* unlink a previous file before its extractedGlenn L McGrath2003-04-211-1/+2
|
* Major coreutils update.Manuel Novoa III2003-03-1918-89/+89
|
* Woops, my gunzip fix broke unzip, these cant be staticGlenn L McGrath2003-02-092-4/+4
|
* Moved to libunarchive/unzip.cGlenn L McGrath2003-02-091-69/+0
|
* Fix endian probelm on PPC, i had different types for an extern variable.Glenn L McGrath2003-02-093-27/+80
|
* Fix long standing bug with old gnu tar files, add a check so tar willGlenn L McGrath2003-01-282-12/+21
| | | | | | complain "unknown file type" if it tries to extract an oldgnu tar file and TAR_FEATURE_OLDGNU_COMPATABILITY sint defined. Print a warning if unisupported gnu extensions are encountered.
* A cleaner cleanup that avoids passing an off_t to scanfEric Andersen2002-12-111-5/+9
|
* squash a warningEric Andersen2002-12-111-1/+1
|
* rpm applet by Laurence AndersonGlenn L McGrath2002-12-103-1/+187
|
* Move add_to_list from libunarchive to libbb so it can be of more general use ↵Glenn L McGrath2002-12-083-17/+1
| | | | (eg ifupdown). Changed the name to llist_add_to as i plan on adding more llist_ functions as needed (e.g. llist_free).
* Unlink before mkdir, mknod, symlink to overwriteGlenn L McGrath2002-12-041-0/+3
|
* fix warningGlenn L McGrath2002-12-012-2/+2
|
* StyleGlenn L McGrath2002-11-282-316/+298
|
* Add an input buffer (currently 32kB) to speed things up heaps, it still ↵Glenn L McGrath2002-11-243-28/+77
| | | | requires 25% longer to decompress as compared to upstream.
* Fix long filename supportGlenn L McGrath2002-11-231-10/+17
|
* Speed and memory usage improvements from Laurence AdnersonGlenn L McGrath2002-11-202-164/+190
|
* read_gz patch 3 from Laurence AndersonGlenn L McGrath2002-11-202-144/+188
|
* Use read_gz, remove fork() woohoo!Glenn L McGrath2002-11-191-44/+9
|
* Patch from Laurence Anderson to provide a read_gz function, doesnt require ↵Glenn L McGrath2002-11-172-56/+162
| | | | fork(), pipe(), consistent with read_bz2 and more flexible.
* Allow short reads as we are looping anyway.Glenn L McGrath2002-11-151-1/+2
|
* Minor cleanupsGlenn L McGrath2002-11-133-2/+5
|
* Reduce block size to 512 to prevent short read's when reading from a pipeGlenn L McGrath2002-11-121-10/+5
|
* #ifdef, not just #if... grrrGlenn L McGrath2002-11-081-1/+1
|
* Terminate the buffer with a '\0'Glenn L McGrath2002-11-061-3/+5
|
* Fail silently if a partial tar header is read as tar.bz2 is leaving trailing ↵Glenn L McGrath2002-11-055-3/+102
| | | | junk (not sure why), add some missing files
* enable .tar.bz2 for dpkg-debGlenn L McGrath2002-11-054-3/+4
|
* Change filter paramaters, filters can be more powefull nowGlenn L McGrath2002-11-045-18/+75
|
* Abstract read and seek in unarchiving code, convert bunzip to file ↵Glenn L McGrath2002-11-0319-256/+392
| | | | descriptors, support tar -j
* Fix #define syntaxGlenn L McGrath2002-11-032-2/+2
|
* Move data_extract_all_prefix to dpkg, its only used there.Glenn L McGrath2002-11-032-37/+0
|
* Add copyright notice and license, use strcat+strcpy instead of sprintfGlenn L McGrath2002-11-031-8/+21
|
* Use xread_char to save a few bytes, fix indenting of commentsGlenn L McGrath2002-11-031-23/+12
|
* Move bunzip2 idecompression code to libunarchiveGlenn L McGrath2002-11-032-0/+1790
|
* Make uncompress a seperate applet so it doesnt pull in all the gunzip codeGlenn L McGrath2002-11-012-2/+2
|
* Allow short reads when filling compress bufferGlenn L McGrath2002-11-012-2/+2
|
* Make it a fatal error if bad chksum or crc, if not we should return an error ↵Glenn L McGrath2002-11-011-2/+2
| | | | code
* Move unzip.c uncompress.c from libbb to archiveal/libunarchiveGlenn L McGrath2002-10-221-1/+3
|
* Update dpkg to use new unarchive codeGlenn L McGrath2002-10-193-0/+36
|
* Fix exclude/include problemGlenn L McGrath2002-10-194-29/+19
|
* Find a string in a listGlenn L McGrath2002-10-191-0/+30
|
* Remove entries from the accept list as they are matched so we can determine ↵Glenn L McGrath2002-10-191-0/+8
| | | | if any files that were specified in the list wernt found.