]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
17 years agoMake uncompressed zip test independent of zlib.
Tim Kientzle [Sun, 10 May 2009 19:46:22 +0000 (15:46 -0400)] 
Make uncompressed zip test independent of zlib.

SVN-Revision: 1080

17 years agoCustom crc32() implementation so we can still write
Tim Kientzle [Sun, 10 May 2009 19:44:34 +0000 (15:44 -0400)] 
Custom crc32() implementation so we can still write
(uncompressed) Zip archives even without zlib.

SVN-Revision: 1079

17 years agoHandle short writes correctly.
Tim Kientzle [Sun, 10 May 2009 19:43:44 +0000 (15:43 -0400)] 
Handle short writes correctly.

SVN-Revision: 1078

17 years agoMark library variables as "standard" so they show up in the default cmake gui configu...
Tim Kientzle [Sat, 9 May 2009 07:22:54 +0000 (03:22 -0400)] 
Mark library variables as "standard" so they show up in the default cmake gui configuration view.

SVN-Revision: 1077

17 years agoDon't mix statements and declarations in portable C.
Tim Kientzle [Sat, 9 May 2009 07:20:54 +0000 (03:20 -0400)] 
Don't mix statements and declarations in portable C.

SVN-Revision: 1076

17 years agoBuilding on Ubuntu 9 provoked some complaints about return values
Tim Kientzle [Sat, 9 May 2009 01:15:17 +0000 (21:15 -0400)] 
Building on Ubuntu 9 provoked some complaints about return values
not being used.  Some of these are good catches, a few are
annoying.  Unfortunately, GCC on this system won't just
allow you to cast the result explicitly to (void) to
shut up the error, so I've had to introduce some gratuitous
extra variables.  <sigh>

SVN-Revision: 1075

17 years agoFix build on platforms without zlib.h. I need to dig out my old
Tim Kientzle [Fri, 8 May 2009 17:32:08 +0000 (13:32 -0400)] 
Fix build on platforms without zlib.h.  I need to dig out my old
CRC code and drop it in here to correctly break this dependency,
but these tests are so badly broken right now anyway...

SVN-Revision: 1074

17 years agoMake archive_write_set_format_zip build if zlib is missing.
Tim Kientzle [Fri, 8 May 2009 17:17:55 +0000 (13:17 -0400)] 
Make archive_write_set_format_zip build if zlib is missing.

SVN-Revision: 1073

17 years agoSeparate the xattr management for archive_entry into a separate
Tim Kientzle [Fri, 8 May 2009 16:57:01 +0000 (12:57 -0400)] 
Separate the xattr management for archive_entry into a separate
source file.  The only linkage between the xattr routines and
the rest of archive_entry is through public API functions, so
this doesn't expose any internal interfaces and will make it
easier to extend and modify the xattr management in the future.
(In particular, we'll need to add support for looking up specific
xattrs by name in the very near future.)

SVN-Revision: 1072

17 years agoFix the CMake build on systems that lack a C++ compiler.
Tim Kientzle [Fri, 8 May 2009 16:50:46 +0000 (12:50 -0400)] 
Fix the CMake build on systems that lack a C++ compiler.
libarchive doesn't need C++, so we should be able to build
on systems that don't have a C++ compiler.

SVN-Revision: 1071

17 years agoTrack an old file rename.
Tim Kientzle [Fri, 8 May 2009 16:49:34 +0000 (12:49 -0400)] 
Track an old file rename.

SVN-Revision: 1070

17 years agoMerge r1068 from trunk: This partially reverts r868, which
Tim Kientzle [Thu, 7 May 2009 22:55:24 +0000 (18:55 -0400)] 
Merge r1068 from trunk:  This partially reverts r868, which
broke tar handling of end-of-file when reading from a pipe.
With this change, tar once again flushes input from a pipe
which avoids SIGPIPE getting sent upstream.

SVN-Revision: 1069

