]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
9 years agoAvoid trailing `,` in enum for ISO C90 compatiblity
Brad King [Wed, 21 Oct 2015 16:00:23 +0000 (12:00 -0400)] 
Avoid trailing `,` in enum for ISO C90 compatiblity

9 years agoWorkaround missing byte swap symbol on VS 7.1 Debug builds
Brad King [Wed, 21 Oct 2015 16:00:41 +0000 (12:00 -0400)] 
Workaround missing byte swap symbol on VS 7.1 Debug builds

The VS 7.1 MS C Debug runtime library does not export _byteswap_ushort.

9 years agoPort main library code to OSF operating system
Brad King [Wed, 21 Oct 2015 15:54:24 +0000 (11:54 -0400)] 
Port main library code to OSF operating system

Add preprocessor conditionals using '__osf__' as needed to build the
main library.  Do not try to port the tests or executables yet.

9 years agoUpdate 'inline' portability for old IBM and Sun compilers
Brad King [Wed, 21 Oct 2015 15:51:56 +0000 (11:51 -0400)] 
Update 'inline' portability for old IBM and Sun compilers

9 years agoAvoid using 'uint8_t' as bitfield type
Brad King [Thu, 22 Oct 2015 14:12:21 +0000 (10:12 -0400)] 
Avoid using 'uint8_t' as bitfield type

The IBM XL compiler does not like it.  Use plain 'unsigned' instead.

9 years agoAvoid using name 'u_long'
Brad King [Wed, 21 Oct 2015 16:03:09 +0000 (12:03 -0400)] 
Avoid using name 'u_long'

The system headers on some platforms define a 'u_long' type so we cannot
use the name.  Spell out 'unsigned long' instead.

9 years agoAvoid left-shift overflow of signed integer
Brad King [Wed, 21 Oct 2015 16:02:21 +0000 (12:02 -0400)] 
Avoid left-shift overflow of signed integer

In libarchive/archive_write_set_format_zip.c there are two calls to
archive_le32enc whose second argument is of the form

 archive_entry_mode(zip->entry) << 16

However, the return type from archive_entry_mode may be a signed integer
so the shift may overflow.  Since the second argument of archive_le32enc
expects uint32_t anyway, simply cast to that prior to shifting.

9 years agoFix typo in archive_write_add_filter_lzop.c comment
Brad King [Wed, 21 Oct 2015 15:58:51 +0000 (11:58 -0400)] 
Fix typo in archive_write_add_filter_lzop.c comment

9 years agoFix typo in archive_write_set_format_mtree.c comment
Brad King [Wed, 21 Oct 2015 15:58:28 +0000 (11:58 -0400)] 
Fix typo in archive_write_set_format_mtree.c comment

9 years agoFix typo in archive_write_set_options.3
Brad King [Wed, 21 Oct 2015 15:55:07 +0000 (11:55 -0400)] 
Fix typo in archive_write_set_options.3

9 years agoDefine ARCHIVE_VERSION_NUMBER before first use
Brad King [Wed, 21 Oct 2015 15:47:41 +0000 (11:47 -0400)] 
Define ARCHIVE_VERSION_NUMBER before first use

9 years agoThese tests only run on Mac; put all the code behind conditionals.
Tim Kientzle [Sat, 24 Oct 2015 11:10:08 +0000 (04:10 -0700)] 
These tests only run on Mac; put all the code behind conditionals.

9 years agoIt seems we can no longer rely on getting WARN back when
Tim Kientzle [Fri, 23 Oct 2015 15:11:44 +0000 (08:11 -0700)] 
It seems we can no longer rely on getting WARN back when
character-set conversion is inexact.  Change this test to
reflect the current realities.

9 years agoDon't try to be smart about probing the min/max tim_t values.
Tim Kientzle [Fri, 23 Oct 2015 04:43:07 +0000 (21:43 -0700)] 
Don't try to be smart about probing the min/max tim_t values.
Just assume that a signed time_t is really a 64-bit or 32-bit integer.

