]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
13 years agoRefactor the Zip header read:
Tim Kientzle [Thu, 1 Dec 2011 06:35:11 +0000 (01:35 -0500)] 
Refactor the Zip header read:
 * Move some common initialization into read_local_file_header
 * Ensure that the file pointer is always pointing to the start of
   the local file header when calling read_local_file_header
 * Merge old search_next_signature into streamable_read_header
   and simplify the resulting code

SVN-Revision: 3891

13 years agoCheck the PK\003\004 signature within zip_local_file_header.
Tim Kientzle [Thu, 1 Dec 2011 06:07:40 +0000 (01:07 -0500)] 
Check the PK\003\004 signature within zip_local_file_header.
Remove an extraneous variable.

SVN-Revision: 3890

13 years agoIf we lack libz, just drop the compression selector.
Tim Kientzle [Thu, 1 Dec 2011 06:04:16 +0000 (01:04 -0500)] 
If we lack libz, just drop the compression selector.

SVN-Revision: 3889

13 years agoIssue 201: Since we're using the seeking Zip reader here, we only
Tim Kientzle [Thu, 1 Dec 2011 05:35:22 +0000 (00:35 -0500)] 
Issue 201: Since we're using the seeking Zip reader here, we only
have to suppress the actual read if we lack libz.  We
don't expect an error when reading the next header.

SVN-Revision: 3888

13 years agoSet a clear error message about BCJ2.
Michihiro NAKAJIMA [Wed, 30 Nov 2011 09:15:59 +0000 (04:15 -0500)] 
Set a clear error message about BCJ2.

SVN-Revision: 3887

13 years agoUpdate comments in 7-Zip reader.
Michihiro NAKAJIMA [Wed, 30 Nov 2011 08:47:51 +0000 (03:47 -0500)] 
Update comments in 7-Zip reader.

SVN-Revision: 3886

13 years agoFix build failure without liblzma. A change of r3884 made that.
Michihiro NAKAJIMA [Wed, 30 Nov 2011 03:52:46 +0000 (22:52 -0500)] 
Fix build failure without liblzma. A change of r3884 made that.

SVN-Revision: 3885

13 years agoEnable BCJ + LZMA1 in the 7-Zip reader.
Michihiro NAKAJIMA [Tue, 29 Nov 2011 14:52:15 +0000 (09:52 -0500)] 
Enable BCJ + LZMA1 in the 7-Zip reader.

SVN-Revision: 3884

13 years agoIf ENABLE_ICONV is OFF, clean up ICONV variables in CACHE in case ENABLE_ICONV is...
Michihiro NAKAJIMA [Mon, 28 Nov 2011 23:27:16 +0000 (18:27 -0500)] 
If ENABLE_ICONV is OFF, clean up ICONV variables in CACHE in case ENABLE_ICONV is changed from ON to OFF.
That remaining variables caused build failure.

SVN-Revision: 3883

13 years agoFix some tests failure on using iconv on Windows.
Michihiro NAKAJIMA [Mon, 28 Nov 2011 23:05:51 +0000 (18:05 -0500)] 
Fix some tests failure on using iconv on Windows.

SVN-Revision: 3882

13 years agoAdd a 7-Zip PPMd sample file into test_fuzz entries.
Michihiro NAKAJIMA [Mon, 28 Nov 2011 12:30:19 +0000 (07:30 -0500)] 
Add a 7-Zip PPMd sample file into test_fuzz entries.

SVN-Revision: 3881

13 years agoAdd support for PPMd.
Michihiro NAKAJIMA [Mon, 28 Nov 2011 07:47:23 +0000 (02:47 -0500)] 
Add support for PPMd.

SVN-Revision: 3880

13 years agoLibarchive 3.0.1b TEST release v3.0.1b
Tim Kientzle [Sun, 27 Nov 2011 22:05:37 +0000 (17:05 -0500)] 
Libarchive 3.0.1b TEST release

SVN-Revision: 3879

13 years agoUnbreak build.
Michihiro NAKAJIMA [Sun, 27 Nov 2011 14:10:02 +0000 (09:10 -0500)] 
Unbreak build.