17 years agoThe refactoring of r868 changed read_open_filename() to
Tim Kientzle [Thu, 7 May 2009 22:53:09 +0000 (18:53 -0400)] 
The refactoring of r868 changed read_open_filename() to
just use read_open_fd() for the degenerate stdin case.
Unfortunately, there's a critical difference between these
two:  read_open_fd() does no special processing on close;
read_open_filename() flushes input pipes on close.  As
a result, pipelines such as "gunzip|tar" would cause gunzip
to fail with SIGPIPE.  Especially with /bin/csh (which reports
the success of the first program in a pipeline, not the last
as /bin/sh and bash do), this caused some ugly problems.

Thanks to Alexey Shuvaev for reporting this failure and
patiently helping me to track down the cause.

SVN-Revision: 1068

17 years agoSync up with Makefile in FreeBSD-CURRENT tree.
Tim Kientzle [Mon, 27 Apr 2009 22:37:35 +0000 (18:37 -0400)] 
Sync up with Makefile in FreeBSD-CURRENT tree.

SVN-Revision: 1067

17 years agoRename test_acl_solaris to test_compat_solaris_tar_acl.
Tim Kientzle [Mon, 27 Apr 2009 18:29:15 +0000 (14:29 -0400)] 
Rename test_acl_solaris to test_compat_solaris_tar_acl.
(The former makes it sound like we're testing system-specific
ACL support for Solaris, which isn't implemented yet.)

SVN-Revision: 1066

17 years agoUpdate some comments.
Tim Kientzle [Mon, 27 Apr 2009 18:20:08 +0000 (14:20 -0400)] 
Update some comments.

SVN-Revision: 1065

17 years agoMinor refactoring: Have __archive_read_skip() use
Tim Kientzle [Mon, 27 Apr 2009 17:34:15 +0000 (13:34 -0400)] 
Minor refactoring: Have __archive_read_skip() use
__archive_read_skip_lenient() directly.

SVN-Revision: 1064

17 years agoMake a note here about Solaris ACL handling. It would be
Tim Kientzle [Mon, 27 Apr 2009 06:16:02 +0000 (02:16 -0400)] 
Make a note here about Solaris ACL handling.  It would be
nice to fill this in someday.

SVN-Revision: 1063

17 years agoTest cpio bin_be format.
Tim Kientzle [Mon, 27 Apr 2009 06:08:48 +0000 (02:08 -0400)] 
Test cpio bin_be format.

SVN-Revision: 1062

17 years agoFix big-endian binary cpio archives.
Tim Kientzle [Mon, 27 Apr 2009 05:51:19 +0000 (01:51 -0400)] 
Fix big-endian binary cpio archives.

SVN-Revision: 1061

17 years agoassertEqualMem() should have always accepted void * arguments.
Tim Kientzle [Mon, 27 Apr 2009 05:27:53 +0000 (01:27 -0400)] 
assertEqualMem() should have always accepted void * arguments.

SVN-Revision: 1060

17 years agoFill in the correct signature checks for lzma and xz output.
Tim Kientzle [Mon, 27 Apr 2009 05:27:13 +0000 (01:27 -0400)] 
Fill in the correct signature checks for lzma and xz output.

SVN-Revision: 1059

17 years agoMake sure that each test source file has exactly one DEFINE_TEST().
Tim Kientzle [Mon, 27 Apr 2009 05:14:04 +0000 (01:14 -0400)] 
Make sure that each test source file has exactly one DEFINE_TEST().
In particular, the cmake test setup assumes this.

SVN-Revision: 1058

17 years agoRemvoe more debugging cruft.
Tim Kientzle [Mon, 27 Apr 2009 04:50:47 +0000 (00:50 -0400)] 
Remvoe more debugging cruft.

SVN-Revision: 1057

17 years agoOuch. Take out some debug statements I accidentally left in.
Tim Kientzle [Mon, 27 Apr 2009 04:50:04 +0000 (00:50 -0400)] 
Ouch.  Take out some debug statements I accidentally left in.

SVN-Revision: 1056

17 years agoCorrect an earlier typo. <sigh>
Tim Kientzle [Mon, 27 Apr 2009 03:44:12 +0000 (23:44 -0400)] 
Correct an earlier typo.  <sigh>

SVN-Revision: 1055

17 years agoWhen reporting differences between blocks of memory, try
Tim Kientzle [Mon, 27 Apr 2009 03:43:26 +0000 (23:43 -0400)] 
When reporting differences between blocks of memory, try
to pick something relevant.

SVN-Revision: 1054

17 years agoFix up some issues with POSIX.1e ACLs:
Tim Kientzle [Mon, 27 Apr 2009 03:42:25 +0000 (23:42 -0400)] 
Fix up some issues with POSIX.1e ACLs:
 * Edward Napierala sent me an archive from Solaris 10 with Solaris-style
   ACLs that libarchive misparsed.  Fix the parser.
 * Add a test for reading Solaris-format ACLs
 * Preserve the order of ACL entries; this is purely cosmetic for now.
 * Fix the test_acl_pax test to match the order of the new ACL entries.
 * Correctly distinguish Solaris-style POSIX.1e ACLs from Solaris NFSv4 ACLs.
   Even if we can't parse the latter, we can at least recognize them and
   issue a suitable warning.

TODO:  Identify AIX-style ACLs (which should currently be recognized as
malformed Solaris-style ACLs).  I doubt libarchive will ever support AIX-style
ACLs, but it can at least recognize and warn about them.

SVN-Revision: 1053

17 years agoClear out the error message buffer on entry to a few more functions.
Tim Kientzle [Sun, 26 Apr 2009 18:26:27 +0000 (14:26 -0400)] 
Clear out the error message buffer on entry to a few more functions.

SVN-Revision: 1052

17 years agoEliminate an unused variable.
Tim Kientzle [Sun, 26 Apr 2009 18:22:13 +0000 (14:22 -0400)] 
Eliminate an unused variable.

SVN-Revision: 1051

17 years agoIssue 26: Fix failing cpio tests on systems where sgid bit propagates
Tim Kientzle [Tue, 21 Apr 2009 16:27:07 +0000 (12:27 -0400)] 
Issue 26: Fix failing cpio tests on systems where sgid bit propagates
to subdirectories.

SVN-Revision: 1050

17 years agoIssue 26: On systems where sgid bit propagates to subdirs, we
Tim Kientzle [Tue, 21 Apr 2009 16:26:03 +0000 (12:26 -0400)] 
Issue 26: On systems where sgid bit propagates to subdirs, we
can end up with spurious 02000 added to the modes of some directories.
Allow this.

SVN-Revision: 1049

17 years agoIssue 22: configure --without-openssl disables crypto hash support
Tim Kientzle [Mon, 20 Apr 2009 21:27:46 +0000 (17:27 -0400)] 
Issue 22: configure --without-openssl disables crypto hash support
and removes dependency on openssl and md libraries.

SVN-Revision: 1048

17 years agoIssue 22: --without-openssl skips probing for the hash functions.
Tim Kientzle [Mon, 20 Apr 2009 21:22:49 +0000 (17:22 -0400)] 
Issue 22:  --without-openssl skips probing for the hash functions.
Note: This currently also disables use of libmd on systems that have it.
That should probably be separated into a separate control.

SVN-Revision: 1047

17 years agoInclude test_read_format_raw
Tim Kientzle [Mon, 20 Apr 2009 21:21:10 +0000 (17:21 -0400)] 
Include test_read_format_raw

SVN-Revision: 1046

17 years agoMinor compile fix.
Tim Kientzle [Mon, 20 Apr 2009 21:20:39 +0000 (17:20 -0400)] 
Minor compile fix.

SVN-Revision: 1045

17 years agoMinor compile fix.
Tim Kientzle [Mon, 20 Apr 2009 21:20:06 +0000 (17:20 -0400)] 
Minor compile fix.

SVN-Revision: 1044

17 years agoMake the error dump for assertEqualMem() a bit more useful by
Tim Kientzle [Mon, 20 Apr 2009 21:01:51 +0000 (17:01 -0400)] 
Make the error dump for assertEqualMem() a bit more useful by
skipping a common initial portion and dumping a small block around
the first difference.

SVN-Revision: 1043

17 years agoIssue 21: The output of -tnv here depends on the timezone.
Tim Kientzle [Mon, 20 Apr 2009 18:20:44 +0000 (14:20 -0400)] 
Issue 21: The output of -tnv here depends on the timezone.
Since there are only two possible results, just compare it to
both and accept a match for either one.

SVN-Revision: 1037

17 years agoMerge r1033 from trunk to fix Issue 25.
Tim Kientzle [Mon, 20 Apr 2009 06:22:50 +0000 (02:22 -0400)] 
Merge r1033 from trunk to fix Issue 25.

SVN-Revision: 1036

17 years agoMake the file on the reference ISO be considerably larger.
Tim Kientzle [Mon, 20 Apr 2009 06:01:01 +0000 (02:01 -0400)] 
Make the file on the reference ISO be considerably larger.
BZip2 compression works really well for long blocks of zero bytes,
so this costs almost nothing.

SVN-Revision: 1034

17 years agoReading an mtree file, the body of the first regular file
Tim Kientzle [Mon, 20 Apr 2009 05:58:15 +0000 (01:58 -0400)] 
Reading an mtree file, the body of the first regular file
would not be read because of a misplaced return.

SVN-Revision: 1033

17 years agoMove UnsupportedCompress() macro into the only file that uses it.
Tim Kientzle [Sun, 19 Apr 2009 22:50:37 +0000 (18:50 -0400)] 
Move UnsupportedCompress() macro into the only file that uses it.
Make test_fuzz a bit more sensitive by actually reading the
body of each entry instead of just skipping it.

SVN-Revision: 1032

17 years agoMerge r1030 from trunk: Cast away a compiler warning.
Tim Kientzle [Sun, 19 Apr 2009 22:46:12 +0000 (18:46 -0400)] 
Merge r1030 from trunk: Cast away a compiler warning.

SVN-Revision: 1031

17 years agoarchive_entry_ino() returns ino_t which varies across platforms;
Tim Kientzle [Sun, 19 Apr 2009 22:45:18 +0000 (18:45 -0400)] 
archive_entry_ino() returns ino_t which varies across platforms;
casting the result to int makes this comparison more consistent.

SVN-Revision: 1030

17 years agoMerge r1028 from trunk: Exit with ARCHIVE_FATAL on a truncated
Tim Kientzle [Sun, 19 Apr 2009 21:36:38 +0000 (17:36 -0400)] 
Merge r1028 from trunk:  Exit with ARCHIVE_FATAL on a truncated
ISO archive.

SVN-Revision: 1029

17 years agoIf the archive is truncated, exit with ARCHIVE_FATAL.
Tim Kientzle [Sun, 19 Apr 2009 21:35:35 +0000 (17:35 -0400)] 
If the archive is truncated, exit with ARCHIVE_FATAL.

SVN-Revision: 1028

17 years agoFill in descriptions of the new GNU pax sparse handling,
Tim Kientzle [Sat, 18 Apr 2009 06:14:20 +0000 (02:14 -0400)] 
Fill in descriptions of the new GNU pax sparse handling,
briefly discuss Mac OS X resource fork extension,
explain SunOS 'A' record handling of NFSv4 ACLs,
describe terminator-pruning for extending file size
support, and a bit of minor wordsmithing.

SVN-Revision: 1027

17 years agoUpdate libarchive-formats: A little wordsmithing
Tim Kientzle [Sat, 18 Apr 2009 03:32:09 +0000 (23:32 -0400)] 
Update libarchive-formats:  A little wordsmithing
and some additional detail, especially about the mtree writer.

SVN-Revision: 1026

17 years agoAdd --lzma and -J options to cpio.
Tim Kientzle [Fri, 17 Apr 2009 07:10:26 +0000 (03:10 -0400)] 
Add --lzma and -J options to cpio.
Add tests for these.
Edit the existing compression tests so they correctly
distinguish unsupported options (e.g., we're testing GNU cpio)
from unsupported compression.

SVN-Revision: 1025

17 years agoEliminate a bunch of preprocessor symbols that aren't actually
Tim Kientzle [Fri, 17 Apr 2009 06:37:41 +0000 (02:37 -0400)] 
Eliminate a bunch of preprocessor symbols that aren't actually
used anywhere in cpio.

SVN-Revision: 1024

17 years agoWe don't need to conditionalize the compression options in
Tim Kientzle [Fri, 17 Apr 2009 06:36:46 +0000 (02:36 -0400)] 
We don't need to conditionalize the compression options in
cpio; we just ask libarchive and it will return an error if
it can't provide that feature.

SVN-Revision: 1023

17 years agoAudit and fix up the HAVE_* usage:
Tim Kientzle [Fri, 17 Apr 2009 06:09:28 +0000 (02:09 -0400)] 
Audit and fix up the HAVE_* usage:
 * bsdtar relies on libarchive to handle ACLs, so the ACL feature tests
   in bsdtar are no longer needed
 * ditto for extended attribute support
 * libarchive now implements set_compression_* functions always; if they
   don't work, calling them returns an error.  This changes a lot of
   bsdtar compression tests from compile time checks for a library
   existence to run-time checks for libarchive return values.
   In particular, bsdtar should not need to know which libraries
   or external programs libarchive might be using.

SVN-Revision: 1022

17 years agoIf we know it's a socket, say it's a socket.
Tim Kientzle [Fri, 17 Apr 2009 03:00:54 +0000 (23:00 -0400)] 
If we know it's a socket, say it's a socket.

SVN-Revision: 1021

17 years agoMerge r1017 from libarchive/trunk: Include mode when creating file.
Tim Kientzle [Thu, 16 Apr 2009 23:59:12 +0000 (19:59 -0400)] 
Merge r1017 from libarchive/trunk: Include mode when creating file.

SVN-Revision: 1020

17 years agoRemove extraneous option.
Tim Kientzle [Thu, 16 Apr 2009 23:36:41 +0000 (19:36 -0400)] 
Remove extraneous option.

SVN-Revision: 1019

17 years ago2.7.0 v2.7.0
Tim Kientzle [Thu, 16 Apr 2009 23:35:31 +0000 (19:35 -0400)] 
2.7.0

SVN-Revision: 1018

17 years agoInclude a missing mode value.
Tim Kientzle [Thu, 16 Apr 2009 23:33:39 +0000 (19:33 -0400)] 
Include a missing mode value.

Submitted by: Diego "Flameeyes" Pettenò

SVN-Revision: 1017

17 years agoRemove an unused option.
Tim Kientzle [Thu, 16 Apr 2009 23:31:55 +0000 (19:31 -0400)] 
Remove an unused option.

Submitted by: Diego "Flameeyes" Pettenò

SVN-Revision: 1016

17 years agoDisable the check for the exact output of "-tnv". The
Tim Kientzle [Thu, 16 Apr 2009 17:42:49 +0000 (13:42 -0400)] 
Disable the check for the exact output of "-tnv".  The
localized time display screws up this test.

SVN-Revision: 1004

17 years agoEliminate an extra space.
Tim Kientzle [Wed, 15 Apr 2009 21:26:53 +0000 (17:26 -0400)] 
Eliminate an extra space.

SVN-Revision: 998

17 years agoManpage touchups:
Tim Kientzle [Wed, 15 Apr 2009 19:29:44 +0000 (15:29 -0400)] 
Manpage touchups:
 * Fix tar.1 to properly format the substitution arguments
 * Fix mdoc2wiki.awk to render .It Pa and .It Ev in bold
 * Update the translated docs on the wiki.

SVN-Revision: 997

17 years agoMerge r989 from libarchive/trunk: Fix a problem where the
Tim Kientzle [Tue, 14 Apr 2009 03:47:39 +0000 (23:47 -0400)] 
Merge r989 from libarchive/trunk:  Fix a problem where the
compress decompressor would loop endlessly at end-of-file.

SVN-Revision: 992

17 years agoDocument the new "raw" format reader and fill in some
Tim Kientzle [Tue, 14 Apr 2009 02:05:39 +0000 (22:05 -0400)] 
Document the new "raw" format reader and fill in some
other missing documentation for mtree, lzma, and xz
readers.  Also, document the new convention that
setup functions return ARCHIVE_WARN if that compression
or format is supported only through an external program.
The test suite really needs this; other people might
find it amusing.

SVN-Revision: 991

17 years agoMerge libarchive 2.6
Brad King [Tue, 14 Apr 2009 02:05:39 +0000 (22:05 -0400)] 
Merge libarchive 2.6

This commit was manufactured during conversion from SVN
to merge the libarchive 2.6 branch.

17 years agoDocument the new "raw" format reader and fill in some
Tim Kientzle [Tue, 14 Apr 2009 02:05:39 +0000 (22:05 -0400)] 
Document the new "raw" format reader and fill in some
other missing documentation for mtree, lzma, and xz
readers.  Also, document the new convention that
setup functions return ARCHIVE_WARN if that compression
or format is supported only through an external program.
The test suite really needs this; other people might
find it amusing.

SVN-Revision: 991

17 years agoAdd a new "raw" format reader that just provides raw binary data from
Tim Kientzle [Tue, 14 Apr 2009 02:03:45 +0000 (22:03 -0400)] 
Add a new "raw" format reader that just provides raw binary data from
the input.  It matches (with a very low bid) any non-empty input.

This basically stubs out the archive format handling so that the
automatic decompression engine can be used for other purposes.

SVN-Revision: 990

17 years agoARCHIVE_EOF is positive. I'm going to change this in libarchive 3.0.
Tim Kientzle [Tue, 14 Apr 2009 01:29:55 +0000 (21:29 -0400)] 
ARCHIVE_EOF is positive.  I'm going to change this in libarchive 3.0.
Until then, use an explicit -1 here to flag EOF, to distinguish it
from a valid code return.

SVN-Revision: 989

17 years agoRework the read_ahead interface slightly to provide a "best-effort"
Tim Kientzle [Tue, 14 Apr 2009 01:22:43 +0000 (21:22 -0400)] 
Rework the read_ahead interface slightly to provide a "best-effort"
read_ahead_lenient() function.

While I'm here, fix two rather bizarre bugs:
1) Increment the position in the "uncompressed" stream only
   when skipping in the top filter, not within read_filter_skip.
2) When we simulate a skip by reading ahead, read against the
   current filter, not the top filter.