9 years agoIf 7zip is not supported, skip the encryption detection test.
Tim Kientzle [Wed, 21 Oct 2015 08:47:34 +0000 (01:47 -0700)] 
If 7zip is not supported, skip the encryption detection test.

9 years agoWhen comparing ACLs for these tests, ignore 'Guest' account
Tim Kientzle [Wed, 21 Oct 2015 08:08:20 +0000 (01:08 -0700)] 
When comparing ACLs for these tests, ignore 'Guest' account
information that may vary between machines.

9 years agoMerge pull request #608 from Tarsnap/fix-automake-whitespace
Tim Kientzle [Wed, 30 Sep 2015 03:44:33 +0000 (20:44 -0700)] 
Merge pull request #608 from Tarsnap/fix-automake-whitespace

Fix trailing whitespace in Makefile.am

9 years agoFix trailing whitespace in Makefile.am 608/head
Graham Percival [Tue, 29 Sep 2015 20:33:33 +0000 (13:33 -0700)] 
Fix trailing whitespace in Makefile.am

Previously, running the build process gave a warning:

$ sh build/autogen.sh
...
Makefile.am:356: warning: whitespace following trailing backslash
...

This removes that warning.

9 years agoMerge pull request #606 from betafive/pbarker/minitar
Tim Kientzle [Sat, 26 Sep 2015 17:16:28 +0000 (10:16 -0700)] 
Merge pull request #606 from betafive/pbarker/minitar

Cleanup error message printing in minitar example

9 years agoCleanup error message printing in minitar example 606/head
Paul Barker [Wed, 2 Sep 2015 09:53:15 +0000 (11:53 +0200)] 
Cleanup error message printing in minitar example

* An error message should not be printed if EOF is reached in copy_data. However
  an error message should be printed if any other error is encountered.

* A newline should be printed in extract if an error message was printed.

* If a file name is printed in extract (verbose operation) it should be followed
  by a space incase there is an error message.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
9 years agoMerge pull request #601 from Tarsnap/strdup-allocation-failure-check
Tim Kientzle [Thu, 10 Sep 2015 04:20:28 +0000 (21:20 -0700)] 
Merge pull request #601 from Tarsnap/strdup-allocation-failure-check

Check for strdup() allocation failure

9 years agoCheck for strdup() allocation failure 601/head
Graham Percival [Mon, 7 Sep 2015 21:31:49 +0000 (14:31 -0700)] 
Check for strdup() allocation failure

Sponsored by: Tarsnap Backup Inc.

9 years agoRework the la_ssize_t and la_int64_t definitions to avoid
Tim Kientzle [Sun, 6 Sep 2015 05:43:09 +0000 (22:43 -0700)] 
Rework the la_ssize_t and la_int64_t definitions to avoid
redefining la_int64_t if both archive.h and archive_entry.h are
included.  (This avoids a warning from clang that redefining
a typedef is a C11 feature.)

9 years agoMerge pull request #599 from Tarsnap/add-missing-tests-to-automake
Tim Kientzle [Fri, 4 Sep 2015 16:15:12 +0000 (09:15 -0700)] 
Merge pull request #599 from Tarsnap/add-missing-tests-to-automake

add missing tests to automake

9 years agoMerge pull request #596 from Tarsnap/warn-hardlink-target-failure
Tim Kientzle [Fri, 4 Sep 2015 04:49:40 +0000 (21:49 -0700)] 
Merge pull request #596 from Tarsnap/warn-hardlink-target-failure

Warn if target of hard-link is not present

9 years agoAdd test for #595 "warn missing hardlink target" 596/head
Graham Percival [Thu, 3 Sep 2015 03:17:06 +0000 (20:17 -0700)] 
Add test for #595 "warn missing hardlink target"

9 years agoWarn if target of hard-link is not present
Graham Percival [Sun, 30 Aug 2015 17:53:12 +0000 (10:53 -0700)] 
Warn if target of hard-link is not present

To reproduce,

        touch a
        ln a b
        ./bsdtar -c -f warn-hard-links.tar a b
        rm a b
        ./bsdtar -x -f warn-hard-links.tar b

should produce a warning message about failing to create 'b' because the
hard-link target 'a' does not exist.  Previously, it did not give any hints
about why 'b' could not be created.

