]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
15 years agoIf file contents don't match, dump the expected value as well.
Tim Kientzle [Wed, 17 Feb 2010 05:50:02 +0000 (00:50 -0500)] 
If file contents don't match, dump the expected value as well.

SVN-Revision: 1904

15 years agoAdd a couple of assertions to verify archive_position_compressed()
Tim Kientzle [Wed, 17 Feb 2010 05:49:30 +0000 (00:49 -0500)] 
Add a couple of assertions to verify archive_position_compressed()
and archive_position_uncompressed().

SVN-Revision: 1903

15 years agoIf the returned blocksize is wrong, you won't get anything useful out
Tim Kientzle [Mon, 15 Feb 2010 04:51:41 +0000 (23:51 -0500)] 
If the returned blocksize is wrong, you won't get anything useful out
of the archive's error info.

SVN-Revision: 1902

15 years ago"none" is the default compression; there's no need to set it explicitly.
Tim Kientzle [Mon, 15 Feb 2010 03:35:17 +0000 (22:35 -0500)] 
"none" is the default compression; there's no need to set it explicitly.

SVN-Revision: 1901

15 years agoModernize this test.
Tim Kientzle [Mon, 15 Feb 2010 03:33:53 +0000 (22:33 -0500)] 
Modernize this test.

SVN-Revision: 1900

15 years agoModernize this test.
Tim Kientzle [Mon, 15 Feb 2010 03:31:39 +0000 (22:31 -0500)] 
Modernize this test.

SVN-Revision: 1899

15 years agoAdd a missing newline.
Tim Kientzle [Mon, 15 Feb 2010 03:28:19 +0000 (22:28 -0500)] 
Add a missing newline.

SVN-Revision: 1898

15 years agoEliminate build failure on msys. Do not use _wsopen_s().
Michihiro NAKAJIMA [Sat, 13 Feb 2010 06:05:32 +0000 (01:05 -0500)] 
Eliminate build failure on msys. Do not use _wsopen_s().

SVN-Revision: 1897

15 years agoMake a Windows version of __archive_mktemp() in archive_windows.c
Michihiro NAKAJIMA [Fri, 12 Feb 2010 08:33:08 +0000 (03:33 -0500)] 
Make a Windows version of __archive_mktemp() in archive_windows.c
and merge __la_mkstemp() and __archive_mktemp() because
__la_mkstemp() was only used by __archive_mktemp().

SVN-Revision: 1896

15 years agoIntroduce a function __archive_mktemp() to create a temporary file,
Michihiro NAKAJIMA [Thu, 11 Feb 2010 08:28:04 +0000 (03:28 -0500)] 
Introduce a function __archive_mktemp() to create a temporary file,
which will be used by ISO writer and xar writer.

SVN-Revision: 1895

15 years agoThe last sparse block info must reach the end of file.
Michihiro NAKAJIMA [Thu, 11 Feb 2010 05:50:35 +0000 (00:50 -0500)] 
The last sparse block info must reach the end of file.

SVN-Revision: 1894

15 years agoSanity check of adding sparse info.
Michihiro NAKAJIMA [Thu, 11 Feb 2010 04:52:45 +0000 (23:52 -0500)] 
Sanity check of adding sparse info.

SVN-Revision: 1893

15 years agoRename archive_read_finish to archive_read_free and
Tim Kientzle [Mon, 8 Feb 2010 07:18:22 +0000 (02:18 -0500)] 
Rename archive_read_finish to archive_read_free and
archive_write_finish to archive_write_free.  Update all clients,
tests, and documentation to use the new names exclusively.  (Though
I've not yet run a global search-and-replace against the Wiki.  I'll
do that shortly.)

I've preserved the old names as aliases, scheduled to be removed with
libarchive 4.x, so there is no immediate impact to existing code from
this change.

SVN-Revision: 1891

15 years agoRip out the rest of the legacy 1.x API.
Tim Kientzle [Mon, 8 Feb 2010 02:45:06 +0000 (21:45 -0500)] 
Rip out the rest of the legacy 1.x API.

SVN-Revision: 1890

15 years agosvn:ignore a bunch of constructed CMake files, to ease in-tree development.
Tim Kientzle [Mon, 8 Feb 2010 02:31:17 +0000 (21:31 -0500)] 
svn:ignore a bunch of constructed CMake files, to ease in-tree development.