Fortunately, neither of these bugs are visible in the current library,
because no filter currently passes skip requests through to upstream
filters, so skip processing always happens only at the top filter.

SVN-Revision: 988

17 years agoWire up the Zip writer into the autoconf build.
Tim Kientzle [Mon, 13 Apr 2009 22:53:19 +0000 (18:53 -0400)] 
Wire up the Zip writer into the autoconf build.

SVN-Revision: 987

17 years agoAnselm Strauss' unfinished zip writer and tests.
Tim Kientzle [Mon, 13 Apr 2009 22:37:27 +0000 (18:37 -0400)] 
Anselm Strauss' unfinished zip writer and tests.
I'd like to get this finished for libarchive 2.8.

SVN-Revision: 986

17 years agoUncomment most of this again, now that the wiki builder seems
Tim Kientzle [Mon, 13 Apr 2009 22:05:44 +0000 (18:05 -0400)] 
Uncomment most of this again, now that the wiki builder seems
basically functional.

SVN-Revision: 985

17 years agoFix the translation of .Ns, which suppresses the current word space, not the next...
Tim Kientzle [Mon, 13 Apr 2009 21:54:42 +0000 (17:54 -0400)] 
Fix the translation of .Ns, which suppresses the current word space, not the next one.

SVN-Revision: 984

