aboutsummaryrefslogtreecommitdiff
path: root/archival/libunarchive
AgeCommit message (Collapse)Author
2003-09-11Marc A. Lehmann writes:Eric Andersen
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).
2003-09-09If a tar entry is a regualr file ending in a '/' then its really aGlenn L McGrath
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.
2003-08-28Dont unlink when testing !Glenn L McGrath
Always preserve creation date Disable the -p option its for modification date Remove some cpio header debugging noise Syncronise file listing behaviour with upstream.
2003-08-14Change hardlink handling for tar to work the same way as cpioGlenn L McGrath
2003-07-31Fix bug when handling debian packages.Glenn L McGrath
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.
2003-07-16Fixup problem unconditionally converting all hard links to symlinks.Eric Andersen
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-07-05Be certain to not abort prematurely when reading stuff from pipes.Eric Andersen
2003-06-12Handle hard links by converting them to symlinksGlenn L McGrath
2003-04-21unlink a previous file before its extractedGlenn L McGrath
2003-03-19Major coreutils update.Manuel Novoa III
2003-02-09Woops, my gunzip fix broke unzip, these cant be staticGlenn L McGrath
2003-02-09Moved to libunarchive/unzip.cGlenn L McGrath
2003-02-09Fix endian probelm on PPC, i had different types for an extern variable.Glenn L McGrath
2003-01-28Fix long standing bug with old gnu tar files, add a check so tar willGlenn L McGrath
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.
2002-12-11A cleaner cleanup that avoids passing an off_t to scanfEric Andersen
2002-12-11squash a warningEric Andersen
2002-12-10rpm applet by Laurence AndersonGlenn L McGrath
2002-12-08Move add_to_list from libunarchive to libbb so it can be of more general use ↵Glenn L McGrath
(eg ifupdown). Changed the name to llist_add_to as i plan on adding more llist_ functions as needed (e.g. llist_free).
2002-12-04Unlink before mkdir, mknod, symlink to overwriteGlenn L McGrath
2002-12-01fix warningGlenn L McGrath
2002-11-28StyleGlenn L McGrath
2002-11-24Add an input buffer (currently 32kB) to speed things up heaps, it still ↵Glenn L McGrath
requires 25% longer to decompress as compared to upstream.
2002-11-23Fix long filename supportGlenn L McGrath
2002-11-20Speed and memory usage improvements from Laurence AdnersonGlenn L McGrath
2002-11-20read_gz patch 3 from Laurence AndersonGlenn L McGrath
2002-11-19Use read_gz, remove fork() woohoo!Glenn L McGrath
2002-11-17Patch from Laurence Anderson to provide a read_gz function, doesnt require ↵Glenn L McGrath
fork(), pipe(), consistent with read_bz2 and more flexible.
2002-11-15Allow short reads as we are looping anyway.Glenn L McGrath
2002-11-13Minor cleanupsGlenn L McGrath
2002-11-12Reduce block size to 512 to prevent short read's when reading from a pipeGlenn L McGrath
2002-11-08#ifdef, not just #if... grrrGlenn L McGrath
2002-11-06Terminate the buffer with a '\0'Glenn L McGrath
2002-11-05Fail silently if a partial tar header is read as tar.bz2 is leaving trailing ↵Glenn L McGrath
junk (not sure why), add some missing files
2002-11-05enable .tar.bz2 for dpkg-debGlenn L McGrath
2002-11-04Change filter paramaters, filters can be more powefull nowGlenn L McGrath
2002-11-03Abstract read and seek in unarchiving code, convert bunzip to file ↵Glenn L McGrath
descriptors, support tar -j
2002-11-03Fix #define syntaxGlenn L McGrath
2002-11-03Move data_extract_all_prefix to dpkg, its only used there.Glenn L McGrath
2002-11-03Add copyright notice and license, use strcat+strcpy instead of sprintfGlenn L McGrath
2002-11-03Use xread_char to save a few bytes, fix indenting of commentsGlenn L McGrath
2002-11-03Move bunzip2 idecompression code to libunarchiveGlenn L McGrath
2002-11-01Make uncompress a seperate applet so it doesnt pull in all the gunzip codeGlenn L McGrath
2002-11-01Allow short reads when filling compress bufferGlenn L McGrath
2002-11-01Make it a fatal error if bad chksum or crc, if not we should return an error ↵Glenn L McGrath
code
2002-10-22Move unzip.c uncompress.c from libbb to archiveal/libunarchiveGlenn L McGrath
2002-10-19Update dpkg to use new unarchive codeGlenn L McGrath
2002-10-19Fix exclude/include problemGlenn L McGrath
2002-10-19Find a string in a listGlenn L McGrath
2002-10-19Remove entries from the accept list as they are matched so we can determine ↵Glenn L McGrath
if any files that were specified in the list wernt found.