From: DongHun Kwak Date: Thu, 21 Oct 2021 01:36:20 +0000 (+0900) Subject: Imported Upstream version 2.4.1 X-Git-Tag: upstream/2.4.1^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ebdbf31d511220c34c6a034261bcfc4035f4500;p=platform%2Fupstream%2Fexpat.git Imported Upstream version 2.4.1 --- diff --git a/CMake.README b/CMake.README index bd7c51c..99e7e69 100644 --- a/CMake.README +++ b/CMake.README @@ -3,25 +3,25 @@ The cmake based buildsystem for expat works on Windows (cygwin, mingw, Visual Studio) and should work on all other platform cmake supports. -Assuming ~/expat-2.4.0 is the source directory of expat, add a subdirectory +Assuming ~/expat-2.4.1 is the source directory of expat, add a subdirectory build and change into that directory: -~/expat-2.4.0$ mkdir build && cd build -~/expat-2.4.0/build$ +~/expat-2.4.1$ mkdir build && cd build +~/expat-2.4.1/build$ From that directory, call cmake first, then call make, make test and make install in the usual way: -~/expat-2.4.0/build$ cmake .. +~/expat-2.4.1/build$ cmake .. -- The C compiler identification is GNU -- The CXX compiler identification is GNU .... -- Configuring done -- Generating done --- Build files have been written to: /home/patrick/expat-2.4.0/build +-- Build files have been written to: /home/patrick/expat-2.4.1/build If you want to specify the install location for your files, append -DCMAKE_INSTALL_PREFIX=/your/install/path to the cmake call. -~/expat-2.4.0/build$ make && make test && make install +~/expat-2.4.1/build$ make && make test && make install Scanning dependencies of target expat [ 5%] Building C object CMakeFiles/expat.dir/lib/xmlparse.c.o [ 11%] Building C object CMakeFiles/expat.dir/lib/xmlrole.c.o diff --git a/CMakeLists.txt b/CMakeLists.txt index aa00c06..cd12a99 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,7 +64,7 @@ endif() project(expat VERSION - 2.4.0 + 2.4.1 LANGUAGES C ) @@ -387,7 +387,7 @@ if(EXPAT_WITH_LIBBSD) endif() set(LIBCURRENT 9) # sync -set(LIBREVISION 0) # with +set(LIBREVISION 1) # with set(LIBAGE 8) # configure.ac! math(EXPR LIBCURRENT_MINUS_AGE "${LIBCURRENT} - ${LIBAGE}") diff --git a/Changes b/Changes index 6d926eb..f765789 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,18 @@ NOTE: We are looking for help with a few things: https://github.com/libexpat/libexpat/labels/help%20wanted If you can help, please get in touch. Thanks! +Release 2.4.1 Sun May 23 2021 + Bug fixes: + #488 #490 Autotools: Fix installed header expat_config.h for multilib + systems; regression introduced in 2.4.0 by pull request #486 + + Other changes: + #491 #492 Version info bumped from 9:0:8 to 9:1:8; + see https://verbump.de/ for what these numbers do + + Special thanks to: + Gentoo's QA check "multilib_check_headers" + Release 2.4.0 Sun May 23 2021 Security fixes: #34 #466 #484 CVE-2013-0340/CWE-776 -- Protect against billion laughs attacks diff --git a/README.md b/README.md index 94e0bb1..251dc8a 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![Downloads GitHub](https://img.shields.io/github/downloads/libexpat/libexpat/total?label=Downloads%20GitHub)](https://github.com/libexpat/libexpat/releases) -# Expat, Release 2.4.0 +# Expat, Release 2.4.1 This is Expat, a C library for parsing XML, started by [James Clark](https://en.wikipedia.org/wiki/James_Clark_%28programmer%29) in 1997. diff --git a/configure b/configure index 2c75d56..fb7af4b 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for expat 2.4.0. +# Generated by GNU Autoconf 2.69 for expat 2.4.1. # # Report bugs to . # @@ -590,8 +590,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='expat' PACKAGE_TARNAME='expat' -PACKAGE_VERSION='2.4.0' -PACKAGE_STRING='expat 2.4.0' +PACKAGE_VERSION='2.4.1' +PACKAGE_STRING='expat 2.4.1' PACKAGE_BUGREPORT='expat-bugs@libexpat.org' PACKAGE_URL='' @@ -1387,7 +1387,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures expat 2.4.0 to adapt to many kinds of systems. +\`configure' configures expat 2.4.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1458,7 +1458,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of expat 2.4.0:";; + short | recursive ) echo "Configuration of expat 2.4.1:";; esac cat <<\_ACEOF @@ -1592,7 +1592,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -expat configure 2.4.0 +expat configure 2.4.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2319,7 +2319,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by expat $as_me 2.4.0, which was +It was created by expat $as_me 2.4.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3255,7 +3255,7 @@ fi # Define the identity of the package. PACKAGE='expat' - VERSION='2.4.0' + VERSION='2.4.1' cat >>confdefs.h <<_ACEOF @@ -3352,7 +3352,7 @@ fi LIBCURRENT=9 # sync -LIBREVISION=0 # with +LIBREVISION=1 # with LIBAGE=8 # CMakeLists.txt! ac_config_headers="$ac_config_headers expat_config.h" @@ -19277,7 +19277,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by expat $as_me 2.4.0, which was +This file was extended by expat $as_me 2.4.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -19343,7 +19343,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -expat config.status 2.4.0 +expat config.status 2.4.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index b038ee4..b27b59e 100644 --- a/configure.ac +++ b/configure.ac @@ -82,7 +82,7 @@ dnl If the API changes incompatibly set LIBAGE back to 0 dnl LIBCURRENT=9 # sync -LIBREVISION=0 # with +LIBREVISION=1 # with LIBAGE=8 # CMakeLists.txt! AC_CONFIG_HEADERS([expat_config.h]) diff --git a/doc/reference.html b/doc/reference.html index acedcf1..309cb24 100644 --- a/doc/reference.html +++ b/doc/reference.html @@ -48,7 +48,7 @@