9 years agoadd missing tests to automake 599/head
Graham Percival [Thu, 3 Sep 2015 02:09:06 +0000 (19:09 -0700)] 
add missing tests to automake

9 years agoIssue 593: Add .travis.yml for Travis-CI
Tim Kientzle [Thu, 27 Aug 2015 15:42:02 +0000 (08:42 -0700)] 
Issue 593:  Add .travis.yml for Travis-CI

This will help people who want to use Travis-CI to follow
libarchive development.  Including Travis-CI status in the
README.md is a separate issue that requires one of the
libarchive maintainers to commit to managing it.

9 years agoIssue 591
Tim Kientzle [Thu, 27 Aug 2015 15:35:59 +0000 (08:35 -0700)] 
Issue 591

9 years agoIssue 547: problems with compress bidder
Tim Kientzle [Sun, 9 Aug 2015 04:47:43 +0000 (21:47 -0700)] 
Issue 547:  problems with compress bidder

The code previously was not very careful about verifying the
compression parameters.  This led to cases where it failed to
reject invalid compressed data at the beginning.  The invalid
left shift was one symptom of this.

The code is now more careful:  It verifies that the compression
parameter byte exists and verifies that the maximum code size
is <= 16 bits.

This also includes some new tests to verify that truncated or
otherwise invalid compressed data is rejected.

9 years agoIssue 551: Fix the best-effort UTF8 conversion
Tim Kientzle [Sun, 9 Aug 2015 03:52:19 +0000 (20:52 -0700)] 
Issue 551:  Fix the best-effort UTF8 conversion

If a valid character set conversion is impossible, the code falls back
to a best-effort conversion that preserves ASCII bytes and converts
the rest to Unicode Replacement Characters (if the output is UTF8)
or '?' (otherwise).  This code did not correctly track the remaining
bytes in the output buffer; I've replaced this with slower and simpler
code that utilizes the safe string append functions.

10 years agoIssue #582: reject sparse blocks with negative size or offset, detect overflow when...
Tim Kientzle [Mon, 27 Jul 2015 00:09:22 +0000 (17:09 -0700)] 
Issue #582: reject sparse blocks with negative size or offset, detect overflow when tracking sparse blocks

10 years agoAdd archive_read_next_header support to archive_read_disk traversals, in addition...
Tim Kientzle [Sun, 26 Jul 2015 23:40:11 +0000 (16:40 -0700)] 
Add archive_read_next_header support to archive_read_disk traversals, in addition to archive_read_next_header2

10 years agoMerge pull request #109 from brooksdavis/clear_nochange_fflags
Tim Kientzle [Sun, 26 Jul 2015 22:56:26 +0000 (15:56 -0700)] 
Merge pull request #109 from brooksdavis/clear_nochange_fflags

Add flag to allow "immutable" files to be overwritten

10 years agoMerge pull request #583 from Somasis/master
Tim Kientzle [Sun, 26 Jul 2015 22:53:15 +0000 (15:53 -0700)] 
Merge pull request #583 from Somasis/master

configure.ac: Use pkg-config to find libxml2. Fixes cross compilation

10 years agoconfigure.ac: Use pkg-config to find libxml2. Fixes cross compilation 583/head
Kylie McClain [Sun, 26 Jul 2015 00:14:23 +0000 (20:14 -0400)] 
configure.ac: Use pkg-config to find libxml2. Fixes cross compilation

This was originally submitted to Google Code, and was carried over
during GitHub migration; however, it was in patch form, so I've made
a pull request for it for quicker merging.

Original source: https://github.com/libarchive/libarchive/issues/407
Original author: ambrop7

10 years agoMerge pull request #558 from blastrock/master
Tim Kientzle [Sun, 5 Jul 2015 17:13:50 +0000 (10:13 -0700)] 
Merge pull request #558 from blastrock/master

Do not use private macros for special types

10 years agoMerge pull request #565 from paulharris/bugfix_gitignore
Tim Kientzle [Sun, 5 Jul 2015 17:11:36 +0000 (10:11 -0700)] 
Merge pull request #565 from paulharris/bugfix_gitignore