17 years agoRemove \& from the output.
Tim Kientzle [Mon, 13 Apr 2009 21:47:21 +0000 (17:47 -0400)] 
Remove \& from the output.

SVN-Revision: 983

17 years agoDon't try to use *bold* or _italic_ within {{{display}}}.
Tim Kientzle [Mon, 13 Apr 2009 21:44:14 +0000 (17:44 -0400)] 
Don't try to use *bold* or _italic_ within {{{display}}}.

SVN-Revision: 982

17 years agoQuote some more special characters, handle paragraph breaks properly.
Tim Kientzle [Mon, 13 Apr 2009 21:35:53 +0000 (17:35 -0400)] 
Quote some more special characters, handle paragraph breaks properly.

SVN-Revision: 981

17 years agoFix a bug in handling of bullet lists.
Tim Kientzle [Mon, 13 Apr 2009 21:27:41 +0000 (17:27 -0400)] 
Fix a bug in handling of bullet lists.

SVN-Revision: 980

17 years agoQuote trailing "*" in Cm argument.
Tim Kientzle [Mon, 13 Apr 2009 21:25:19 +0000 (17:25 -0400)] 
Quote trailing "*" in Cm argument.

SVN-Revision: 979

17 years agoRemove -nosplit after .An.
Tim Kientzle [Mon, 13 Apr 2009 21:23:34 +0000 (17:23 -0400)] 
Remove -nosplit after .An.

