Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Libarchive in FreeBSD is now synced up with 2.7.901a from | kientzle | 2009-12-30 | 1 | -2/+2 | |
| | | | | libarchive.googlecode.com | |||||
* | UU decoder. Now that libarchive can recursively taste input streams, | kientzle | 2009-12-30 | 6 | -0/+767 | |
| | | | | you can do things like this: tar xvf archive.tar.gz.uu | |||||
* | A raft of test changes and improvements from the Googlecode repository. | kientzle | 2009-12-30 | 73 | -1315/+6267 | |
| | | | | | In particular, this includes tests for the new features I've merged over the last few days. | |||||
* | Merge Michihiro NAKAJIMA's significant work on the ISO9660 reader | kientzle | 2009-12-30 | 1 | -323/+1659 | |
| | | | | | | | | | | from googlecode: * Support for zisofs compressed entries * Support for relocated deep directories * Direct calculation of link counts for accurate nlink values even on images that lack Rockridge extensions * Faster handling of the internal file lists. * Better detection of ISO variants | |||||
* | Rationalize the support for cryptographic hashes. | kientzle | 2009-12-29 | 2 | -105/+250 | |
| | ||||||
* | Essentially eliminate problems with false hardlinks in POSIX cpio | kientzle | 2009-12-29 | 1 | -16/+91 | |
| | | | | | archives by generating synthetic ino values and mapping values from disk into the new values. | |||||
* | Clear extraneous error messages. | kientzle | 2009-12-29 | 1 | -0/+2 | |
| | ||||||
* | Zip write support for libarchive. | kientzle | 2009-12-29 | 5 | -0/+671 | |
| | | | | | The initial implementation was developed by Anselm Strauss as part of Google Summer of Code 2008, then completed by Joerg Sonnenberger. | |||||
* | If we're linking against liblzma, allow the decompressor to use up to | kientzle | 2009-12-29 | 1 | -23/+87 | |
| | | | | | | | | 1<<30 bytes of memory, which is required for some streams. Also, try to make the taster more discriminating about raw lzma streams. The detection here is still really weak, though; please use xz instead of lzma. | |||||
* | Minor style fixes plus a fix for an obscure crash on certain malformed | kientzle | 2009-12-29 | 1 | -11/+5 | |
| | | | | mtree files. | |||||
* | Be a little more skeptical of dev/ino matches when reading cpio files. | kientzle | 2009-12-29 | 1 | -35/+35 | |
| | | | | This eliminates some false-positives in the hardlink detection logic. | |||||
* | Style and portability fixes for pax writer. Mostly very routine, except for: | kientzle | 2009-12-29 | 1 | -32/+26 | |
| | | | | | * Use ino64 where appropriate * Don't pass atime or nsec to ustar formatter | |||||
* | Style fixes to tar reader: | kientzle | 2009-12-29 | 1 | -16/+16 | |
| | | | | | | | For portability, prefer int64_t to off_t. Improve numeric overflow handling when parsing. Fix some variable types. Eliminate some unused results. | |||||
* | Various style fixes to the 'newc' cpio writer: | kientzle | 2009-12-29 | 1 | -17/+26 | |
| | | | | | | * Warn about truncation of ino * Use a macro to hide the somewhat obscure pad-to-multiple-of-4 calculation * Eliminate some unused variables | |||||
* | Various fixes when creating objects on disk: | kientzle | 2009-12-29 | 1 | -23/+74 | |
| | | | | | | | | | * Write xattrs last instead of first (required on platforms that use system xattrs for security attributes) * Better handling of chdir() failures * Don't bother trying to shorten files via seek()/write() * Fix build on systems that lack link()/symlink()/mknod() * Prefer futimens()/utimensat() when they're present | |||||
* | Catch decompression failures earlier. In particular, this gives | kientzle | 2009-12-29 | 1 | -0/+8 | |
| | | | | immediate feedback if we fail to fork an external decompression program. | |||||
* | Various style and portability fixes, including: | kientzle | 2009-12-29 | 1 | -12/+35 | |
| | | | | | | * Enforce option interface can only be used before the archive is opened * Correctly handle large skips on platforms with 32-bit off_t * Use int64_t instead of off_t | |||||
* | 64-bit ino support and discourage bad use of this header. | kientzle | 2009-12-29 | 1 | -1/+5 | |
| | ||||||
* | Portability. | kientzle | 2009-12-28 | 1 | -1/+3 | |
| | ||||||
* | Remove some dead assignments, fix some declarations. | kientzle | 2009-12-28 | 1 | -3/+1 | |
| | ||||||
* | Clarify an example so Linux folks won't keep getting confused by this point. | kientzle | 2009-12-28 | 1 | -0/+3 | |
| | ||||||
* | Compatibility with old systems with non-POSIX getpwuid_r/getgrgid_r. | kientzle | 2009-12-28 | 1 | -0/+2 | |
| | ||||||
* | Fix some unused variables and dead assignments. | kientzle | 2009-12-28 | 3 | -5/+2 | |
| | ||||||
* | Remove an unused variable and an unreachable statement. | kientzle | 2009-12-28 | 1 | -3/+1 | |
| | ||||||
* | Fix line endings. | kientzle | 2009-12-28 | 1 | -187/+187 | |
| | ||||||
* | Discourage external use of this header. | kientzle | 2009-12-28 | 1 | -0/+4 | |
| | ||||||
* | Remove unused variable. | kientzle | 2009-12-28 | 1 | -2/+0 | |
| | ||||||
* | O_BINARY for Windows. | kientzle | 2009-12-28 | 1 | -0/+9 | |
| | ||||||
* | Handle Zip CRC validation for uncompressed Zip archives even on | kientzle | 2009-12-28 | 2 | -6/+71 | |
| | | | | platforms that lack zlib. | |||||
* | Include limits.h; remove unused variable. | kientzle | 2009-12-28 | 1 | -3/+3 | |
| | ||||||
* | Use ino64 interface. | kientzle | 2009-12-28 | 2 | -6/+6 | |
| | ||||||
* | Use new ino64 interface. | kientzle | 2009-12-28 | 1 | -2/+1 | |
| | ||||||
* | New archive_file_count() utility. | kientzle | 2009-12-28 | 7 | -5/+42 | |
| | ||||||
* | Portability fixes. | kientzle | 2009-12-28 | 1 | -5/+14 | |
| | ||||||
* | Various portability fixes, plus: | kientzle | 2009-12-28 | 5 | -107/+300 | |
| | | | | | * New "ino64" field. * New UTF8 interfaces for hardlink/symlink updates | |||||
* | Remove an unused variable and an unnecessary increment. | kientzle | 2009-12-28 | 1 | -3/+1 | |
| | ||||||
* | Eliminate an unused assignment. | kientzle | 2009-12-28 | 1 | -2/+2 | |
| | ||||||
* | Portability: Set the file descriptor to binary mode on Win32 | kientzle | 2009-12-28 | 3 | -0/+22 | |
| | ||||||
* | Discourage outside use of this internal header. | kientzle | 2009-12-28 | 1 | -0/+4 | |
| | ||||||
* | Remove dead assignment. | kientzle | 2009-12-28 | 1 | -1/+0 | |
| | ||||||
* | Portability: | kientzle | 2009-12-28 | 1 | -5/+37 | |
| | | | | | * some non-FreeBSD platforms do actually define __FBSDID() in sys/cdefs.h * Borland C <sigh> | |||||
* | Portability: terminate abnormally via abort() instead of segfault, | kientzle | 2009-12-28 | 1 | -4/+12 | |
| | | | | | watch the return value from write(), and avoid signed arithmetic on unsigned values. | |||||
* | Allow more formats to be active at a time; discourage outside use. | kientzle | 2009-12-28 | 1 | -1/+5 | |
| | ||||||
* | Enforce this as an internal-only header. | kientzle | 2009-12-28 | 1 | -0/+4 | |
| | ||||||
* | Discourage people from using this header outside of libarchive. | kientzle | 2009-12-28 | 1 | -0/+4 | |
| | ||||||
* | Compatibility: I found some more compilers that don't like 'inline' keyword. | kientzle | 2009-12-28 | 1 | -1/+5 | |
| | | | | Protection: Discourage people from using this header outside libarchive. | |||||
* | Sync with googlecode some changes that have no impact on FreeBSD. | kientzle | 2009-12-28 | 1 | -1/+6 | |
| | ||||||
* | Compatibility fix for some older systems with non-POSIX getgrnam_r/getpwnam_r | kientzle | 2009-12-28 | 1 | -2/+4 | |
| | | | | and a minor style fix for the hash function. | |||||
* | Catch certain gzip failures at close time. | kientzle | 2009-12-28 | 1 | -0/+2 | |
| | ||||||
* | Remove a dead assignment. | kientzle | 2009-12-28 | 1 | -1/+0 | |
| |