]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
16 years agoInclude archive_windows.h directly via archive_platform.h, in preparation for removin...
Tim Kientzle [Sun, 19 Jul 2009 19:49:44 +0000 (15:49 -0400)] 
Include archive_windows.h directly via archive_platform.h, in preparation for removing this include from the cmake-generated config.h.

SVN-Revision: 1244

16 years agoMerge r192031 from FreeBSD-CURRENT: Eliminate redundant error messages.
Tim Kientzle [Sun, 19 Jul 2009 08:38:38 +0000 (04:38 -0400)] 
Merge r192031 from FreeBSD-CURRENT: Eliminate redundant error messages.

SVN-Revision: 1243

16 years agoMerge r195389 from FreeBSD-CURRENT: Rework the
Tim Kientzle [Sun, 19 Jul 2009 08:35:58 +0000 (04:35 -0400)] 
Merge r195389 from FreeBSD-CURRENT:  Rework the
numeric uid/gid support for the -R option.

SVN-Revision: 1242

16 years agoBuild cpio on FreeBSD again.
Tim Kientzle [Sun, 19 Jul 2009 07:57:48 +0000 (03:57 -0400)] 
Build cpio on FreeBSD again.

SVN-Revision: 1241

16 years agoSort short option list, fill in missing -I option, update
Tim Kientzle [Sun, 19 Jul 2009 07:57:34 +0000 (03:57 -0400)] 
Sort short option list, fill in missing -I option, update
manpage options to include -0, -J, -j, -lzma, and -h.
Since Windows no longer tries to automatically turn on ownership
restore, we need --preserve-owner to allow users to manually
turn it on.

SVN-Revision: 1240

16 years agoRemove the attempt to determine "root" for Windows in cpio.
Tim Kientzle [Sun, 19 Jul 2009 07:35:23 +0000 (03:35 -0400)] 
Remove the attempt to determine "root" for Windows in cpio.
This can never really work properly, so it's better to just
not bother.

SVN-Revision: 1239

16 years agoRemove the attempt to determine "root" for Windows.
Tim Kientzle [Sun, 19 Jul 2009 07:20:51 +0000 (03:20 -0400)] 
Remove the attempt to determine "root" for Windows.
It's not really feasible and just gets weirder the longer
we look at it.  We now assume different defaults only
for the root user on non-Windows systems.

SVN-Revision: 1238

16 years agoMore code simplifications on the seek implementation.
Tim Kientzle [Sun, 19 Jul 2009 07:04:26 +0000 (03:04 -0400)] 
More code simplifications on the seek implementation.

SVN-Revision: 1237

16 years agoVarious updates to the formats summary.
Tim Kientzle [Sun, 19 Jul 2009 06:59:00 +0000 (02:59 -0400)] 
Various updates to the formats summary.

SVN-Revision: 1236

16 years agoMore simplification of the seek/truncate logic:
Tim Kientzle [Sat, 18 Jul 2009 05:13:51 +0000 (01:13 -0400)] 
More simplification of the seek/truncate logic:
 1) We don't actually need to truncate; seek is enough.
 2) The Windows code doesn't need to be more paranoid than the Posix code.

SVN-Revision: 1235

16 years agoSimplify the lseek/ftruncate handling for Windows.
Tim Kientzle [Fri, 17 Jul 2009 06:59:00 +0000 (02:59 -0400)] 
Simplify the lseek/ftruncate handling for Windows.

SVN-Revision: 1234

16 years agoUse archive_entry_XXX() functions more heavily.
Tim Kientzle [Fri, 17 Jul 2009 06:31:13 +0000 (02:31 -0400)] 
Use archive_entry_XXX() functions more heavily.
This removes the need for major()/minor() and
reduces the use of struct stat in the client code.

SVN-Revision: 1233

16 years agoUse portable archive_entry_filetype() where we can.
Tim Kientzle [Fri, 17 Jul 2009 06:07:07 +0000 (02:07 -0400)] 
Use portable archive_entry_filetype() where we can.

SVN-Revision: 1232

16 years agoVerify that the correct data gets written to stdout with xvO.
Tim Kientzle [Fri, 17 Jul 2009 04:24:49 +0000 (00:24 -0400)] 
Verify that the correct data gets written to stdout with xvO.

SVN-Revision: 1231