SVN-Revision: 1889

15 years agoMore broad style cleanups of libarchive_test.
Tim Kientzle [Mon, 8 Feb 2010 02:20:50 +0000 (21:20 -0500)] 
More broad style cleanups of libarchive_test.

SVN-Revision: 1888

15 years agoStyle: Update a bunch of old assert() and assertA() calls.
Tim Kientzle [Sun, 7 Feb 2010 22:49:11 +0000 (17:49 -0500)] 
Style:  Update a bunch of old assert() and assertA() calls.

SVN-Revision: 1887

15 years agoRip out the remaining support for old libarchive 1.x APIs.
Tim Kientzle [Sun, 7 Feb 2010 22:25:59 +0000 (17:25 -0500)] 
Rip out the remaining support for old libarchive 1.x APIs.

SVN-Revision: 1886

15 years agoMerge r1884 from trunk: Watch the return value from libarchive when
Tim Kientzle [Sat, 6 Feb 2010 20:32:14 +0000 (15:32 -0500)] 
Merge r1884 from trunk:  Watch the return value from libarchive when
requesting LZMA compression.

SVN-Revision: 1885

15 years agoWhen trying to set LZMA compression, pay attention to the return value
Tim Kientzle [Sat, 6 Feb 2010 20:30:53 +0000 (15:30 -0500)] 
When trying to set LZMA compression, pay attention to the return value
from libarchive.

SVN-Revision: 1884

15 years agoWhen a sparse file is stored, use a special name in ustar header
Michihiro NAKAJIMA [Sat, 6 Feb 2010 05:32:55 +0000 (00:32 -0500)] 
When a sparse file is stored, use a special name in ustar header
according to GNU PAX Format 1.0.

SVN-Revision: 1883

15 years agoGuard against out-of-range nanosecond time values and make it easy for
Tim Kientzle [Sat, 6 Feb 2010 05:10:13 +0000 (00:10 -0500)] 
Guard against out-of-range nanosecond time values and make it easy for
people to make small time adjustments using code such as:
   archive_entry_set_ctime(entry,
      archive_entry_ctime(entry),
      archive_entry_ctime_nsec(entry) + 123456);

SVN-Revision: 1882

15 years agoUse ENOTTY instead of EINVAL to decide if linux kernel
Michihiro NAKAJIMA [Sat, 6 Feb 2010 03:58:47 +0000 (22:58 -0500)] 
Use ENOTTY instead of EINVAL to decide if linux kernel
supports FS_IOC_FIEMAP or not.

SVN-Revision: 1881

15 years agoAdd a test for writing sparse info to PAX header.
Michihiro NAKAJIMA [Sat, 6 Feb 2010 02:24:04 +0000 (21:24 -0500)] 
Add a test for writing sparse info to PAX header.

SVN-Revision: 1880

15 years agoDo not report a sparse block if its offset is zero and its length is
Michihiro NAKAJIMA [Sat, 6 Feb 2010 01:41:47 +0000 (20:41 -0500)] 
Do not report a sparse block if its offset is zero and its length is
the same as its file size. In this case, the file is not sparse.

SVN-Revision: 1879

15 years agoWrite a sparse info to PAX header, which respects GNU PAX Format 1.0
Michihiro NAKAJIMA [Sat, 6 Feb 2010 00:51:44 +0000 (19:51 -0500)] 
Write a sparse info to PAX header, which respects GNU PAX Format 1.0
for portability.

This remains some work:
- Rename a filename to <dir>/GNUSparseFile.<pid>/<filename>.
- Handle the non-ascii filename.

SVN-Revision: 1878

15 years agoReport an errono with an error description.
Michihiro NAKAJIMA [Fri, 5 Feb 2010 06:18:01 +0000 (01:18 -0500)] 
Report an errono with an error description.

SVN-Revision: 1876

15 years agoGet a error description at test_read_disk_from_file.
Michihiro NAKAJIMA [Fri, 5 Feb 2010 06:03:26 +0000 (01:03 -0500)] 
Get a error description at test_read_disk_from_file.

SVN-Revision: 1874