SVN-Revision: 3866

13 years agoSimplify 7-Zip codec ID handing.
Michihiro NAKAJIMA [Sun, 27 Nov 2011 13:22:55 +0000 (08:22 -0500)] 
Simplify 7-Zip codec ID handing.

SVN-Revision: 3865

13 years agoEliminate warnings on Visual Studio.
Michihiro NAKAJIMA [Sun, 27 Nov 2011 11:50:18 +0000 (06:50 -0500)] 
Eliminate warnings on Visual Studio.

SVN-Revision: 3864

13 years agoReplace "7Zip" by "7-Zip".
Michihiro NAKAJIMA [Sun, 27 Nov 2011 11:47:43 +0000 (06:47 -0500)] 
Replace "7Zip" by "7-Zip".

SVN-Revision: 3863

13 years agoThe memory leaks I fixed in r3854 happened when liblzma verion < 5.0.3
Michihiro NAKAJIMA [Sun, 27 Nov 2011 11:17:12 +0000 (06:17 -0500)] 
The memory leaks I fixed in r3854 happened when liblzma verion < 5.0.3

SVN-Revision: 3862

13 years agoAdd support for 7-Zip SFX archive files.
Michihiro NAKAJIMA [Sun, 27 Nov 2011 10:42:13 +0000 (05:42 -0500)] 
Add support for 7-Zip SFX archive files.

SVN-Revision: 3861

13 years agoRemove unneeded statements.
Michihiro NAKAJIMA [Sun, 27 Nov 2011 06:08:48 +0000 (01:08 -0500)] 
Remove unneeded statements.

SVN-Revision: 3860

13 years agoUpdate NEWS with recent changes.
Tim Kientzle [Sun, 27 Nov 2011 05:56:17 +0000 (00:56 -0500)] 
Update NEWS with recent changes.

SVN-Revision: 3859

13 years agoarchive_string_sprintf (used by archive_set_error) doesn't support
Tim Kientzle [Sun, 27 Nov 2011 05:39:53 +0000 (00:39 -0500)] 
archive_string_sprintf (used by archive_set_error) doesn't support
field-width modifiers, so remove those.

SVN-Revision: 3856

13 years agoCorrect a bit flag check. do not confuse SCONV_FROM_UTF16BE and SCONV_FROM_UTF16LE.
Michihiro NAKAJIMA [Sun, 27 Nov 2011 05:05:44 +0000 (00:05 -0500)] 
Correct a bit flag check. do not confuse SCONV_FROM_UTF16BE and SCONV_FROM_UTF16LE.

SVN-Revision: 3855

13 years agoFix memory leaks.
Michihiro NAKAJIMA [Sun, 27 Nov 2011 03:44:07 +0000 (22:44 -0500)] 
Fix memory leaks.

SVN-Revision: 3854

13 years agoFix build failure on linux.
Michihiro NAKAJIMA [Sun, 27 Nov 2011 03:10:44 +0000 (22:10 -0500)] 
Fix build failure on linux.

SVN-Revision: 3852

13 years agoAdd support for 7-Zip.
Michihiro NAKAJIMA [Sun, 27 Nov 2011 00:58:45 +0000 (19:58 -0500)] 
Add support for 7-Zip.
This new 7Zip reader supports COPY,Deflate,BZ2,LZMA and LZMA2.
This also supports BCJ + LZMA2, DELTA + LZMA and DELTA + LZMA2.
(BCJ + LZMA is not supported, there is some problems to support it.)

This 7Zip reader cannot work on stream because of its format:
its header is placed at the bottom of the archive file, so we
have to call seek().

SVN-Revision: 3844

13 years agoSupport UTF-16LE for archive_string for reading from an archive.
Michihiro NAKAJIMA [Sun, 27 Nov 2011 00:45:24 +0000 (19:45 -0500)] 
Support UTF-16LE for archive_string for reading from an archive.
7Zip reader will use this.

SVN-Revision: 3843

