summaryrefslogtreecommitdiff
path: root/archival/libunarchive/get_header_tar.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Apply post-1.10.1 patchesDenis Vlasenko2008-05-081-1/+4
| | | | | Bump version to 1.10.2
* tar: optional autodetection of gz/bz2 compressed tarballs.Denis Vlasenko2008-02-191-8/+44
| | | | | +130 bytes. Closes bug 992.
* tar: real support for -p. +200 if selected.Denis Vlasenko2008-02-141-1/+8
| | | | | By Natanael Copa <natanael.copa at gmail.com>
* tar: do "short EOF" compat only if CONFIG_DESKTOP.Denis Vlasenko2008-02-141-1/+8
| | | | | ash: add a comment about new minor bug
* tar: compat: handle tarballs with only one zero block at the endDenis Vlasenko2008-02-131-1/+9
|
* add comment clarifying busybox's use of non-standard tar headerPaul Fox2007-11-171-0/+3
|
* tar: fix a case where glibc detects bogus buffer overrunDenis Vlasenko2007-11-161-2/+3
| | | | | which is not really there!
* style fix (stray space before ';')Denis Vlasenko2007-07-211-2/+2
|
* tar: improve OLDGNU compat, make old SUN compat configurableDenis Vlasenko2007-06-211-5/+24
|
* do not do utime() on links, it acts on link targets, and we don't want that.Denis Vlasenko2007-06-201-6/+6
| | | | | rename link_name to link_target, less confusing this way.
* remove f wordsDenis Vlasenko2007-03-041-1/+1
|
* tar: handle tarfiles with (broken) checksums a-la Sun.Denis Vlasenko2007-03-031-6/+13
|
* merge post-1.3.0 fixesDenis Vlasenko2006-12-261-1/+3
|
* tar et al: die if bb_copyfd_size copies less than asked for.Denis Vlasenko2006-12-221-1/+1
| | | | (we have bb_copyfd_exact_size now for that kind of usage)
* tar: refuse to untar files with "/../" componentsDenis Vlasenko2006-11-261-1/+6
|
* tar: correctly skip (and warn about) pax headers.Denis Vlasenko2006-11-261-19/+34
| | | | | plug memory leak. save 50 bytes. Wooohooo! we finally can unpack kernel tarballs!
* tar: small fix and small optimizationDenis Vlasenko2006-11-251-2/+4
|
* tar: buglet fixDenis Vlasenko2006-11-241-1/+1
|
* tar: fix and sanitize handling of long filenames/linknamesDenis Vlasenko2006-11-241-20/+45
| | | | | | | | | (GNU extensions 'K' and 'L'). We correctly handle them when untarring now, but unfortunately we still don't use them when tarring! That stupid 100 char limit is still there! The biggest problem is that we don't support 'pax' tar format. Linux kernel tarballs are in this format... shame
* header_verbose_list: stop truncating file size in listingDenis Vlasenko2006-11-241-20/+21
|
* tar:Denis Vlasenko2006-11-241-74/+93
| | | | | | | | | * unpack: handle tar header fields which are not NUL terminated * pack: handle 4+GB files correctly * pack: refuse to store 101+ softlinks (was truncating link target name) * pack: mask mode with 07777
* fixes from Vladimir Dronnikov <dronnikov@gmail.ru>Denis Vlasenko2006-10-101-6/+7
|
* attempt to regularize atoi mess.Denis Vlasenko2006-10-081-23/+22
|
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-7/+3
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* "formated" -> "formatted" throughout the code base."Robert P. J. Day"2006-07-201-20/+20
|
* Cleaup read() and write() variants, plus a couple of new functions likeRob Landley2006-07-161-8/+4
| | | | xlseek and fdlength() for the new mkswap.
* Fix tar so it can extract git-generated tarballs, based on a suggestionRob Landley2006-07-061-5/+4
| | | | from Erik Frederiksen.
* Standardize on the vi editing directives being on the first line."Robert P. J. Day"2006-07-021-0/+1
|
* More size shrinkage.Rob Landley2006-05-291-4/+2
|
* Change llist_add_* to take the address of the list rather than returning the newRob Landley2006-05-261-1/+1
| | | | head, and change all the callers.
* - typos: s/compatability/compatibility/g;s/compatable/compatible/g;Bernhard Reutner-Fischer2006-04-021-2/+2
|
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* use bb_xstrndup vs strndup. Thanks rfelker."Vladimir N. Oleynik"2006-03-011-1/+1
|
* Bug 640: a filename of length exactly 100 could bleed into the next field onRob Landley2006-02-201-19/+11
| | | | | display or extract. (Only shows up when no gnu longname extension, either because it's disabled or because tarball hasn't got it.)
* just whitespaceTim Riker2006-01-251-1/+1
|
* There doesn't seem to be a standard header for makedev(), but this is close.Rob Landley2005-10-111-0/+1
|
* applying fix for:Paul Fox2005-07-201-0/+10
| | | | 0000262: tar -x doesn't believe it has reached the end of archive
* 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
|