| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
CMake needs only a single static libarchive library and not a shared
one. Call it cmlibarchive to avoid confusion.
|
|
|
|
|
|
| |
Remove add_subdirectory() calls for directories not included in the
reduced libarchive snapshot. Remove options that configure settings in
the missing directories.
|
|
|
|
|
| |
Add Utilities/cmlibarchive using upstream libarchive 3.0.0-r3950
snapshot.
|
| |
|
|
|
|
|
|
|
|
| |
This version of MinGW defines _SSIZE_T_ for ssize_t. This patch is
based on upstream libarchive SVN commit 3649 (Fix build with mingwrt
3.20, 2011-08-27).
Inspired-by: Tim Kientzle <kientzle@freebsd.org>
|
|
|
|
|
|
|
|
|
|
|
| |
If neither MAJOR_IN_MKDEV or MAJOR_IN_SYSMACROS is defined then provide
our own implementation of these macros locally. This complements the
change in commit cf5ad183 (Fix major() check for LSB 4.0, 2011-01-12).
This patch is based on upstream libarchive SVN commit 1553 (Shuffle the
major/minor/makedev support a bit; this should work on both Windows and
Haiku, 2009-10-31).
Inspired-by: Tim Kientzle <kientzle@freebsd.org>
|
|\
| |
| |
| |
| |
| | |
92c082b Add a fix for the inline keyword on the osf os.
bd56626 Fixes for the OSF operating system build.
|
| | |
|
| | |
|
|/
|
|
|
|
| |
Dereferencing a 0-pointer is undefined behavior, not a deterministic
crash. Use a 1-pointer instead. This also avoids a warning by Clang
about the undefined behavior.
|
|
|
|
|
|
| |
At least one version of GNU tar (1.15.1 with Fedora patches) does not
recognize these attributes and exits with error. Do not generate them.
Patch from upstream libarchive svn r2563.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This was the only try_run() in libarchive, and the result was not used
in the source code. We remove it to allow cross-compiling to work.
|
|
|
|
|
|
|
|
| |
In libarchive/archive_platform.h we should include <stdint.h> or
<inttypes.h> immediately after "config.h" to define integer types
referenced by configuration results. For example, on a non-conformant
platform ssize_t might default to int64_t, so int64_t must be defined
before ssize_t is used (and ssize_t is used in archive_windows.h).
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The commit "libarchive: Define _XOPEN_SOURCE for get(pwu|grg)id_r"
introduced a comment referring to get(pwu|grg)id_r in a source file that
actually uses the functions get(pw|gr)name_r. We fix the comment.
|
|
|
|
|
|
|
| |
The "result" argument to functions get(pwu|grg)id_r and get(pw|gr)name_r
does not appear in the signatures provided on older platforms. We set
the pointer to the result memory in case the function ignores it, thus
ensuring initialization.
|
|
|
|
|
|
| |
This constant may be defined in one of a few headers. We teach the
try-compile for it to test all the headers together instead of only one
header.
|
|
|
|
|
|
|
| |
The commit "Fix libarchive linker errors on SunOS for mkdev/major/minor"
hard-coded #include lines for getting mkdev/major/minor on the Sun.
Instead we add missing try-compile tests to make sure the proper headers
get included through the standard mechanism.
|
|
|
|
|
|
| |
The commit "Fixed a few of the SunOS build errors in libarchive" changed
the call to these functions to use the old signatures. Instead we now
define _XOPEN_SOURCE to get the improved modern signatures.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Functions declared 'static' should be defined 'static' too.
|
| |
|
|
|
|
|
|
|
| |
The commit "libarchive: Fix Borland integer constants" introduced use of
HAVE_* configured macros into archive.h and archive_entry.h where they
are not allowed. This commit replaces the logic with something that
does not depend on the configured macros.
|
|
|
|
|
|
| |
The VS 6 version of wincrypt.h only works if _WIN32_WINNT >= 0x0400.
We block its inclusion through windows.h by defining NOCRYPT, and then
define _WIN32_WINNT and include it only when necessary.
|
|
|
|
|
|
|
| |
Some versions of Borland provide <stdint.h>, so we use it when possible.
However, the 64-bit signed and unsigned integer min/max constants cause
overflow warnings from Borland itself! For these constants we fall back
on our default definitions.
|
|
|
|
|
| |
We disable warnings to silence them while making minimal changes to
third-party code.
|
|
|
|
|
| |
We disable warnings to silence them while making minimal changes to
third-party code.
|
| |
|
| |
|
| |
|
|
|
|
| |
vs70 again too.
|
| |
|