16 years agoBail early if the program under test doesn't support -q at all.
Tim Kientzle [Fri, 17 Jul 2009 04:23:58 +0000 (00:23 -0400)] 
Bail early if the program under test doesn't support -q at all.

SVN-Revision: 1230

16 years agoI just noticed that test_option_q also exercises -r pretty
Tim Kientzle [Fri, 17 Jul 2009 04:23:30 +0000 (00:23 -0400)] 
I just noticed that test_option_q also exercises -r pretty
heavily; modify the new test_option_r to use a slightly different approach.

SVN-Revision: 1229

16 years agoBlame the program we're testing for failures.
Tim Kientzle [Fri, 17 Jul 2009 04:22:43 +0000 (00:22 -0400)] 
Blame the program we're testing for failures.

SVN-Revision: 1228

16 years agoExit this test early on format failures.
Tim Kientzle [Fri, 17 Jul 2009 04:21:28 +0000 (00:21 -0400)] 
Exit this test early on format failures.
In particular, I've been toying with
   bsdtar_test -p gtar
and this test is rather noisy then.

SVN-Revision: 1227

16 years agoFix a stupid mistake.
Tim Kientzle [Fri, 17 Jul 2009 04:20:42 +0000 (00:20 -0400)] 
Fix a stupid mistake.

SVN-Revision: 1226

16 years agoAdd a test for basic -r operation.
Tim Kientzle [Fri, 17 Jul 2009 03:49:55 +0000 (23:49 -0400)] 
Add a test for basic -r operation.

SVN-Revision: 1225

16 years agoRename test_option_T to test_option_T_upper, following a pattern
Tim Kientzle [Fri, 17 Jul 2009 03:35:08 +0000 (23:35 -0400)] 
Rename test_option_T to test_option_T_upper, following a pattern
established by bsdcpio_test for ensuring that test cases don't
cause problems on case-insensitive filesystems.

SVN-Revision: 1224

16 years agoOverhaul the SIGINFO/SIGUSR1 reporting. This is a little
Tim Kientzle [Fri, 17 Jul 2009 01:21:18 +0000 (21:21 -0400)] 
Overhaul the SIGINFO/SIGUSR1 reporting.  This is a little
simpler and gives a lot more information.  In particular,
it reports total bytes in/out, total files and compression
ratio, in addition to reporting the current file being processed.

SVN-Revision: 1223

16 years agoAdd archive_file_count() utility, for better statistics reporting.
Tim Kientzle [Fri, 17 Jul 2009 01:18:15 +0000 (21:18 -0400)] 
Add archive_file_count() utility, for better statistics reporting.

SVN-Revision: 1222

16 years agoMove lseek/ftruncate emulations into write.c, which is the
Tim Kientzle [Mon, 13 Jul 2009 05:45:27 +0000 (01:45 -0400)] 
Move lseek/ftruncate emulations into write.c, which is the
only place they're used.

SVN-Revision: 1221

16 years agoTestsuite fixes for cygwin-1.5
Charles Wilson [Fri, 10 Jul 2009 19:45:33 +0000 (15:45 -0400)] 
Testsuite fixes for cygwin-1.5
* configure.ac: Detect cygwin-1.7.
* tar/test/test_copy.c: Better tuning for long filename tests.

NOTE: this change causes a new cygwin-1.7 failure, but that is
actually a bug in the current cygwin-1.7 beta:
  http://cygwin.com/ml/cygwin/2009-07/msg00386.html
It's assumed this will be fixed in cygwin, soon.

SVN-Revision: 1220

16 years agoVarious testsuite fixes for cygwin-1.7.
Charles Wilson [Tue, 7 Jul 2009 19:32:31 +0000 (15:32 -0400)] 
Various testsuite fixes for cygwin-1.7.

* libarchive/test/test_read_format_mtree.c: Fix typo in test.
* tar/test/test_patterns.c: Ensure tests work without root privilege.
* cpio/test/test_option_f.c: Ditto.
* cpio/test/test_option_m.c: Ditto.
* cpio/test/test_gcpio_compat.c: Ditto.

SVN-Revision: 1219

16 years agoInclude new libarchive_fe dir for cpio/test build.
Tim Kientzle [Sat, 4 Jul 2009 17:02:43 +0000 (13:02 -0400)] 
Include new libarchive_fe dir for cpio/test build.

SVN-Revision: 1216