13 years agoInclude some omitted files.
Tim Kientzle [Sat, 26 Nov 2011 20:33:28 +0000 (15:33 -0500)] 
Include some omitted files.

SVN-Revision: 3842

13 years agor3839 broken length-at-end handling; if we're using length-at-end semantics,
Tim Kientzle [Sat, 26 Nov 2011 07:17:39 +0000 (02:17 -0500)] 
r3839 broken length-at-end handling; if we're using length-at-end semantics,
we can't limit to the advertised size.

SVN-Revision: 3841

13 years agoAdd a -u (until failure) option to libarchive_test to make
Tim Kientzle [Sat, 26 Nov 2011 07:01:34 +0000 (02:01 -0500)] 
Add a -u (until failure) option to libarchive_test to make
it easier to run tests continuously in a loop.

SVN-Revision: 3840

13 years agoWhen reading deflate data, we should still treat the "compressed size"
Tim Kientzle [Sat, 26 Nov 2011 07:00:43 +0000 (02:00 -0500)] 
When reading deflate data, we should still treat the "compressed size"
value as a limit instead of assuming the deflate stream will agree.
This fixes an internal assertion failure when trying to read certain
inconsistent Zip archives.

SVN-Revision: 3839

13 years agoFail if CE size/offset doesn't lie within the current block.
Tim Kientzle [Sat, 26 Nov 2011 06:58:14 +0000 (01:58 -0500)] 
Fail if CE size/offset doesn't lie within the current block.

SVN-Revision: 3838

13 years agoFurther the robustness of the ISO reader against corrupted ISO images.
Michihiro NAKAJIMA [Thu, 24 Nov 2011 16:10:09 +0000 (11:10 -0500)] 
Further the robustness of the ISO reader against corrupted ISO images.
 - Do not allow a negative location when the file is not empty since
   it's too large and it will makes a negative file offset, which the
   ISO reader dose not expect to use the offset for non empty files at all.

SVN-Revision: 3837

13 years agoIssue 152: With a little work, we actually can extract
Tim Kientzle [Thu, 24 Nov 2011 08:56:20 +0000 (03:56 -0500)] 
Issue 152:  With a little work, we actually can extract
this type of archive even with the streaming reader.

The end-of-data marker used with length-at-end storage
is actually more distinctive than I had at first thought.
This commit changes the streaming reader to look
for the end-of-data marker when scanning uncompressed
bodies.

SVN-Revision: 3836

13 years agoIssue 199: Improve robustness against corrupted ISO images.
Michihiro NAKAJIMA [Thu, 24 Nov 2011 04:03:55 +0000 (23:03 -0500)] 
Issue 199: Improve robustness against corrupted ISO images.
  - Back out r3823. it was not insufficient for such corrupted ISO images.
  - Check "RE" extension strictly: stop just clearing "RE" extension
    as if it were not defined.
  - Check "CL" extension strictly:
    * "CL" does not point at itself.
    * "CL" does not point at its parents.
    * A directory file cannot have "CL" extension.
    * A file which has "CL" extension is not on the top level of
      a directory tree.

SVN-Revision: 3835

13 years agoIssue 152: Now that we have a seeking Zip reader that understands
Tim Kientzle [Wed, 23 Nov 2011 09:15:30 +0000 (04:15 -0500)] 
Issue 152:  Now that we have a seeking Zip reader that understands
Central Directory, we can take the sample Zip file from this issue
and build a test around it.

This mostly involves cleaning up the handling of data that appears
in both the central directory and the local file header.  In
particular, some writers set crc and size fields to zero in the
local file header for no apparent reason.  Fixing this also changes
a few tests that assumed the Zip reader didn't always have accurate
file information.  It now does have accurate file information
from the central directory in the seek case.

SVN-Revision: 3834