15 years ago2.8.0 v2.8.0
Tim Kientzle [Fri, 5 Feb 2010 04:58:18 +0000 (23:58 -0500)] 
2.8.0

SVN-Revision: 1872

15 years agoFix test_read_format_cpio_afio failure on the some platform,
Michihiro NAKAJIMA [Fri, 5 Feb 2010 04:48:23 +0000 (23:48 -0500)] 
Fix test_read_format_cpio_afio failure on the some platform,
on which the size of uid_t is too small to set a over 65535 value.
But this fix will be removed when we use int64_t for uid.

SVN-Revision: 1871

15 years agoGet a sprase info in GNU PAX formart "1.0" before the process of
Michihiro NAKAJIMA [Fri, 5 Feb 2010 04:26:39 +0000 (23:26 -0500)] 
Get a sprase info in GNU PAX formart "1.0" before the process of
reading file data so that we reliably get the sparse info with
archive_entry_sparse_*() functions.

SVN-Revision: 1870

15 years agoAdd support for afio large ASCII header.
Michihiro NAKAJIMA [Thu, 4 Feb 2010 13:22:04 +0000 (08:22 -0500)] 
Add support for afio large ASCII header.

SVN-Revision: 1869

15 years agoOops, one more change to the previous commit.
Michihiro NAKAJIMA [Thu, 4 Feb 2010 05:09:03 +0000 (00:09 -0500)] 
Oops, one more change to the previous commit.
Use exit_sts for return code instead of ARCHIVE_OK.

SVN-Revision: 1867

15 years agoFix test failure on linux version of which is older than 2.6.28.
Michihiro NAKAJIMA [Thu, 4 Feb 2010 05:00:21 +0000 (00:00 -0500)] 
Fix test failure on linux version of which is older than 2.6.28.

SVN-Revision: 1866

15 years agoFix build failure on msys.
Michihiro NAKAJIMA [Thu, 4 Feb 2010 01:30:44 +0000 (20:30 -0500)] 
Fix build failure on msys.

SVN-Revision: 1865

15 years agoFix build failure on Cygwin.
Michihiro NAKAJIMA [Thu, 4 Feb 2010 00:37:27 +0000 (19:37 -0500)] 
Fix build failure on Cygwin.

SVN-Revision: 1864

15 years agoFix build failure on Borland.
Michihiro NAKAJIMA [Wed, 3 Feb 2010 23:59:47 +0000 (18:59 -0500)] 
Fix build failure on Borland.

SVN-Revision: 1863

15 years agoWindows needs a special mark to create a sparse file.
Michihiro NAKAJIMA [Tue, 2 Feb 2010 11:11:30 +0000 (06:11 -0500)] 
Windows needs a special mark to create a sparse file.

SVN-Revision: 1857

15 years agoDetermine sparse files through API such as lseek(HOLE).
Michihiro NAKAJIMA [Tue, 2 Feb 2010 11:09:17 +0000 (06:09 -0500)] 
Determine sparse files through API such as lseek(HOLE).

SVN-Revision: 1856

15 years agoIntroduce new API archive_entry_sparse_* to manage sparse files.
Michihiro NAKAJIMA [Tue, 2 Feb 2010 11:02:08 +0000 (06:02 -0500)] 
Introduce new API archive_entry_sparse_* to manage sparse files.

SVN-Revision: 1855

15 years agoFirst rough cut at integrating write support for Apple's copyfile()
Tim Kientzle [Tue, 2 Feb 2010 07:35:35 +0000 (02:35 -0500)] 
First rough cut at integrating write support for Apple's copyfile()
extension.  This has not been tested at all...

SVN-Revision: 1854

15 years agoChange this to use positive flags, not negative.
Tim Kientzle [Tue, 2 Feb 2010 07:29:22 +0000 (02:29 -0500)] 
Change this to use positive flags, not negative.
Idioms like "if (!disabled)" are really hard to read.

SVN-Revision: 1853

15 years agoFirst step towards integrating Mac OS "copyfile" extension from Apple.
Tim Kientzle [Mon, 1 Feb 2010 05:51:37 +0000 (00:51 -0500)] 
First step towards integrating Mac OS "copyfile" extension from Apple.
This part adds probes for the copyfile.h header, and adds a new command-line
option --disable-copyfile, which does nothing on non-MacOS systems.