16 years agoMinor corrections for Windows: Use int64_t instead of (32-bit) off_t, include needed...
Tim Kientzle [Sat, 4 Jul 2009 07:26:15 +0000 (03:26 -0400)] 
Minor corrections for Windows:  Use int64_t instead of (32-bit) off_t, include needed <io.h> header.

SVN-Revision: 1215

16 years agoUse the current thread's code page, as possibly modified by the client program, not...
Tim Kientzle [Sat, 4 Jul 2009 07:22:53 +0000 (03:22 -0400)] 
Use the current thread's code page, as possibly modified by the client program, not the system-wide default.

SVN-Revision: 1214

16 years agoSync with recent changes to tar/test/main.c. No functional change.
Tim Kientzle [Sat, 4 Jul 2009 07:19:18 +0000 (03:19 -0400)] 
Sync with recent changes to tar/test/main.c.  No functional change.

SVN-Revision: 1213

16 years agoSupport decimal uid/gid when parsing -R/--owner option.
Tim Kientzle [Thu, 2 Jul 2009 04:17:34 +0000 (00:17 -0400)] 
Support decimal uid/gid when parsing -R/--owner option.
Extend existing test to cover new functionality.
Rework this test slightly to reduce conditionals for Cygwin.

SVN-Revision: 1208

16 years agoconst correction.
Tim Kientzle [Thu, 2 Jul 2009 04:15:38 +0000 (00:15 -0400)] 
const correction.

SVN-Revision: 1207

16 years agoStyle fix: declaring a structure tag is really a very straightforward thing.
Tim Kientzle [Wed, 1 Jul 2009 06:42:05 +0000 (02:42 -0400)] 
Style fix:  declaring a structure tag is really a very straightforward thing.

SVN-Revision: 1206

16 years agoNow that O_BINARY is being explicitly asserted everywhere it should
Tim Kientzle [Sun, 28 Jun 2009 23:59:21 +0000 (19:59 -0400)] 
Now that O_BINARY is being explicitly asserted everywhere it should
be, we can remove the last _set_fmode() calls.

SVN-Revision: 1204

16 years agoNow that cpio is explicity using O_BINARY on opens,
Tim Kientzle [Sun, 28 Jun 2009 23:57:46 +0000 (19:57 -0400)] 
Now that cpio is explicity using O_BINARY on opens,
make sure it gets defined.

SVN-Revision: 1203

16 years agoCygwin build fixes, thanks to Charles Wilson.
Tim Kientzle [Sun, 28 Jun 2009 23:57:08 +0000 (19:57 -0400)] 
Cygwin build fixes, thanks to Charles Wilson.

SVN-Revision: 1202