SVN-Revision: 978

17 years agoQuote trailing '*' in type names (e.g., "void *")
Tim Kientzle [Mon, 13 Apr 2009 21:21:44 +0000 (17:21 -0400)] 
Quote trailing '*' in type names (e.g., "void *")

SVN-Revision: 977

17 years agoQuote a leading '_'
Tim Kientzle [Mon, 13 Apr 2009 21:17:14 +0000 (17:17 -0400)] 
Quote a leading '_'

SVN-Revision: 976

17 years agoClose subsection titles.
Tim Kientzle [Mon, 13 Apr 2009 21:11:44 +0000 (17:11 -0400)] 
Close subsection titles.

SVN-Revision: 975

17 years agoFirst real attempt to convert all mdoc manpages to Wiki syntax.
Tim Kientzle [Mon, 13 Apr 2009 21:08:53 +0000 (17:08 -0400)] 
First real attempt to convert all mdoc manpages to Wiki syntax.
Including the awk script I'm using and updates to the doc generator
to produce the Wiki versions as part of the regular deployment.

SVN-Revision: 974

17 years ago2.6.992a
Tim Kientzle [Fri, 10 Apr 2009 23:00:22 +0000 (19:00 -0400)] 
2.6.992a

SVN-Revision: 949

17 years agoMerge r947 from libarchive/trunk: Avoid SIGPIPE if it's not available.
Tim Kientzle [Fri, 10 Apr 2009 21:25:58 +0000 (17:25 -0400)] 
Merge r947 from libarchive/trunk:  Avoid SIGPIPE if it's not available.