SVN-Revision: 1852

15 years agoMinor adjustments to the bsdtar.1 man page.
Tim Kientzle [Mon, 1 Feb 2010 03:52:55 +0000 (22:52 -0500)] 
Minor adjustments to the bsdtar.1 man page.
In particular:
  * Downplay the "tape" aspect; few people use tar with tape drives any more.
  * Document default device a bit more carefully.
  * Update supported formats.
  * Clarify the history of this implementation.

SVN-Revision: 1851

15 years agoCorrect the spelling of "stat".
Tim Kientzle [Mon, 1 Feb 2010 03:29:05 +0000 (22:29 -0500)] 
Correct the spelling of "stat".

SVN-Revision: 1850

15 years agoMerge r203183 from svn.freebsd.org: Support -V option as in GNU cpio.
Tim Kientzle [Mon, 1 Feb 2010 03:28:17 +0000 (22:28 -0500)] 
Merge r203183 from svn.freebsd.org:  Support -V option as in GNU cpio.

Submitted by: Philip Kizer

SVN-Revision: 1849

15 years agoSupport "-" (stdio) for the TAPE environment variable.
Tim Kientzle [Mon, 1 Feb 2010 02:56:52 +0000 (21:56 -0500)] 
Support "-" (stdio) for the TAPE environment variable.
On MacOS, set "-" as the default device, since there is no tape support.

SVN-Revision: 1848

15 years agoMerge r1846 from trunk: Eliminate compiling failure on OpenSolaris.
Michihiro NAKAJIMA [Fri, 29 Jan 2010 00:10:37 +0000 (19:10 -0500)] 
Merge r1846 from trunk: Eliminate compiling failure on OpenSolaris.

SVN-Revision: 1847

15 years agoEliminate compiling failure on OpenSolaris.
Michihiro NAKAJIMA [Fri, 29 Jan 2010 00:08:15 +0000 (19:08 -0500)] 
Eliminate compiling failure on OpenSolaris.
Define __EXTENSIONS__ macro through AC_USE_SYSTEM_EXTENSIONS.

SVN-Revision: 1846

15 years agoMerge r1844 from trunk: Properly initialize struct tm object.
Michihiro NAKAJIMA [Thu, 28 Jan 2010 02:44:47 +0000 (21:44 -0500)] 
Merge r1844 from trunk: Properly initialize struct tm object.

SVN-Revision: 1845

15 years agoProperly initialize struct tm object.
Michihiro NAKAJIMA [Thu, 28 Jan 2010 02:41:06 +0000 (21:41 -0500)] 
Properly initialize struct tm object.

SVN-Revision: 1844

15 years agoMerge r1842 from trunk: Use dev instead of rdev for a "deviceno" entry.
Michihiro NAKAJIMA [Tue, 26 Jan 2010 20:22:22 +0000 (15:22 -0500)] 
Merge r1842 from trunk: Use dev instead of rdev for a "deviceno" entry.

SVN-Revision: 1843

15 years agoBug fix; on xar reader, use dev instead of rdev for a "deviceno" entry.
Michihiro NAKAJIMA [Fri, 22 Jan 2010 19:22:58 +0000 (14:22 -0500)] 
Bug fix; on xar reader, use dev instead of rdev for a "deviceno" entry.

SVN-Revision: 1842

15 years agofix build error on Tru64, where UF_NODUMP is not defined
Björn Jacke [Wed, 20 Jan 2010 09:45:12 +0000 (04:45 -0500)] 
fix build error on Tru64, where UF_NODUMP is not defined
(merge svn r1837 from trunk)

SVN-Revision: 1841

15 years agoUpdate NEWS a bit.
Tim Kientzle [Wed, 20 Jan 2010 05:49:03 +0000 (00:49 -0500)] 
Update NEWS a bit.

SVN-Revision: 1840

15 years agoMake the policy for -Werror/-Wall here a little clearer.
Tim Kientzle [Wed, 20 Jan 2010 05:47:53 +0000 (00:47 -0500)] 
Make the policy for -Werror/-Wall here a little clearer.

SVN-Revision: 1839

