summaryrefslogtreecommitdiff
path: root/archival/libunarchive/get_header_tar.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* BusyBox has no business hard coding the number of major and minor bits for aEric Andersen2004-07-261-2/+2
| | | | | | | | | dev_t. This is especially important now that the user space concept of a dev_t and the kernel concept of a dev_t are divergant. The only bit of user space allowed to know the number of major and minor bits is include/sys/sysmacros.h (i.e. part of libc). When used with a current C library and a 2.6.x kernel, this fix should allow BusyBox to support wide device major/minor numbers. -Erik
* Larry Doolittle writes:Eric Andersen2004-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-2/+2
|
* Fix up hard linksGlenn L McGrath2004-02-201-3/+5
|
* A strict interpretation of the ustar format requires the type flag to beGlenn L McGrath2004-02-201-11/+8
| | | | | interpreted, we cannot depend on the file type being set in the mode field.
* Add extra comments, freakout if a pax archive is encoutered.Glenn L McGrath2004-02-191-9/+24
|
* Remove debuggingGlenn L McGrath2004-02-171-2/+0
|
* Dont strip trailing '/' until _after_ i test to set if its there !Glenn L McGrath2004-02-171-12/+17
|
* Fix tar hard linksGlenn L McGrath2003-11-271-3/+2
|
* As we no longer use function pointers for read in common archiving codeGlenn L McGrath2003-11-211-1/+1
| | | | | | | 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.
* Fix tar-handles-nested-exclude testcaseGlenn L McGrath2003-11-201-0/+8
|
* Dont free filename, its needed in the extracted files list.Glenn L McGrath2003-11-171-2/+1
|
* Fix memory leaksGlenn L McGrath2003-11-151-0/+3
|
* Keep trying to find a good header, if we exit it will cause .tar.gzGlenn L McGrath2003-11-141-1/+1
| | | | files to compute incorrect crc and length for gzip
* Fix tar -j supportGlenn L McGrath2003-11-051-1/+1
| | | | | | | | | | | | | | Use the old fork() method of tar compression support, rather than read_bz2.... - (*uncompress)(int in, int out) seems like a more natural interface for compression code. - it might improve performance by seperating the work into one cpu bound and one io bound process. - There is extra code required to do read_[gz|bunzip] since (*uncompress)(int in, int out) will normally be used by the standalone compression applet. There have been problems with this method so if you see a "Short read" error let me know.
* Fix handling of hardlinks when OLDGNU and GNU extensions arent enabled.Glenn L McGrath2003-09-121-3/+0
|
* Use the typeflag to identify if its a hardlink on OLD and GNU posixGlenn L McGrath2003-09-121-6/+6
| | | | modes, fixes a bug extracting hardlinks to symlinks.
* 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.
* Change hardlink handling for tar to work the same way as cpioGlenn L McGrath2003-08-141-2/+6
|
* Fixup problem unconditionally converting all hard links to symlinks.Eric Andersen2003-07-161-6/+1
|
* Handle hard links by converting them to symlinksGlenn L McGrath2003-06-121-1/+5
|
* Major coreutils update.Manuel Novoa III2003-03-191-5/+5
|
* Fix long standing bug with old gnu tar files, add a check so tar willGlenn L McGrath2003-01-281-12/+19
| | | | | | 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.
* Move add_to_list from libunarchive to libbb so it can be of more general use ↵Glenn L McGrath2002-12-081-1/+1
| | | | (eg ifupdown). Changed the name to llist_add_to as i plan on adding more llist_ functions as needed (e.g. llist_free).
* Fix long filename supportGlenn L McGrath2002-11-231-10/+17
|
* Fail silently if a partial tar header is read as tar.bz2 is leaving trailing ↵Glenn L McGrath2002-11-051-2/+2
| | | | junk (not sure why), add some missing files
* Change filter paramaters, filters can be more powefull nowGlenn L McGrath2002-11-041-1/+1
|
* Abstract read and seek in unarchiving code, convert bunzip to file ↵Glenn L McGrath2002-11-031-5/+4
| | | | descriptors, support tar -j
* Fix exclude/include problemGlenn L McGrath2002-10-191-0/+7
|
* Fix compress support and prevent a segfaultGlenn L McGrath2002-09-271-1/+0
|
* New common unarchive code.Glenn L McGrath2002-09-251-53/+58
|
* Support for GNU style long filename and linknamesGlenn L McGrath2002-09-151-10/+39
|
* Specify castGlenn L McGrath2002-08-221-2/+2
|
* Run through ident, fix commentsGlenn L McGrath2002-08-221-49/+49
|
* Honour the USTAR prefix field, this enables a 155 byte path length plus the ↵Glenn L McGrath2002-08-221-2/+6
| | | | | | normal 100 byte filename. The catch is gnu tar cannot create archives that use the prefix field, you need to use s-tar.
* Enable support for the old tar header format, enable via menu'sGlenn L McGrath2002-08-131-4/+36
|
* 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/+99