16 years agocpio doesn't need set_fmode(O_BINARY) any more so we can remove it.
Tim Kientzle [Sun, 28 Jun 2009 08:08:04 +0000 (04:08 -0400)] 
cpio doesn't need set_fmode(O_BINARY) any more so we can remove it.
Also, fix up the uid/gid formatting to work properly on Windows (whose printf() functions don't support ISO C99).

SVN-Revision: 1201

16 years agoWhen verifying date, be tolerant of "Jan 01" or "Jan 1" and also tolerate different...
Tim Kientzle [Sun, 28 Jun 2009 08:01:50 +0000 (04:01 -0400)] 
When verifying date, be tolerant of "Jan 01" or "Jan  1" and also tolerate different line endings.

SVN-Revision: 1200

16 years agoFix running bsdcpio_test in a dir with spaces by quoting the program name appropriately.
Tim Kientzle [Sun, 28 Jun 2009 08:00:33 +0000 (04:00 -0400)] 
Fix running bsdcpio_test in a dir with spaces by quoting the program name appropriately.

SVN-Revision: 1199

16 years agoMinor touchups for FreeBSD Makefiles.
Tim Kientzle [Sun, 28 Jun 2009 01:45:48 +0000 (21:45 -0400)] 
Minor touchups for FreeBSD Makefiles.

SVN-Revision: 1198

16 years agoUse sprintf_s only in MSVC, not in MinGW, Cygwin, or other Windows-based environments.
Tim Kientzle [Sun, 28 Jun 2009 01:44:54 +0000 (21:44 -0400)] 
Use sprintf_s only in MSVC, not in MinGW, Cygwin, or other Windows-based environments.

SVN-Revision: 1197

16 years agoInclude <io.h> and <fcntl.h> to pull in setmode(), fileno(), and O_BINARY
Tim Kientzle [Sun, 28 Jun 2009 00:05:54 +0000 (20:05 -0400)] 
Include <io.h> and <fcntl.h> to pull in setmode(), fileno(), and O_BINARY
for Cygwin.

SVN-Revision: 1195

16 years agoBetter error reporting of certain test failures.
Tim Kientzle [Sat, 27 Jun 2009 23:59:27 +0000 (19:59 -0400)] 
Better error reporting of certain test failures.

SVN-Revision: 1194

16 years agoRevert r1019, per comment by Charles Wilson.
Tim Kientzle [Sat, 27 Jun 2009 23:51:01 +0000 (19:51 -0400)] 
Revert r1019, per comment by Charles Wilson.

SVN-Revision: 1193

16 years agoDelete empty svn:mergeinfo that seem to have crept in from somewhere.
Tim Kientzle [Sat, 27 Jun 2009 19:51:30 +0000 (15:51 -0400)] 
Delete empty svn:mergeinfo that seem to have crept in from somewhere.

SVN-Revision: 1192

16 years agoRevert r1016 because of feedback from Charles Wilson.
Tim Kientzle [Sat, 27 Jun 2009 19:48:17 +0000 (15:48 -0400)] 
Revert r1016 because of feedback from Charles Wilson.

SVN-Revision: 1191

16 years agoForce client-provided file descriptors to binary mode
Tim Kientzle [Sat, 27 Jun 2009 18:36:51 +0000 (14:36 -0400)] 
Force client-provided file descriptors to binary mode
on Cygwin.

SVN-Revision: 1190

16 years agobinmode.o should no longer be needed on Cygwin.
Tim Kientzle [Sat, 27 Jun 2009 18:32:16 +0000 (14:32 -0400)] 
binmode.o should no longer be needed on Cygwin.

SVN-Revision: 1189

16 years agoI believe the _set_fmode() here is no longer needed.
Tim Kientzle [Sat, 27 Jun 2009 03:51:50 +0000 (23:51 -0400)] 
I believe the _set_fmode() here is no longer needed.

SVN-Revision: 1188

16 years agoOn Windows, set _O_BINARY on filehandles passed in from clients.
Tim Kientzle [Sat, 27 Jun 2009 03:48:20 +0000 (23:48 -0400)] 
On Windows, set _O_BINARY on filehandles passed in from clients.
This should eliminate the need for clients to take special
measures to get correct binary handling.

SVN-Revision: 1187

16 years agoFix "make check" by matching some recent variable renaming.
Tim Kientzle [Sat, 27 Jun 2009 03:44:34 +0000 (23:44 -0400)] 
Fix "make check" by matching some recent variable renaming.

SVN-Revision: 1186

16 years agoUse different files for each sub-test here to make it easier to diagnose failures.
Tim Kientzle [Fri, 26 Jun 2009 04:21:47 +0000 (00:21 -0400)] 
Use different files for each sub-test here to make it easier to diagnose failures.

SVN-Revision: 1184

16 years agoBreak into debugger on reference file failure only after printing out the explanation.
Tim Kientzle [Fri, 26 Jun 2009 04:21:02 +0000 (00:21 -0400)] 
Break into debugger on reference file failure only after printing out the explanation.
If -vv, then print out each command as it's run.

SVN-Revision: 1183

16 years agoIf neither SIGINFO nor SIGUSR1 is being used, don't crash.
Tim Kientzle [Fri, 26 Jun 2009 04:18:37 +0000 (00:18 -0400)] 
If neither SIGINFO nor SIGUSR1 is being used, don't crash.

SVN-Revision: 1182

16 years agoSVN-Revision: 1181
Tim Kientzle [Tue, 23 Jun 2009 05:18:00 +0000 (01:18 -0400)] 
SVN-Revision: 1181

16 years agoThe output of uudecode is binary.
Tim Kientzle [Mon, 22 Jun 2009 05:10:55 +0000 (01:10 -0400)] 
The output of uudecode is binary.

SVN-Revision: 1180

16 years agoFix build when regex.h is unavailable.
Tim Kientzle [Mon, 22 Jun 2009 03:59:15 +0000 (23:59 -0400)] 
Fix build when regex.h is unavailable.

SVN-Revision: 1179

16 years agoOoops. Make it compile again.
Tim Kientzle [Mon, 22 Jun 2009 03:58:22 +0000 (23:58 -0400)] 
Ooops.  Make it compile again.

SVN-Revision: 1178

16 years agoClear error buffer on entry to archive_read_open2().
Tim Kientzle [Sun, 21 Jun 2009 17:10:46 +0000 (13:10 -0400)] 
Clear error buffer on entry to archive_read_open2().
Limit options setting to archives that have not yet been opened.

SVN-Revision: 1177

16 years agoClear any warning/error messages set by archive_read_support_compression_*
Colin Percival [Sun, 21 Jun 2009 05:09:55 +0000 (01:09 -0400)] 
Clear any warning/error messages set by archive_read_support_compression_*
functions, since we're ignoring their return codes.  This eliminates the
weird behaviour of printing "Using external unxz program for xz
decompression" if an unrelated error occurs when opening an archive (due
to the message lingering in the error message buffer).