15 years agoDisable -Werror -Wall for the upcoming 2.8 ship.
Tim Kientzle [Wed, 20 Jan 2010 05:45:19 +0000 (00:45 -0500)] 
Disable -Werror -Wall for the upcoming 2.8 ship.

SVN-Revision: 1838

15 years agofix build error on Tru64, where UF_NODUMP is not defined
Björn Jacke [Tue, 19 Jan 2010 23:38:22 +0000 (18:38 -0500)] 
fix build error on Tru64, where UF_NODUMP is not defined

SVN-Revision: 1837

15 years agoMerge r1833 from trunk: Report errors for nonexistent files from
Tim Kientzle [Mon, 18 Jan 2010 18:01:47 +0000 (13:01 -0500)] 
Merge r1833 from trunk:  Report errors for nonexistent files from
archive_read_disk_entry_from_file() and from bsdcpio.

SVN-Revision: 1836

15 years agoMerge r1832 from trunk: Don't use futimes() on Cygwin.
Tim Kientzle [Mon, 18 Jan 2010 18:00:42 +0000 (13:00 -0500)] 
Merge r1832 from trunk: Don't use futimes() on Cygwin.

SVN-Revision: 1835

15 years agoResync mergeinfo. It was inadvertently omitted from previous merges.
Tim Kientzle [Mon, 18 Jan 2010 17:59:53 +0000 (12:59 -0500)] 
Resync mergeinfo.  It was inadvertently omitted from previous merges.

SVN-Revision: 1834

15 years agoReturn proper errors from archive_read_disk_entry_from_file() if
Tim Kientzle [Mon, 18 Jan 2010 17:55:30 +0000 (12:55 -0500)] 
Return proper errors from archive_read_disk_entry_from_file() if
you're asked for information about a non-existent file.
Update cpio to actually use this properly to report errors for
nonexistent files and exit with a delayed error if there were
files that could not be read.

SVN-Revision: 1833

15 years agoWindows resets atime at file close, so we can't use futimes() on Cygwin.
Tim Kientzle [Mon, 18 Jan 2010 16:23:42 +0000 (11:23 -0500)] 
Windows resets atime at file close, so we can't use futimes() on Cygwin.

SVN-Revision: 1832

15 years agoMerge r1829 from trunk: Ignore end-of-line variations for this test.
Tim Kientzle [Sun, 17 Jan 2010 22:58:36 +0000 (17:58 -0500)] 
Merge r1829 from trunk: Ignore end-of-line variations for this test.

SVN-Revision: 1831

15 years agoMerge r1828 from trunk: Print the error before freeing the string.
Tim Kientzle [Sun, 17 Jan 2010 22:57:49 +0000 (17:57 -0500)] 
Merge r1828 from trunk: Print the error before freeing the string.

SVN-Revision: 1830

15 years agoWhen verifying the files recognized by tar, ignore end-of-line variations.
Tim Kientzle [Sun, 17 Jan 2010 22:55:10 +0000 (17:55 -0500)] 
When verifying the files recognized by tar, ignore end-of-line variations.

SVN-Revision: 1829

15 years agoPrint the string before freeing it.
Tim Kientzle [Sun, 17 Jan 2010 22:53:59 +0000 (17:53 -0500)] 
Print the string before freeing it.

SVN-Revision: 1828

15 years agoCopy 'trunk' in preparation for the 2.8 release.
Tim Kientzle [Sun, 17 Jan 2010 00:21:36 +0000 (19:21 -0500)] 
Copy 'trunk' in preparation for the 2.8 release.

SVN-Revision: 1827

15 years agoSort the list of files to delete.
Tim Kientzle [Sat, 16 Jan 2010 09:20:22 +0000 (04:20 -0500)] 
Sort the list of files to delete.

SVN-Revision: 1826

15 years agoClean tweaks.
Tim Kientzle [Sat, 16 Jan 2010 09:00:19 +0000 (04:00 -0500)] 
Clean tweaks.

SVN-Revision: 1825

15 years agopid_t probe for Windows.
Tim Kientzle [Sat, 16 Jan 2010 08:57:37 +0000 (03:57 -0500)] 
pid_t probe for Windows.

SVN-Revision: 1824