Add vim swap files to .gitignore

10 years agoWhitespace cleanup after 41965bf
Tim Kientzle [Sun, 5 Jul 2015 17:05:31 +0000 (10:05 -0700)] 
Whitespace cleanup after 41965bf

10 years agoMerge branch 'paulharris-issue-read-data'
Tim Kientzle [Sun, 5 Jul 2015 16:59:18 +0000 (09:59 -0700)] 
Merge branch 'paulharris-issue-read-data'

10 years agoAdd support for archive_read_data() for read_disk archives. 570/head
Paul Harris [Tue, 30 Jun 2015 08:04:59 +0000 (16:04 +0800)] 
Add support for archive_read_data() for read_disk archives.

Hoisted the relevant archive_read variables into the
common archive struct.

10 years agoWindows does not support %F, use %Y-%m-%d instead.
Tim Kientzle [Mon, 29 Jun 2015 04:08:19 +0000 (21:08 -0700)] 
Windows does not support %F, use %Y-%m-%d instead.

10 years agoRemove unnecessary conditional
Tim Kientzle [Sun, 28 Jun 2015 18:38:49 +0000 (11:38 -0700)] 
Remove unnecessary conditional

10 years agoMerge pull request #564 from paulharris/bugfix_utf8
Tim Kientzle [Sun, 28 Jun 2015 02:39:50 +0000 (19:39 -0700)] 
Merge pull request #564 from paulharris/bugfix_utf8

Bugfix - should be copy+converting from mbs to utf. Not mbs to mbs.

10 years agoMerge pull request #568 from paulharris/issue-traverse
Tim Kientzle [Sun, 28 Jun 2015 02:37:57 +0000 (19:37 -0700)] 
Merge pull request #568 from paulharris/issue-traverse

Correct comment regarding traverse mount points

10 years agoCorrect comment regarding traverse mount points 568/head
Paul Harris [Fri, 26 Jun 2015 08:30:01 +0000 (16:30 +0800)] 
Correct comment regarding traverse mount points

The default behaviour is to traverse.
The option is to turn OFF traversal.

10 years agoFix indentation
Tim Kientzle [Tue, 23 Jun 2015 15:29:06 +0000 (08:29 -0700)] 
Fix indentation

10 years agoMerge pull request #566 from paulharris/bugfix_test_330
Tim Kientzle [Tue, 23 Jun 2015 15:26:09 +0000 (08:26 -0700)] 
Merge pull request #566 from paulharris/bugfix_test_330

Test 330 - Add assert to catch a segfault.

10 years agoMerge pull request #562 from paulharris/bugfix_compiler_warning
Tim Kientzle [Tue, 23 Jun 2015 15:22:33 +0000 (08:22 -0700)] 
Merge pull request #562 from paulharris/bugfix_compiler_warning

Fix a few compile warnings (g++ 4.7.2)

10 years agoMerge pull request #561 from paulharris/bugfix_wmemmove
Tim Kientzle [Tue, 23 Jun 2015 15:21:45 +0000 (08:21 -0700)] 
Merge pull request #561 from paulharris/bugfix_wmemmove

Fix CMake build - add HAVE_WMEMMOVE to config.h.in

10 years agoTest 330 - Add assert to catch a segfault. 566/head
Paul Harris [Tue, 23 Jun 2015 14:20:17 +0000 (22:20 +0800)] 
Test 330 - Add assert to catch a segfault.

The assert shouldn't fail, but it currently does.

10 years agoAdd vim swap files to .gitignore 565/head
Paul Harris [Tue, 23 Jun 2015 14:27:48 +0000 (22:27 +0800)] 
Add vim swap files to .gitignore

10 years agoBugfix - should be copy+converting from mbs to utf. Not mbs to mbs. 564/head
Paul Harris [Tue, 23 Jun 2015 14:21:39 +0000 (22:21 +0800)] 
Bugfix - should be copy+converting from mbs to utf. Not mbs to mbs.