13 years agoWhen we do an implicit data-skip during a header request, be
Tim Kientzle [Wed, 23 Nov 2011 07:47:46 +0000 (02:47 -0500)] 
When we do an implicit data-skip during a header request, be
a little more careful about errors:
  * FATAL during the data-skip is very bad (obviously)
  * EOF during the data-skip is very bad (EOF should only ever be
    returned by next-header)
  * EOF from the header fetch always has to be returned, even if we
    drop a warning to do so.  (In theory, we could defer the warning
    until close, but that's a little weird, too.)
  * Otherwise, return whichever is worst.

SVN-Revision: 3833

13 years agoNew seeking Zip reader does read file modes.
Tim Kientzle [Tue, 22 Nov 2011 06:28:51 +0000 (01:28 -0500)] 
New seeking Zip reader does read file modes.

SVN-Revision: 3832

13 years agoRefactor Zip read tests to exercise both seeking and streaming readers.
Tim Kientzle [Tue, 22 Nov 2011 06:27:48 +0000 (01:27 -0500)] 
Refactor Zip read tests to exercise both seeking and streaming readers.

SVN-Revision: 3831

13 years agoExtend test_write_format_zip to use both streaming and seeking zip readers when
Tim Kientzle [Tue, 22 Nov 2011 06:10:41 +0000 (01:10 -0500)] 
Extend test_write_format_zip to use both streaming and seeking zip readers when
verifying archive by reading it back.

SVN-Revision: 3830

13 years agoExtend empty zip writing test to also verify that we correctly read
Tim Kientzle [Tue, 22 Nov 2011 05:48:29 +0000 (00:48 -0500)] 
Extend empty zip writing test to also verify that we correctly read
these empty zip archives, with both the streaming and the seeking reader.

SVN-Revision: 3829

13 years agoComments...
Tim Kientzle [Tue, 22 Nov 2011 05:32:59 +0000 (00:32 -0500)] 
Comments...

SVN-Revision: 3828

13 years agoImprove LZMA detection on Windows.
Michihiro NAKAJIMA [Mon, 21 Nov 2011 06:01:41 +0000 (01:01 -0500)] 
Improve LZMA detection on Windows.

SVN-Revision: 3827

13 years agoCast away __la_lseek(), use _lseeki64() instead.
Michihiro NAKAJIMA [Mon, 21 Nov 2011 05:26:06 +0000 (00:26 -0500)] 
Cast away __la_lseek(), use _lseeki64() instead.
There was any difference between our __la_lseek() and _lseeki64().

SVN-Revision: 3826

13 years agoAdd wchar_t filename support for archive_{read,write}_open_filename().
Michihiro NAKAJIMA [Mon, 21 Nov 2011 04:20:53 +0000 (23:20 -0500)] 
Add wchar_t filename support for archive_{read,write}_open_filename().
It would be useful for an internationalization programing on Windows.

SVN-Revision: 3825

13 years agoMerge r3823 from trunk for issue 199.
Michihiro NAKAJIMA [Mon, 21 Nov 2011 02:10:57 +0000 (21:10 -0500)] 
Merge r3823 from trunk for issue 199.

SVN-Revision: 3824

13 years agoFix issue 199; improve robustness to corrupted ISO images.
Michihiro NAKAJIMA [Mon, 21 Nov 2011 02:08:33 +0000 (21:08 -0500)] 
Fix issue 199; improve robustness to corrupted ISO images.

SVN-Revision: 3823

13 years agoTry to decrease the performance hit of seeking during the bid phase.
Tim Kientzle [Mon, 21 Nov 2011 00:52:32 +0000 (19:52 -0500)] 
Try to decrease the performance hit of seeking during the bid phase.

Tell each bidder about the best bid so far so it can decide
to do nothing.  Reorder support_format_all so formats
with relatively inexpensive bidders will run first.

SVN-Revision: 3822

13 years agoRemove an outdated comment.
Tim Kientzle [Mon, 21 Nov 2011 00:13:23 +0000 (19:13 -0500)] 
Remove an outdated comment.

SVN-Revision: 3821

13 years agoThere are now two different Zip
Tim Kientzle [Mon, 21 Nov 2011 00:12:15 +0000 (19:12 -0500)] 
There are now two different Zip
readers. archive_read_support_format_zip() enables both of them:

  * The "streamable" reader is the old one, which reads Zip archives
    serially from the beginning.  This is efficient but cannot use
    information from the Central Directory (especially file mode).  It
    also has problems with SFX archives.  (I've actually removed the
    seek-ahead SFX support from this reader.)

  * The new "seekable" reader reads the Central Directory first and
    therefore has access to slightly more information about each file.
    In particular, it can fully support SFX archives.  But it requires
    seek support, so cannot read Zip archives from pipes or other
    non-seekable inputs.

The two implementations obviously share a lot of code.

There are still rough edges but this does basically work.  I've added
one Zip test to verify that SFX archives can be read correctly only
when seek is supported, but more testing is needed (in particular, the
fuzz tester only exercises one of the two Zip readers).

There are some unpleasant consequences of having a format reader that
relies on seek support.  In particular, there are some performance
headaches during bid phase because the seeking bidder thrashes
libarchive's internal read-ahead buffers.  There are also some
potentially ugly problems with read alignment when seeking.

SVN-Revision: 3820

13 years agoSupport the seek interface for archive_read_open_memory()
Tim Kientzle [Sun, 20 Nov 2011 23:57:56 +0000 (18:57 -0500)] 
Support the seek interface for archive_read_open_memory()

SVN-Revision: 3819

13 years agoIssue 195: Reduce the number of casts, fix up whitespace, replace
Tim Kientzle [Sun, 20 Nov 2011 22:50:20 +0000 (17:50 -0500)] 
Issue 195: Reduce the number of casts, fix up whitespace, replace
some inappropriate strncmp() with memcmp().

SVN-Revision: 3818

13 years agoIssue 195: Code cleanups.
Tim Kientzle [Sun, 20 Nov 2011 22:31:13 +0000 (17:31 -0500)] 
Issue 195: Code cleanups.

SVN-Revision: 3817

13 years agoIssue 195: Use consistent typing to avoid extra casts.
Tim Kientzle [Sun, 20 Nov 2011 22:25:45 +0000 (17:25 -0500)] 
Issue 195: Use consistent typing to avoid extra casts.

SVN-Revision: 3816

13 years agoIssue 195: Use more-portable memcmp().
Tim Kientzle [Sun, 20 Nov 2011 22:24:46 +0000 (17:24 -0500)] 
Issue 195: Use more-portable memcmp().

SVN-Revision: 3815

13 years agoIssue 195: Remove a redundant variable.
Tim Kientzle [Sun, 20 Nov 2011 22:21:15 +0000 (17:21 -0500)] 
Issue 195: Remove a redundant variable.

SVN-Revision: 3814

13 years agoIssue 195: Use more portable memcmp() here.
Tim Kientzle [Sun, 20 Nov 2011 22:20:16 +0000 (17:20 -0500)] 
Issue 195: Use more portable memcmp() here.

SVN-Revision: 3813

13 years agoIssue 195: Code cleanup.
Tim Kientzle [Sun, 20 Nov 2011 22:19:25 +0000 (17:19 -0500)] 
Issue 195: Code cleanup.

SVN-Revision: 3812

13 years agoExtend the specialized read_open_memory to provide a seek callback as well.
Tim Kientzle [Sun, 20 Nov 2011 07:49:48 +0000 (02:49 -0500)] 
Extend the specialized read_open_memory to provide a seek callback as well.

SVN-Revision: 3811

13 years agoRefactor the test suite's read_open_memory a bit.
Tim Kientzle [Sun, 20 Nov 2011 07:27:38 +0000 (02:27 -0500)] 
Refactor the test suite's read_open_memory a bit.

SVN-Revision: 3810

13 years agoCorrect the detection of wincrypt.h and winioctl.h
Tim Kientzle [Sat, 19 Nov 2011 23:29:02 +0000 (18:29 -0500)] 
Correct the detection of wincrypt.h and winioctl.h
From: Denis B. MARTIN

SVN-Revision: 3809

13 years agoSupport seeking in files.
Tim Kientzle [Sat, 19 Nov 2011 03:05:56 +0000 (22:05 -0500)] 
Support seeking in files.
Noone actually uses this yet, but I have some ideas for using
this to fix the Zip and ISO reader.

SVN-Revision: 3808

13 years agoImprove portability to old Windows systems by using SetFilePointer
Tim Kientzle [Sat, 19 Nov 2011 01:45:13 +0000 (20:45 -0500)] 
Improve portability to old Windows systems by using SetFilePointer
instead of SetFilePointerEx.
Fix a couple of uninitialized variables.

From: Denis B MARTIN

SVN-Revision: 3807

13 years agoWindows' system() does not accept '' an empty string, use "" instead.
Michihiro NAKAJIMA [Fri, 18 Nov 2011 07:15:35 +0000 (02:15 -0500)] 
Windows' system() does not accept '' an empty string, use "" instead.

SVN-Revision: 3806

13 years agoOn Windows platform, we have made own lseek, which cat handle 64 bits offset pointer...
Michihiro NAKAJIMA [Fri, 18 Nov 2011 06:41:36 +0000 (01:41 -0500)] 
On Windows platform, we have made own lseek, which cat handle 64 bits offset pointer, and use it.
If there is an obvious reason to use off_t defined as 32 bits offset pointer, we can use int64_t
for lseek instead of off_t on Windows.

SVN-Revision: 3805

13 years agoPush int64_t down a bit; there's still a problem here if off_t is short.
Tim Kientzle [Fri, 18 Nov 2011 05:24:32 +0000 (00:24 -0500)] 
Push int64_t down a bit; there's still a problem here if off_t is short.

SVN-Revision: 3804

13 years agoRegenerate Wiki manpages from the mdoc sources.
Tim Kientzle [Fri, 18 Nov 2011 04:50:58 +0000 (23:50 -0500)] 
Regenerate Wiki manpages from the mdoc sources.

SVN-Revision: 3802

13 years agoThe additional elimination of bsdtar_windows.[ch].
Michihiro NAKAJIMA [Fri, 18 Nov 2011 04:05:32 +0000 (23:05 -0500)] 
The additional elimination of bsdtar_windows.[ch].
I overlooked this in r3798.

SVN-Revision: 3801

13 years agoFix a handling of an empty gname in ustar on Windows.
Michihiro NAKAJIMA [Thu, 17 Nov 2011 11:52:04 +0000 (06:52 -0500)] 
Fix a handling of an empty gname in ustar on Windows.
It cased a conversion error when the gname had an empty string and its length was not zero.

SVN-Revision: 3800

13 years agoCheck the position before dereferencing the pointer.
Tim Kientzle [Thu, 17 Nov 2011 05:38:07 +0000 (00:38 -0500)] 
Check the position before dereferencing the pointer.
This avoids dereferencing one byte past the end of a string.

SVN-Revision: 3799

13 years agobsdtar_windows.[ch] are no longer used in the bsdtar test suite.
Michihiro NAKAJIMA [Wed, 16 Nov 2011 08:52:28 +0000 (03:52 -0500)] 
bsdtar_windows.[ch] are no longer used in the bsdtar test suite.

SVN-Revision: 3798

13 years agocpio_windows.h is no longer used in the cpio test suite.
Michihiro NAKAJIMA [Wed, 16 Nov 2011 08:44:58 +0000 (03:44 -0500)] 
cpio_windows.h is no longer used in the cpio test suite.

SVN-Revision: 3797

13 years agoFix build failure caused by the change of r3794 on MSYS.
Michihiro NAKAJIMA [Wed, 16 Nov 2011 07:36:17 +0000 (02:36 -0500)] 
Fix build failure caused by the change of r3794 on MSYS.

SVN-Revision: 3796

13 years agoUpdate comments.
Michihiro NAKAJIMA [Wed, 16 Nov 2011 05:12:15 +0000 (00:12 -0500)] 
Update comments.

SVN-Revision: 3795

13 years agoOn Windows, we never get a correct number of the nlinks of a directory as well as...
Michihiro NAKAJIMA [Tue, 15 Nov 2011 10:03:05 +0000 (05:03 -0500)] 
On Windows, we never get a correct number of the nlinks of a directory as well as we get it on POSIX system.

SVN-Revision: 3794

13 years agoEliminate some warnings on Visual Stdio.
Michihiro NAKAJIMA [Tue, 15 Nov 2011 09:19:59 +0000 (04:19 -0500)] 
Eliminate some warnings on Visual Stdio.

SVN-Revision: 3792

13 years agoI stupidly misunderstood a handling of CMake build options, ENABLE_TAR, ENABLE_TAR_SH...
Michihiro NAKAJIMA [Tue, 15 Nov 2011 08:27:08 +0000 (03:27 -0500)] 
I stupidly misunderstood a handling of CMake build options, ENABLE_TAR, ENABLE_TAR_SHARED,
ENABLE_CPIO and ENABLE_CPIO_SHARED, in r3240 and r3713. And that had made bsdtar and bsdcpio
disabled or being test failure on Windows platform.
 - Simplify CMake build options; all platforms have the same default build options.
 - Back out r3713.

SVN-Revision: 3791

13 years agoLibarchive 3.0.0a TEST release v3.0.0a
Tim Kientzle [Sun, 13 Nov 2011 18:08:01 +0000 (13:08 -0500)] 
Libarchive 3.0.0a TEST release

SVN-Revision: 3777

13 years agoUpdate NEWS with a (very brief) summary of key changes since libarchive 2.8.
Tim Kientzle [Sun, 13 Nov 2011 01:59:20 +0000 (20:59 -0500)] 
Update NEWS with a (very brief) summary of key changes since libarchive 2.8.

SVN-Revision: 3776

13 years agoClarify INSTALL.
Tim Kientzle [Sun, 13 Nov 2011 01:58:52 +0000 (20:58 -0500)] 
Clarify INSTALL.

SVN-Revision: 3775

13 years agoUpdate README with new formats that have been added since libarchive 2.8.
Tim Kientzle [Sun, 13 Nov 2011 01:58:33 +0000 (20:58 -0500)] 
Update README with new formats that have been added since libarchive 2.8.

SVN-Revision: 3774

13 years agoDon't use // for comments, for compatibility with older compilers.
Tim Kientzle [Sun, 13 Nov 2011 01:58:00 +0000 (20:58 -0500)] 
Don't use // for comments, for compatibility with older compilers.

SVN-Revision: 3773

13 years agoAlign the test harnesses in each project.
Tim Kientzle [Sun, 13 Nov 2011 01:57:31 +0000 (20:57 -0500)] 
Align the test harnesses in each project.

SVN-Revision: 3772

13 years agoDon't use // for comments, for compatibility with older compilers.
Tim Kientzle [Sun, 13 Nov 2011 01:56:54 +0000 (20:56 -0500)] 
Don't use // for comments, for compatibility with older compilers.

SVN-Revision: 3771

13 years agoMerge r3768 from trunk: Fix typo in dev/ino verification for cpio formats.
Tim Kientzle [Sat, 12 Nov 2011 20:47:34 +0000 (15:47 -0500)] 
Merge r3768 from trunk: Fix typo in dev/ino verification for cpio formats.

SVN-Revision: 3770

13 years agoMerge r3744 from trunk: Correctly return errors when reading
Tim Kientzle [Sat, 12 Nov 2011 20:46:05 +0000 (15:46 -0500)] 
Merge r3744 from trunk:  Correctly return errors when reading
an archive using @archive extension.

SVN-Revision: 3769

13 years agoIssue 197: fix a typo; a test for 'ino' accidentally referred
Tim Kientzle [Sat, 12 Nov 2011 20:44:01 +0000 (15:44 -0500)] 
Issue 197: fix a typo; a test for 'ino' accidentally referred
to the 'dev' variable.

SVN-Revision: 3768

13 years agoDisable OpenSSL probe on Darwin.
Tim Kientzle [Sat, 12 Nov 2011 05:26:31 +0000 (00:26 -0500)] 
Disable OpenSSL probe on Darwin.
This avoids a painful deprecation build error when the configure
finds RMD160 in OpenSSL.
We can re-enable this in the production version of libarchive 3.0.0,
since the production versions don't enable -Werror.

SVN-Revision: 3767

13 years agoIssue 196: cpio format tests should verify that nlinks in the
Tim Kientzle [Sat, 12 Nov 2011 05:21:58 +0000 (00:21 -0500)] 
Issue 196:  cpio format tests should verify that nlinks in the
archive matches what's on disk, instead of assuming historical
Unix behavior.
Thanks to: dpmcgee

SVN-Revision: 3766

13 years agoIssue 192: Fix tests that fail when libarchive is deliberately
Tim Kientzle [Sat, 12 Nov 2011 04:57:35 +0000 (23:57 -0500)] 
Issue 192: Fix tests that fail when libarchive is deliberately
built without libz.
Thanks to dpmcgee.

SVN-Revision: 3765

13 years agoGarbage collect more vestigal name_cache bits.
Colin Percival [Thu, 10 Nov 2011 06:12:15 +0000 (01:12 -0500)] 
Garbage collect more vestigal name_cache bits.

SVN-Revision: 3764

13 years agoGarbage collect NO_NAME. It hasn't been used since r423 (January 2009)
Colin Percival [Thu, 10 Nov 2011 06:08:52 +0000 (01:08 -0500)] 
Garbage collect NO_NAME.  It hasn't been used since r423 (January 2009)
when the uname/gname lookups moved out of write.c to use the new
archive_read_disk API instead.

Reported by: Brian St. Pierre (via Tarsnap)

SVN-Revision: 3763

13 years agoIssue 193: allow ctime/mtime filters to work accurately on
Tim Kientzle [Wed, 9 Nov 2011 06:34:26 +0000 (01:34 -0500)] 
Issue 193: allow ctime/mtime filters to work accurately on
platforms that support times before the epoch.

SVN-Revision: 3762

13 years agoIssue 191: Update the manpage for archive_entry_stat to
Tim Kientzle [Wed, 9 Nov 2011 05:05:57 +0000 (00:05 -0500)] 
Issue 191: Update the manpage for archive_entry_stat to
clarify the fields actually copied.
While I'm here, fill in a few missing items and try to
make some of the descriptions a little more accurate.

SVN-Revision: 3761

13 years agoIssue 191: Clear struct stat so that fields not explicitly
Tim Kientzle [Wed, 9 Nov 2011 04:15:36 +0000 (23:15 -0500)] 
Issue 191: Clear struct stat so that fields not explicitly
set by libarchive won't have garbage values.

SVN-Revision: 3760

13 years agoFill in some comments for the makerelease script.
Tim Kientzle [Mon, 7 Nov 2011 01:54:02 +0000 (20:54 -0500)] 
Fill in some comments for the makerelease script.

SVN-Revision: 3759

13 years agoPut the list.h files with the test programs.
Tim Kientzle [Mon, 7 Nov 2011 01:53:06 +0000 (20:53 -0500)] 
Put the list.h files with the test programs.
Include a missing test file.

SVN-Revision: 3758

13 years agoAssign the intermediate value to a variable to
Tim Kientzle [Mon, 7 Nov 2011 01:52:00 +0000 (20:52 -0500)] 
Assign the intermediate value to a variable to
prevent compiler optimizations from breaking the test.

SVN-Revision: 3757

13 years agoRename ARCHIVE_LIBTOOL_MAJOR to ARCHIVE_INTERFACE.
Tim Kientzle [Mon, 7 Nov 2011 00:53:14 +0000 (19:53 -0500)] 
Rename ARCHIVE_LIBTOOL_MAJOR to ARCHIVE_INTERFACE.

SVN-Revision: 3756

13 years agoUpdate iconv.m4 to the newest version.
Tim Kientzle [Mon, 7 Nov 2011 00:51:57 +0000 (19:51 -0500)] 
Update iconv.m4 to the newest version.

SVN-Revision: 3755