SVN-Revision: 948

17 years agoSIGPIPE doesn't always exist.
Tim Kientzle [Fri, 10 Apr 2009 21:23:59 +0000 (17:23 -0400)] 
SIGPIPE doesn't always exist.

Submitted by: Christian Ehrlicher

SVN-Revision: 947

17 years agoMerge r944 from libarchive/trunk: Fix
Tim Kientzle [Fri, 10 Apr 2009 05:50:58 +0000 (01:50 -0400)] 
Merge r944 from libarchive/trunk: Fix
a number of minor memory leaks.

SVN-Revision: 946

17 years agoProperty updates...
Tim Kientzle [Fri, 10 Apr 2009 05:41:47 +0000 (01:41 -0400)] 
Property updates...

SVN-Revision: 945

17 years agoFix a number of memory leaks:
Tim Kientzle [Fri, 10 Apr 2009 05:36:25 +0000 (01:36 -0400)] 
Fix a number of memory leaks:
 * write_set_compression_{gzip,bzip2,lzma,xz} need to call finish
   even if nothing is ever written so that the config data
   can be cleaned up.  Set the finish entry in the initial
   setup function (instead of the init function), have the
   finish function only close out the compression if there
   is a state, update the tests to exercise set up and
   tear down without any intermediate open and/or writing.
 * read_open_{fd,filename} would leak data if the fd or file
   didn't exist.  Do all of the fd/file checks before trying
   to allocate data.
 * archive_entry leaked the sourcepath field
 * support_format_mtree leaked the list of active default fields
 * several tests leaked archive_entry objects
 * test/read_open_memory has a special mode to exercise
   providing a minimal set of callbacks; unfortunately it
   omitted the close callback, which caused a leak.
 * Add a chokepoint to test/main.c where we can do something
   for every assertion.  I temporarily added a line # printf here
   to help identify the location of certain crashes.