The Expat XML Parser - Release 2.4.0 + Release 2.4.1

diff --git a/expat_config.h b/expat_config.h index aeb250f..2199c5e 100644 --- a/expat_config.h +++ b/expat_config.h @@ -77,7 +77,7 @@ #define PACKAGE_NAME "expat" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "expat 2.4.0" +#define PACKAGE_STRING "expat 2.4.1" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "expat" @@ -86,16 +86,13 @@ #define PACKAGE_URL "" /* Define to the version of this package. */ -#define PACKAGE_VERSION "2.4.0" - -/* The size of `void *', as computed by sizeof. */ -#define SIZEOF_VOID_P 8 +#define PACKAGE_VERSION "2.4.1" /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 /* Version number of package */ -#define VERSION "2.4.0" +#define VERSION "2.4.1" /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ diff --git a/expat_config.h.in b/expat_config.h.in index 5f80995..59207b4 100644 --- a/expat_config.h.in +++ b/expat_config.h.in @@ -87,9 +87,6 @@ /* Define to the version of this package. */ #undef PACKAGE_VERSION -/* The size of `void *', as computed by sizeof. */ -#undef SIZEOF_VOID_P - /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS diff --git a/lib/expat.h b/lib/expat.h index 016c1c5..b7d6d35 100644 --- a/lib/expat.h +++ b/lib/expat.h @@ -1041,7 +1041,7 @@ XML_SetBillionLaughsAttackProtectionActivationThreshold( */ #define XML_MAJOR_VERSION 2 #define XML_MINOR_VERSION 4 -#define XML_MICRO_VERSION 0 +#define XML_MICRO_VERSION 1 #ifdef __cplusplus } diff --git a/lib/xmlparse.c b/lib/xmlparse.c index 214c93f..5ba56ea 100644 --- a/lib/xmlparse.c +++ b/lib/xmlparse.c @@ -1,4 +1,4 @@ -/* 40f0f9c2be99a31dd0c833cd7d5a1bbd825a95e241f6e6c689b69ce275aba9a9 (2.4.0+) +/* 8539b9040d9d901366a62560a064af7cb99811335784b363abc039c5b0ebc416 (2.4.1+) __ __ _ ___\ \/ /_ __ __ _| |_ / _ \\ /| '_ \ / _` | __| diff --git a/tests/runtests.c b/tests/runtests.c index 8cee7ee..45ba5d5 100644 --- a/tests/runtests.c +++ b/tests/runtests.c @@ -7351,7 +7351,7 @@ START_TEST(test_misc_version) { fail("Version mismatch"); #if ! defined(XML_UNICODE) || defined(XML_UNICODE_WCHAR_T) - if (xcstrcmp(version_text, XCS("expat_2.4.0"))) /* needs bump on releases */ + if (xcstrcmp(version_text, XCS("expat_2.4.1"))) /* needs bump on releases */ fail("XML_*_VERSION in expat.h out of sync?\n"); #else /* If we have XML_UNICODE defined but not XML_UNICODE_WCHAR_T diff --git a/win32/expat.iss b/win32/expat.iss index 4d37cd2..3879033 100644 --- a/win32/expat.iss +++ b/win32/expat.iss @@ -36,7 +36,7 @@ ; OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE ; USE OR OTHER DEALINGS IN THE SOFTWARE. -#define expatVer "2.4.0" +#define expatVer "2.4.1" [Setup] AppName=Expat