Update vendor/libarchive to git 98a695399e8e7420635a5448aecde8b0a82fb83a
Release 3.3.2 Vendor changes: PR #901: don't depend on stdin in a testcase
This commit is contained in:
parent
e9bc86b044
commit
db653ece17
@ -15,7 +15,7 @@ endif()
|
|||||||
# RelWithDebInfo : Release build with Debug Info
|
# RelWithDebInfo : Release build with Debug Info
|
||||||
# MinSizeRel : Release Min Size build
|
# MinSizeRel : Release Min Size build
|
||||||
IF(NOT CMAKE_BUILD_TYPE)
|
IF(NOT CMAKE_BUILD_TYPE)
|
||||||
SET(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build Type" FORCE)
|
SET(CMAKE_BUILD_TYPE "Release" CACHE STRING "Build Type" FORCE)
|
||||||
ENDIF(NOT CMAKE_BUILD_TYPE)
|
ENDIF(NOT CMAKE_BUILD_TYPE)
|
||||||
# Set a value type to properly display CMAKE_BUILD_TYPE on GUI if the
|
# Set a value type to properly display CMAKE_BUILD_TYPE on GUI if the
|
||||||
# value type is "UNINITIALIZED".
|
# value type is "UNINITIALIZED".
|
||||||
|
@ -23,7 +23,7 @@ TESTS_ENVIRONMENT= $(libarchive_TESTS_ENVIRONMENT) $(bsdtar_TESTS_ENVIRONMENT) $
|
|||||||
DISTCHECK_CONFIGURE_FLAGS = --enable-bsdtar --enable-bsdcpio
|
DISTCHECK_CONFIGURE_FLAGS = --enable-bsdtar --enable-bsdcpio
|
||||||
# The next line is commented out by default in shipping libarchive releases.
|
# The next line is commented out by default in shipping libarchive releases.
|
||||||
# It is uncommented by default in trunk.
|
# It is uncommented by default in trunk.
|
||||||
DEV_CFLAGS=-Werror -Wextra -Wunused -Wshadow -Wmissing-prototypes -Wcast-qual -g
|
# DEV_CFLAGS=-Werror -Wextra -Wunused -Wshadow -Wmissing-prototypes -Wcast-qual -g
|
||||||
AM_CFLAGS=$(DEV_CFLAGS)
|
AM_CFLAGS=$(DEV_CFLAGS)
|
||||||
PLATFORMCPPFLAGS = @PLATFORMCPPFLAGS@
|
PLATFORMCPPFLAGS = @PLATFORMCPPFLAGS@
|
||||||
AM_CPPFLAGS=$(PLATFORMCPPFLAGS)
|
AM_CPPFLAGS=$(PLATFORMCPPFLAGS)
|
||||||
@ -850,6 +850,7 @@ libarchive_test_EXTRA_DIST=\
|
|||||||
libarchive/test/test_read_format_zip_winzip_aes256.zip.uu \
|
libarchive/test/test_read_format_zip_winzip_aes256.zip.uu \
|
||||||
libarchive/test/test_read_format_zip_winzip_aes256_large.zip.uu \
|
libarchive/test/test_read_format_zip_winzip_aes256_large.zip.uu \
|
||||||
libarchive/test/test_read_format_zip_winzip_aes256_stored.zip.uu \
|
libarchive/test/test_read_format_zip_winzip_aes256_stored.zip.uu \
|
||||||
|
libarchive/test/test_read_format_zip_with_invalid_traditional_eocd.zip.uu \
|
||||||
libarchive/test/test_read_format_zip_zip64a.zip.uu \
|
libarchive/test/test_read_format_zip_zip64a.zip.uu \
|
||||||
libarchive/test/test_read_format_zip_zip64b.zip.uu \
|
libarchive/test/test_read_format_zip_zip64b.zip.uu \
|
||||||
libarchive/test/test_read_large_splitted_rar_aa.uu \
|
libarchive/test/test_read_large_splitted_rar_aa.uu \
|
||||||
|
2
NEWS
2
NEWS
@ -1,3 +1,5 @@
|
|||||||
|
Jul 09, 2017: libarchive 3.3.2 released
|
||||||
|
|
||||||
Mar 16, 2017: NFSv4 ACL support for Linux (librichacl)
|
Mar 16, 2017: NFSv4 ACL support for Linux (librichacl)
|
||||||
|
|
||||||
Feb 26, 2017: libarchive 3.3.1 released
|
Feb 26, 2017: libarchive 3.3.1 released
|
||||||
|
@ -1 +1 @@
|
|||||||
3003002dev
|
3003002
|
||||||
|
@ -4,7 +4,7 @@ dnl First, define all of the version numbers up front.
|
|||||||
dnl In particular, this allows the version macro to be used in AC_INIT
|
dnl In particular, this allows the version macro to be used in AC_INIT
|
||||||
|
|
||||||
dnl These first two version numbers are updated automatically on each release.
|
dnl These first two version numbers are updated automatically on each release.
|
||||||
m4_define([LIBARCHIVE_VERSION_S],[3.3.2dev])
|
m4_define([LIBARCHIVE_VERSION_S],[3.3.2])
|
||||||
m4_define([LIBARCHIVE_VERSION_N],[3003002])
|
m4_define([LIBARCHIVE_VERSION_N],[3003002])
|
||||||
|
|
||||||
dnl bsdtar and bsdcpio versioning tracks libarchive
|
dnl bsdtar and bsdcpio versioning tracks libarchive
|
||||||
|
@ -155,7 +155,7 @@ __LA_DECL int archive_version_number(void);
|
|||||||
/*
|
/*
|
||||||
* Textual name/version of the library, useful for version displays.
|
* Textual name/version of the library, useful for version displays.
|
||||||
*/
|
*/
|
||||||
#define ARCHIVE_VERSION_ONLY_STRING "3.3.2dev"
|
#define ARCHIVE_VERSION_ONLY_STRING "3.3.2"
|
||||||
#define ARCHIVE_VERSION_STRING "libarchive " ARCHIVE_VERSION_ONLY_STRING
|
#define ARCHIVE_VERSION_STRING "libarchive " ARCHIVE_VERSION_ONLY_STRING
|
||||||
__LA_DECL const char * archive_version_string(void);
|
__LA_DECL const char * archive_version_string(void);
|
||||||
|
|
||||||
|
@ -28,10 +28,12 @@ __FBSDID("$FreeBSD$");
|
|||||||
|
|
||||||
DEFINE_TEST(test_archive_read_close_twice_open_filename)
|
DEFINE_TEST(test_archive_read_close_twice_open_filename)
|
||||||
{
|
{
|
||||||
|
const char *filename = "empty.file";
|
||||||
struct archive* a = archive_read_new();
|
struct archive* a = archive_read_new();
|
||||||
|
|
||||||
|
assertMakeFile(filename, 0644, "");
|
||||||
assertEqualInt(ARCHIVE_OK, archive_read_support_format_empty(a));
|
assertEqualInt(ARCHIVE_OK, archive_read_support_format_empty(a));
|
||||||
assertEqualInt(ARCHIVE_OK, archive_read_open_filename(a, 0, 0));
|
assertEqualInt(ARCHIVE_OK, archive_read_open_filename(a, filename, 0));
|
||||||
assertEqualInt(0, archive_errno(a));
|
assertEqualInt(0, archive_errno(a));
|
||||||
assertEqualString(NULL, archive_error_string(a));
|
assertEqualString(NULL, archive_error_string(a));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user