All of this needs to be merged to libarchive/2.7 branch.

SVN-Revision: 944

17 years agoPush the version number in trunk to 2.7.900; trunk is now working towards 2.8.
Tim Kientzle [Wed, 8 Apr 2009 07:58:41 +0000 (03:58 -0400)] 
Push the version number in trunk to 2.7.900; trunk is now working towards 2.8.

SVN-Revision: 942

17 years ago2.6.991a should be the last test release prior to 2.7.0.
Tim Kientzle [Wed, 8 Apr 2009 07:43:37 +0000 (03:43 -0400)] 
2.6.991a should be the last test release prior to 2.7.0.

SVN-Revision: 940

17 years agoAllow 'make test' as a synonym for 'make check'.
Tim Kientzle [Wed, 8 Apr 2009 07:42:54 +0000 (03:42 -0400)] 
Allow 'make test' as a synonym for 'make check'.

SVN-Revision: 939

17 years agoBranch libarchive 2.7.
Tim Kientzle [Wed, 8 Apr 2009 07:09:00 +0000 (03:09 -0400)] 
Branch libarchive 2.7.

SVN-Revision: 938

17 years agoSummarize work since 2.6.
Tim Kientzle [Wed, 8 Apr 2009 07:05:42 +0000 (03:05 -0400)] 
Summarize work since 2.6.