Approved by: kientzle

SVN-Revision: 1176

16 years agoInclude a minimal test for iso9660 options handling. In
Tim Kientzle [Sat, 20 Jun 2009 06:15:28 +0000 (02:15 -0400)] 
Include a minimal test for iso9660 options handling.  In
particular, this tests the fix made in r1172.

SVN-Revision: 1175

16 years agoOops. Back out Makefile changes from r1173; those were
Tim Kientzle [Sat, 20 Jun 2009 06:06:29 +0000 (02:06 -0400)] 
Oops.  Back out Makefile changes from r1173; those were
unintentional.

SVN-Revision: 1174

16 years agoMerge r1172 from trunk: Fix "tar --options=iso9660:joliet"
Tim Kientzle [Sat, 20 Jun 2009 06:04:42 +0000 (02:04 -0400)] 
Merge r1172 from trunk:  Fix "tar --options=iso9660:joliet"

SVN-Revision: 1173

16 years agoFix "tar --options=iso9660:joliet" and other uses of
Tim Kientzle [Sat, 20 Jun 2009 06:00:30 +0000 (02:00 -0400)] 
Fix "tar --options=iso9660:joliet" and other uses of
format options.

SVN-Revision: 1172

16 years agoSync up the test harnesses somewhat.
Tim Kientzle [Thu, 18 Jun 2009 05:44:35 +0000 (01:44 -0400)] 
Sync up the test harnesses somewhat.

SVN-Revision: 1171

16 years agoMake bsdtar_test and bsdcpio_test aware of TMPDIR/TMP/TEMPDIR
Tim Kientzle [Thu, 18 Jun 2009 05:11:18 +0000 (01:11 -0400)] 
Make bsdtar_test and bsdcpio_test aware of TMPDIR/TMP/TEMPDIR
environment variables.

SVN-Revision: 1170