10 years agoFix a few compile warnings (g++ 4.7.2) 562/head
Paul Harris [Tue, 23 Jun 2015 07:06:17 +0000 (15:06 +0800)] 
Fix a few compile warnings (g++ 4.7.2)

10 years agoFix CMake build - add HAVE_WMEMMOVE to config.h.in 561/head
Paul Harris [Tue, 23 Jun 2015 07:04:18 +0000 (15:04 +0800)] 
Fix CMake build - add HAVE_WMEMMOVE to config.h.in

HAVE_WMEMMOVE was added to CMakeLists.txt in b6ba5603,
but not added to config.h.in

10 years agoMerge pull request #560 from TomerHeber/master
Tim Kientzle [Wed, 17 Jun 2015 04:40:16 +0000 (21:40 -0700)] 
Merge pull request #560 from TomerHeber/master

7z inflation fails. #556

10 years agoMerge pull request #1 from TomerHeber/fix-7zip-bug 560/head
TomerHeber [Tue, 16 Jun 2015 18:45:08 +0000 (21:45 +0300)] 
Merge pull request #1 from TomerHeber/fix-7zip-bug

Fix for issue - #556

10 years agoFix for issue - #556
TomerHeber [Tue, 16 Jun 2015 18:42:06 +0000 (21:42 +0300)] 
Fix for issue - #556

7z inflation fails

10 years agoIssue #520: Define BCRYPT_SUCCESS for VS2008
Tim Kientzle [Mon, 15 Jun 2015 18:16:16 +0000 (11:16 -0700)] 
Issue #520:  Define BCRYPT_SUCCESS for VS2008

10 years agoIssue #520: Visual Studio 2008 is not C99 compliant.
Tim Kientzle [Mon, 15 Jun 2015 17:54:56 +0000 (10:54 -0700)] 
Issue #520:  Visual Studio 2008 is not C99 compliant.

10 years agoMerge pull request #559 from Tarsnap/tarsnap
Tim Kientzle [Wed, 10 Jun 2015 14:51:30 +0000 (07:51 -0700)] 
Merge pull request #559 from Tarsnap/tarsnap

Minor libarchive fixes from tarsnap

10 years agoAdd compatibility with old #defines 558/head
Philippe Daouadi [Tue, 9 Jun 2015 07:52:49 +0000 (09:52 +0200)] 
Add compatibility with old #defines

10 years agoDo not use private macros for special types
Philippe Daouadi [Mon, 8 Jun 2015 14:10:02 +0000 (16:10 +0200)] 
Do not use private macros for special types

When you need to write a callback for archive_read_open2, you must provide a
function which has the same signature as the typedef. The documentation says
that the read callback returns a ssize_t, but on windows there is no such
ssize_t. libarchive falls back on another type and use the private macro
__LA_SSIZE_T, thus it is not possible to write portable code that use
read_open2.

This patch replaces that macro with a simple typedef la_ssize_t (and does the
same for la_int64_t).

10 years agoMerge branch 'master' of github.com:libarchive/libarchive
Tim Kientzle [Mon, 8 Jun 2015 13:02:46 +0000 (06:02 -0700)] 
Merge branch 'master' of github.com:libarchive/libarchive

10 years agoTest harness should use 'const' buffer here
Tim Kientzle [Mon, 8 Jun 2015 13:02:09 +0000 (06:02 -0700)] 
Test harness should use 'const' buffer here

10 years agoSpelling
Tim Kientzle [Mon, 8 Jun 2015 13:01:04 +0000 (06:01 -0700)] 
Spelling

10 years agoMerge pull request #555 from orex/master
Tim Kientzle [Sat, 6 Jun 2015 18:25:31 +0000 (11:25 -0700)] 
Merge pull request #555 from orex/master

archive_write_set_format_filter_by_ext: man pages updated.

10 years agoBSD format in manual. 555/head
Kirill Okhotnikov [Tue, 2 Jun 2015 07:47:56 +0000 (09:47 +0200)] 
BSD format in manual.

10 years agoFree any allocated memory upon allocation failure 559/head
Colin Percival [Sat, 30 May 2015 06:20:57 +0000 (23:20 -0700)] 
Free any allocated memory upon allocation failure