SVN-Revision: 937

17 years agoVerify that fopen() succeeded.
Tim Kientzle [Wed, 8 Apr 2009 07:05:17 +0000 (03:05 -0400)] 
Verify that fopen() succeeded.

SVN-Revision: 936

17 years agoVerify that -p without a dirname fails.
Tim Kientzle [Sun, 5 Apr 2009 06:10:07 +0000 (02:10 -0400)] 
Verify that -p without a dirname fails.

SVN-Revision: 930

17 years agoVerify that -ot and -in (without -t) are considered errors.
Tim Kientzle [Sun, 5 Apr 2009 06:09:30 +0000 (02:09 -0400)] 
Verify that -ot and -in (without -t) are considered errors.

SVN-Revision: 929

17 years agoNew test for -Z (compress)
Tim Kientzle [Sun, 5 Apr 2009 05:47:56 +0000 (01:47 -0400)] 
New test for -Z (compress)

SVN-Revision: 928

17 years agoOoops. Correct the test name to match the filename.
Tim Kientzle [Sun, 5 Apr 2009 05:47:01 +0000 (01:47 -0400)] 
Ooops.  Correct the test name to match the filename.

SVN-Revision: 927

17 years agoRename the tests to a consistent style:
Tim Kientzle [Sun, 5 Apr 2009 05:24:45 +0000 (01:24 -0400)] 
Rename the tests to a consistent style:
  Test for -L = test_option_L_upper
  Test for -B = test_option_B_upper
  Test for -l = test_option_l
This should be reasonably legible and be sane
on case-insensitive systems.

SVN-Revision: 926