15 years agoFreeBSD has <utime.h>
Tim Kientzle [Sat, 16 Jan 2010 08:57:07 +0000 (03:57 -0500)] 
FreeBSD has <utime.h>

SVN-Revision: 1823

15 years agoRemove some pointless code.
Tim Kientzle [Sat, 16 Jan 2010 07:12:55 +0000 (02:12 -0500)] 
Remove some pointless code.

SVN-Revision: 1822

15 years agoAs pointed out recently on a GNU cpio mailing list, you can't
Tim Kientzle [Sat, 16 Jan 2010 07:11:58 +0000 (02:11 -0500)] 
As pointed out recently on a GNU cpio mailing list, you can't
hardlink device nodes.

SVN-Revision: 1821

15 years agoFix a bug that the nlink of regular files, which are not hard linking,
Michihiro NAKAJIMA [Fri, 15 Jan 2010 16:51:56 +0000 (11:51 -0500)] 
Fix a bug that the nlink of regular files, which are not hard linking,
was not set when rockridge was disabled.

SVN-Revision: 1814

15 years agoActually assert something here.
Tim Kientzle [Thu, 14 Jan 2010 03:40:45 +0000 (22:40 -0500)] 
Actually assert something here.

SVN-Revision: 1813

15 years agoUse abort() instead of a deliberate segfault.
Tim Kientzle [Thu, 14 Jan 2010 03:37:08 +0000 (22:37 -0500)] 
Use abort() instead of a deliberate segfault.

SVN-Revision: 1812

15 years agoEliminate an unneeded increasing value in libarchive_test.
Michihiro NAKAJIMA [Wed, 13 Jan 2010 06:47:56 +0000 (01:47 -0500)] 
Eliminate an unneeded increasing value in libarchive_test.

SVN-Revision: 1811

15 years agoOn Borland C, elimimate the warnings of comparing signed and unsigned from libarchive...
Michihiro NAKAJIMA [Thu, 7 Jan 2010 06:20:31 +0000 (01:20 -0500)] 
On Borland C, elimimate the warnings of comparing signed and unsigned from libarchive_test.

SVN-Revision: 1810

15 years agoRemove unreachable code.
Michihiro NAKAJIMA [Wed, 6 Jan 2010 12:16:37 +0000 (07:16 -0500)] 
Remove unreachable code.

SVN-Revision: 1809

15 years agoFix memory leak in ISO reader.
Michihiro NAKAJIMA [Wed, 6 Jan 2010 09:24:48 +0000 (04:24 -0500)] 
Fix memory leak in ISO reader.
Do not use a reference counter to decide to release a memory
used for struct file_info.
Release all memories of struct file_info at the end instead.

SVN-Revision: 1808

15 years agoClear the allocated 'zip' structure by using calloc() instead of malloc().
Tim Kientzle [Wed, 6 Jan 2010 06:04:23 +0000 (01:04 -0500)] 
Clear the allocated 'zip' structure by using calloc() instead of malloc().

SVN-Revision: 1807