10 years agoComments: small spelling and grammar fixes
Colin Percival [Tue, 2 Jun 2015 05:05:59 +0000 (22:05 -0700)] 
Comments: small spelling and grammar fixes

10 years agoStrings: fix an incorrect name of a function
Colin Percival [Tue, 2 Jun 2015 04:57:04 +0000 (21:57 -0700)] 
Strings: fix an incorrect name of a function

10 years agoarchive_write_set_format_filter_by_ext: man pages updated.
Kirill Okhotnikov [Mon, 1 Jun 2015 08:31:12 +0000 (10:31 +0200)] 
archive_write_set_format_filter_by_ext: man pages updated.

10 years agoMerge pull request #106 from orex/corrected
Tim Kientzle [Sun, 31 May 2015 05:32:08 +0000 (22:32 -0700)] 
Merge pull request #106 from orex/corrected

Corrected

10 years agoMerge pull request #544 from pombreda/patch-1
Tim Kientzle [Tue, 19 May 2015 13:50:49 +0000 (06:50 -0700)] 
Merge pull request #544 from pombreda/patch-1

Fixed minor typo

10 years agoFixed minor typo 544/head
Philippe Ombredanne [Tue, 19 May 2015 08:21:35 +0000 (10:21 +0200)] 
Fixed minor typo

10 years agoIssue #543: Start building out some tests for MSDOS attributes
Tim Kientzle [Sun, 17 May 2015 21:24:34 +0000 (14:24 -0700)] 
Issue #543:  Start building out some tests for MSDOS attributes

10 years agoMerge pull request #536 from pombredanne/patch-1
Tim Kientzle [Sat, 16 May 2015 20:36:13 +0000 (13:36 -0700)] 
Merge pull request #536 from pombredanne/patch-1

Fixing path to UC Regents-copyrighted file.

10 years agoMerge pull request #537 from pombredanne/patch-2
Tim Kientzle [Sat, 16 May 2015 20:35:48 +0000 (13:35 -0700)] 
Merge pull request #537 from pombredanne/patch-2

Updating references to tar/matching.c and get_date.c

10 years agoIssue #523: Fail if entry is too small for encryption header.
Tim Kientzle [Sat, 16 May 2015 20:28:10 +0000 (13:28 -0700)] 
Issue #523: Fail if entry is too small for encryption header.

10 years agoIssue #539: Try a different way to compute max/min time_t values.
Tim Kientzle [Sat, 16 May 2015 19:16:28 +0000 (12:16 -0700)] 
Issue #539:  Try a different way to compute max/min time_t values.

10 years agoIssue #540: Fix test to avoid use-after-free error.
Tim Kientzle [Sat, 16 May 2015 18:21:16 +0000 (11:21 -0700)] 
Issue #540: Fix test to avoid use-after-free error.

10 years agoAdd a new tar option --clear-nochange-fflags that causes file system 109/head
Brooks Davis [Tue, 10 Feb 2015 17:43:10 +0000 (17:43 +0000)] 
Add a new tar option --clear-nochange-fflags that causes file system
flags which might prevent the removal or modifiction of files to
be cleared before attempting to remove them.

Sponsored by: DARPA, AFRL

10 years agoAdd a new archive_write_disk option:ARCHIVE_EXTRACT_CLEAR_NOCHANGE_FFLAGS
Brooks Davis [Tue, 10 Feb 2015 17:39:51 +0000 (17:39 +0000)] 
Add a new archive_write_disk option:ARCHIVE_EXTRACT_CLEAR_NOCHANGE_FFLAGS
that clears platform-specific file flags that might prevent the removal
of a file system object before attempting to remove it.

Sponsored by: DARPA, AFRL

10 years agoMerge branch 'master' of github.com:libarchive/libarchive
Tim Kientzle [Wed, 13 May 2015 15:12:58 +0000 (08:12 -0700)] 
Merge branch 'master' of github.com:libarchive/libarchive

10 years agoFix spelling of archive_read_data_into_fd
Tim Kientzle [Wed, 13 May 2015 15:12:40 +0000 (08:12 -0700)] 
Fix spelling of archive_read_data_into_fd