16 years agoCompare 'avail' to 0, not ARCHIVE_OK. (A zero value here
Tim Kientzle [Mon, 15 Jun 2009 06:19:38 +0000 (02:19 -0400)] 
Compare 'avail' to 0, not ARCHIVE_OK.  (A zero value here
represents the number of bytes available, not a success status.)

SVN-Revision: 1169

16 years agoRemove unused variable.
Tim Kientzle [Mon, 15 Jun 2009 06:17:44 +0000 (02:17 -0400)] 
Remove unused variable.

SVN-Revision: 1168

16 years agoFix a bunch of tests on Visual Studio:
Tim Kientzle [Mon, 15 Jun 2009 01:48:29 +0000 (21:48 -0400)] 
Fix a bunch of tests on Visual Studio:
 * detect bzip2 unavailability and skip those tests
 * Now that we have better handling for missing compression,
   test_fuzz doesn't need to test whether it can handle
   a file before it tries fuzzing it.
 * Change off_t to int64_t for a lot of internal vars
   to support VS 32-bit off_t; since we can't change
   the external client_skip interface until libarchive 3.0,
   just limit forward skips until then.

SVN-Revision: 1167

16 years agoWhen building out the read filter pipeline, ask each filter
Tim Kientzle [Sun, 14 Jun 2009 17:46:29 +0000 (13:46 -0400)] 
When building out the read filter pipeline, ask each filter
for some data after we initialize it.  This catches filter
startup failures (such as errors forking an external program)
at open time.  Adjust one test that now sees an error earlier.

SVN-Revision: 1166

16 years agoVerify the reference directory even if it was specified on the command line.
Tim Kientzle [Sun, 14 Jun 2009 07:15:06 +0000 (03:15 -0400)] 
Verify the reference directory even if it was specified on the command line.

SVN-Revision: 1165

16 years agoSkip this test if libarchive isn't compiled with libbz2.
Tim Kientzle [Sun, 14 Jun 2009 07:13:59 +0000 (03:13 -0400)] 
Skip this test if libarchive isn't compiled with libbz2.

SVN-Revision: 1164

16 years agoDrop a few unnecessary arguments.
Tim Kientzle [Sun, 14 Jun 2009 05:43:13 +0000 (01:43 -0400)] 
Drop a few unnecessary arguments.

SVN-Revision: 1163

16 years agoSwitch the tar test suite to use stdio (FILE *, fopen, etc)
Tim Kientzle [Sun, 14 Jun 2009 05:37:44 +0000 (01:37 -0400)] 
Switch the tar test suite to use stdio (FILE *, fopen, etc)
instead of Unix I/O calls (open()/read()/write()).  This
is partly to address some portability issues---I want to
minimize platform-specific code in the test suites---and
partly because there isn't a compelling argument for using
Unix I/O calls in the test suites (unlike libarchive itself,
which does have specific requirements that require the
use of Unix I/O instead of stdio).

After this is tested on more platforms, I hope to apply similar
changes to the cpio and libarchive test suites.

SVN-Revision: 1162

16 years agoSince bsdtar already pays for stdio, just use fprintf() here instead of trying to...
Tim Kientzle [Fri, 12 Jun 2009 05:19:15 +0000 (01:19 -0400)] 
Since bsdtar already pays for stdio, just use fprintf() here instead of trying to economize by using write().

SVN-Revision: 1161

16 years agoIf signals can't be handled, stub out the setup functions.
Tim Kientzle [Fri, 12 Jun 2009 05:14:33 +0000 (01:14 -0400)] 
If signals can't be handled, stub out the setup functions.

SVN-Revision: 1160

16 years agoDon't use off_t or size_t for measuring file sizes.
Tim Kientzle [Fri, 12 Jun 2009 05:01:14 +0000 (01:01 -0400)] 
Don't use off_t or size_t for measuring file sizes.

SVN-Revision: 1159

16 years agoFix libarchive_test on MinGW. Can we do better here?
Tim Kientzle [Fri, 12 Jun 2009 04:54:24 +0000 (00:54 -0400)] 
Fix libarchive_test on MinGW.  Can we do better here?

SVN-Revision: 1158

16 years agoCouple of minor build issues on MinGW.
Tim Kientzle [Fri, 12 Jun 2009 04:52:35 +0000 (00:52 -0400)] 
Couple of minor build issues on MinGW.

SVN-Revision: 1157

16 years ago_set_fmode(O_BINARY) shouldn't be needed here; we should just include O_BINARY with...
Tim Kientzle [Fri, 12 Jun 2009 04:47:23 +0000 (00:47 -0400)] 
_set_fmode(O_BINARY) shouldn't be needed here; we should just include O_BINARY with any open() calls as necessary.

SVN-Revision: 1156

16 years agoIf neither SIGINFO nor SIGUSR1 is defined, don't build the signal-handling functions.
Tim Kientzle [Fri, 12 Jun 2009 04:45:06 +0000 (00:45 -0400)] 
If neither SIGINFO nor SIGUSR1 is defined, don't build the signal-handling functions.

SVN-Revision: 1155

16 years agoUpdate to use the new "libarchive frontend" common functions.
Tim Kientzle [Fri, 12 Jun 2009 04:09:55 +0000 (00:09 -0400)] 
Update to use the new "libarchive frontend" common functions.

SVN-Revision: 1154

16 years agoProperty fixups: Renamed files on trunk don't need mergeinfo.
Tim Kientzle [Fri, 12 Jun 2009 03:30:15 +0000 (23:30 -0400)] 
Property fixups: Renamed files on trunk don't need mergeinfo.

SVN-Revision: 1149

16 years agoReverse-merge r1147: Increase the limit on how much memory liblzma is allowed to...
Tim Kientzle [Fri, 12 Jun 2009 03:29:11 +0000 (23:29 -0400)] 
Reverse-merge r1147:  Increase the limit on how much memory liblzma is allowed to allocate.

SVN-Revision: 1148

16 years agoIt appears that liblzma truly does use the 'memlimit' argument
Tim Kientzle [Fri, 12 Jun 2009 03:24:41 +0000 (23:24 -0400)] 
It appears that liblzma truly does use the 'memlimit' argument
to lzma_stream_decoder() and lzma_alone_decoder() as an upper
limit on the amount of memory they will allocate, allocating
less if the stream uses less.  So I don't see any reason to
not make this value very large.

SVN-Revision: 1147

16 years agoUse sigaction instead of signal. This unbreaks Solaris and other
Colin Percival [Fri, 5 Jun 2009 06:15:50 +0000 (02:15 -0400)] 
Use sigaction instead of signal.  This unbreaks Solaris and other
platforms with SysV signal-handling semantics.

Obtained from: tarsnap

SVN-Revision: 1146

16 years agoFix build when libz is unavailable.
Tim Kientzle [Fri, 5 Jun 2009 04:54:08 +0000 (00:54 -0400)] 
Fix build when libz is unavailable.

SVN-Revision: 1145

16 years agoComment tweaks; make it a little more obvious the difference
Tim Kientzle [Sat, 30 May 2009 07:38:01 +0000 (03:38 -0400)] 
Comment tweaks; make it a little more obvious the difference
between examples/untar.c and contrib/untar.c.  I should
probably rename one of these.

SVN-Revision: 1144

16 years agoComment improvements, minor code fixes for standalone untar program.
Tim Kientzle [Sat, 30 May 2009 07:36:04 +0000 (03:36 -0400)] 
Comment improvements, minor code fixes for standalone untar program.

SVN-Revision: 1143

16 years agofnmatch(3) is no longer use, so don't check for it.
Joerg Sonnenberger [Fri, 29 May 2009 06:38:52 +0000 (02:38 -0400)] 
fnmatch(3) is no longer use, so don't check for it.

SVN-Revision: 1142

16 years agoFree data in the proper order; this caused a crash
Tim Kientzle [Fri, 29 May 2009 05:38:51 +0000 (01:38 -0400)] 
Free data in the proper order; this caused a crash
with malloc debugging turned on.

SVN-Revision: 1141

16 years agoDistribution needs header files.
Tim Kientzle [Fri, 29 May 2009 05:35:04 +0000 (01:35 -0400)] 
Distribution needs header files.

SVN-Revision: 1140

16 years agoA lot of common client source files were recently moved to
Tim Kientzle [Fri, 29 May 2009 05:16:35 +0000 (01:16 -0400)] 
A lot of common client source files were recently moved to
the 'libarchive_fe' directory.

SVN-Revision: 1139

16 years agoRemove obsolete PROJECTS file from Makefile.am.
Tim Kientzle [Fri, 29 May 2009 05:15:58 +0000 (01:15 -0400)] 
Remove obsolete PROJECTS file from Makefile.am.

SVN-Revision: 1138

16 years agoReplace zip_encode with the normal endian functions.
Joerg Sonnenberger [Wed, 27 May 2009 15:39:26 +0000 (11:39 -0400)] 
Replace zip_encode with the normal endian functions.

SVN-Revision: 1137

16 years agoReplace archive_write_zip_set_deflate and archive_write_zip_set_store
Joerg Sonnenberger [Tue, 26 May 2009 20:21:39 +0000 (16:21 -0400)] 
Replace archive_write_zip_set_deflate and archive_write_zip_set_store
with options.

SVN-Revision: 1136

16 years agoWriting zip is fully supported.
Joerg Sonnenberger [Tue, 26 May 2009 20:03:29 +0000 (16:03 -0400)] 
Writing zip is fully supported.

SVN-Revision: 1135

16 years agoHard-wire buffer size only once and check for malloc error.
Joerg Sonnenberger [Tue, 26 May 2009 20:01:19 +0000 (16:01 -0400)] 
Hard-wire buffer size only once and check for malloc error.

SVN-Revision: 1134

16 years agoRefactor crc32 into a separate file and provide a version that actually
Joerg Sonnenberger [Tue, 26 May 2009 19:37:20 +0000 (15:37 -0400)] 
Refactor crc32 into a separate file and provide a version that actually
works.

SVN-Revision: 1133

16 years agoMake compression support work.
Joerg Sonnenberger [Tue, 26 May 2009 18:58:08 +0000 (14:58 -0400)] 
Make compression support work.

SVN-Revision: 1132