15 years agoFix a failing tar test: On some systems (certain Linux systems
Tim Kientzle [Tue, 5 Jan 2010 16:44:20 +0000 (11:44 -0500)] 
Fix a failing tar test:  On some systems (certain Linux systems
with security features enabled), the default tar format chooses
to include pax extensions, which confuses the validation logic in
this test.

SVN-Revision: 1805

15 years agoDon't warn if a UID can't be looked up. Apparently,
Tim Kientzle [Tue, 5 Jan 2010 16:42:28 +0000 (11:42 -0500)] 
Don't warn if a UID can't be looked up.  Apparently,
recent Mac OS versions return a bogus ENOENT error
if a UID cannot be looked up on this system.

SVN-Revision: 1804

15 years agoRemove the now-defunct config_windows.h.
Tim Kientzle [Sun, 3 Jan 2010 21:33:51 +0000 (16:33 -0500)] 
Remove the now-defunct config_windows.h.

SVN-Revision: 1801

15 years agoIssue 48: Instead of setting RUNTIME_OUTPUT_DIRECTORY separately for
Tim Kientzle [Sun, 3 Jan 2010 21:25:38 +0000 (16:25 -0500)] 
Issue 48: Instead of setting RUNTIME_OUTPUT_DIRECTORY separately for
each component, set CMAKE_RUNTIME_OUTPUT_DIRECTORY once at the
top and let each component inherit that implicitly.  This allows
other projects that want to include libarchive to do so a little
more simply.

SVN-Revision: 1800

15 years agoLibarchive 2.7.902a test release.
Tim Kientzle [Sun, 3 Jan 2010 18:17:42 +0000 (13:17 -0500)] 
Libarchive 2.7.902a test release.

SVN-Revision: 1795

15 years agoDisable the broken globbing support on MinGW.
Tim Kientzle [Sun, 3 Jan 2010 06:28:36 +0000 (01:28 -0500)] 
Disable the broken globbing support on MinGW.

SVN-Revision: 1794

15 years agoRemove some pre-libarchive-2.0 support, which is no longer necessary.
Tim Kientzle [Sun, 3 Jan 2010 06:02:40 +0000 (01:02 -0500)] 
Remove some pre-libarchive-2.0 support, which is no longer necessary.
Prefill the copy buffer just once when we start, instead of refilling
it on every block request.  This shaves about 8% off the total running
time of libarchive_test on my system.

SVN-Revision: 1793

15 years agoFix a memory leak in this test.
Tim Kientzle [Sun, 3 Jan 2010 05:31:49 +0000 (00:31 -0500)] 
Fix a memory leak in this test.

SVN-Revision: 1792

15 years agoAdd a new assertFileContainsLinesAnyOrder() assertion and use it when checking the...
Tim Kientzle [Sat, 2 Jan 2010 02:33:27 +0000 (21:33 -0500)] 
Add a new assertFileContainsLinesAnyOrder() assertion and use it when checking the output of tar -t.

SVN-Revision: 1791

15 years agoAfter initializing a filter, we try to read from it to
Tim Kientzle [Sat, 2 Jan 2010 01:21:05 +0000 (20:21 -0500)] 
After initializing a filter, we try to read from it to
verify that it's working (in particular, this gives early
error reporting when external decompression programs are
nonexistent or exit immediately).  If this read failed,
we weren't properly cleaning up the just-initialized filter.
Since this is fatal, the easiest fix is to refactor the close()
handler and just release the entire filter chain.

SVN-Revision: 1790

15 years agoFix serious memory leaks in test_fuzz.c.
Tim Kientzle [Sat, 2 Jan 2010 01:18:03 +0000 (20:18 -0500)] 
Fix serious memory leaks in test_fuzz.c.

SVN-Revision: 1789

15 years agoMove dmalloc.h inclusion to where it doesn't interfere with system headers.
Tim Kientzle [Sat, 2 Jan 2010 01:16:53 +0000 (20:16 -0500)] 
Move dmalloc.h inclusion to where it doesn't interfere with system headers.

SVN-Revision: 1788

15 years agoStyle: Remove trailing blanks.
Tim Kientzle [Sat, 2 Jan 2010 01:16:13 +0000 (20:16 -0500)] 
Style:  Remove trailing blanks.

SVN-Revision: 1787

15 years agoSync $FreeBSD$ version info from FreeBSD SVN
Tim Kientzle [Wed, 30 Dec 2009 06:49:17 +0000 (01:49 -0500)] 
Sync $FreeBSD$ version info from FreeBSD SVN

SVN-Revision: 1786

15 years agoMinor style fixes.
Tim Kientzle [Wed, 30 Dec 2009 06:44:19 +0000 (01:44 -0500)] 
Minor style fixes.

SVN-Revision: 1785

15 years agolibarchive 2.7.901a release
Tim Kientzle [Mon, 28 Dec 2009 01:13:41 +0000 (20:13 -0500)] 
libarchive 2.7.901a release

SVN-Revision: 1783

15 years agoBe more tolerant of end-of-line variations.
Tim Kientzle [Mon, 28 Dec 2009 00:00:45 +0000 (19:00 -0500)] 
Be more tolerant of end-of-line variations.

SVN-Revision: 1782

15 years agoBe more explicit about the expected line termination for the version string.
Tim Kientzle [Sun, 27 Dec 2009 23:55:24 +0000 (18:55 -0500)] 
Be more explicit about the expected line termination for the version string.

SVN-Revision: 1781