10 years agoUpdating references to tar/matching.c and get_date 537/head
Philippe Ombredanne [Mon, 11 May 2015 13:22:49 +0000 (15:22 +0200)] 
Updating references to tar/matching.c and get_date

tar/matching.c is no a longer a file in the codebase. It has been replaced by libarchive/archive_match.c which is different code.

tar/get_date.c is now libarchive archive_getdate.c

10 years agoFixing path to UC Regents-copyrighted file. 536/head
Philippe Ombredanne [Mon, 11 May 2015 13:11:11 +0000 (15:11 +0200)] 
Fixing path to UC Regents-copyrighted file.

The path pointed to a file whose name has changed.

10 years agoSmall cosmetic changes. 106/head
Kirill Okhotnikov [Mon, 11 May 2015 11:51:00 +0000 (13:51 +0200)] 
Small cosmetic changes.

10 years agoGithub Issue #529: mismatched const usage in archive_read_open_memory.c
Tim Kientzle [Sun, 10 May 2015 17:53:15 +0000 (10:53 -0700)] 
Github Issue #529:  mismatched const usage in archive_read_open_memory.c

10 years agoMerge branch 'master' of github.com:libarchive/libarchive
Tim Kientzle [Sun, 10 May 2015 17:50:22 +0000 (10:50 -0700)] 
Merge branch 'master' of github.com:libarchive/libarchive

10 years agoMerge pull request #102 from sergiud/master
Tim Kientzle [Sat, 9 May 2015 20:53:10 +0000 (13:53 -0700)] 
Merge pull request #102 from sergiud/master

Fix for VC compilation errors

10 years agoMerge pull request #534 from rossburton/master
Tim Kientzle [Sat, 9 May 2015 20:46:46 +0000 (13:46 -0700)] 
Merge pull request #534 from rossburton/master

Fix out of tree builds

10 years agoMerge pull request #531 from hinrichsenhans/master
Tim Kientzle [Sat, 9 May 2015 05:33:06 +0000 (22:33 -0700)] 
Merge pull request #531 from hinrichsenhans/master

Fixes for VS2012 Compile

10 years agoFix printing of special chars in strdump
Tim Kientzle [Fri, 8 May 2015 03:51:03 +0000 (20:51 -0700)] 
Fix printing of special chars in strdump

10 years agobuild: fix out of tree builds 534/head
Ross Burton [Tue, 5 May 2015 14:29:52 +0000 (15:29 +0100)] 
build: fix out of tree builds

When writing files with shell directly it's best to create the target
directory first, as it's possible that the build directory is almost empty.

In particular out of tree builds with automake's dependency tracking
disabled is an easy way of triggering this.

10 years agoFixes for VS2012 Compile 531/head
Hans Hinrichsen [Tue, 5 May 2015 03:30:01 +0000 (22:30 -0500)] 
Fixes for VS2012 Compile

Updated includes in bsdtar_windows.h to bring in _setmode and _O_BINARY via io.h and fcntl.h
Explicitly cast a few void * to their structs to suppress Intellisense warnings
Moved variable in read_archive - VS2012 needs variables declared at the top of the block (does not support C99)

10 years agoExtend Zip64 test to verify more of the format details
Tim Kientzle [Sun, 3 May 2015 04:40:26 +0000 (21:40 -0700)] 
Extend Zip64 test to verify more of the format details

10 years agoFixes for VS2012 Compile
Hans Hinrichsen [Thu, 30 Apr 2015 03:45:31 +0000 (22:45 -0500)] 
Fixes for VS2012 Compile

Fixes for VS2012 Compile

Added headers needed when compiling in Win32 without Cygwin
Some pointers needed to be explicitly cast
VS had a lot of trouble with storing the result of
archive_entry_pathname in a local variable
The only way I could get it to compile was to call the function twice

10 years agoUse a macro wrapper on LL literals for compatibility with certain old Windows compilers.
Tim Kientzle [Sun, 26 Apr 2015 04:58:58 +0000 (21:58 -0700)] 
Use a macro wrapper on LL literals for compatibility with certain old Windows compilers.