Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libfmos for openSUSE:Factory checked in at 2023-07-07 15:47:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libfmos (Old) and /work/SRC/openSUSE:Factory/.libfmos.new.23466 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libfmos" Fri Jul 7 15:47:51 2023 rev:3 rq:1097456 version:20230707 Changes: -------- --- /work/SRC/openSUSE:Factory/libfmos/libfmos.changes 2022-11-28 11:06:20.571543089 +0100 +++ /work/SRC/openSUSE:Factory/.libfmos.new.23466/libfmos.changes 2023-07-07 15:49:14.912885144 +0200 @@ -1,0 +2,6 @@ +Fri Jul 7 05:28:59 UTC 2023 - Jan Engelhardt <[email protected]> + +- Update to release 20230707 + * No changelog was provided + +------------------------------------------------------------------- Old: ---- libfmos-experimental-20220811.tar.gz libfmos-experimental-20220811.tar.gz.asc New: ---- libfmos-experimental-20230707.tar.gz libfmos-experimental-20230707.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libfmos.spec ++++++ --- /var/tmp/diff_new_pack.fuIaBT/_old 2023-07-07 15:49:15.652889552 +0200 +++ /var/tmp/diff_new_pack.fuIaBT/_new 2023-07-07 15:49:15.656889576 +0200 @@ -1,7 +1,7 @@ # # spec file for package libfmos # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ Name: libfmos %define lname libfmos1 -Version: 20220811 +Version: 20230707 Release: 0 Summary: Library for MacOS data types License: LGPL-3.0-or-later ++++++ libfmos-experimental-20220811.tar.gz -> libfmos-experimental-20230707.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/AUTHORS new/libfmos-20230707/AUTHORS --- old/libfmos-20220811/AUTHORS 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/AUTHORS 2023-07-07 06:53:42.000000000 +0200 @@ -1,4 +1,4 @@ Acknowledgements: libfmos -Copyright (C) 2019-2022, Joachim Metz <[email protected]> +Copyright (C) 2019-2023, Joachim Metz <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/common/byte_stream.h new/libfmos-20230707/common/byte_stream.h --- old/libfmos-20220811/common/byte_stream.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/common/byte_stream.h 2023-07-07 06:53:42.000000000 +0200 @@ -1,7 +1,7 @@ /* * Byte stream functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/common/common.h new/libfmos-20230707/common/common.h --- old/libfmos-20220811/common/common.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/common/common.h 2023-07-07 06:53:42.000000000 +0200 @@ -1,7 +1,7 @@ /* * Common include file * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/common/config.h new/libfmos-20230707/common/config.h --- old/libfmos-20220811/common/config.h 2022-08-17 20:12:46.000000000 +0200 +++ new/libfmos-20230707/common/config.h 2023-07-07 07:04:54.000000000 +0200 @@ -323,7 +323,7 @@ #define PACKAGE_NAME "libfmos" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "libfmos 20220811" +#define PACKAGE_STRING "libfmos 20230707" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "libfmos" @@ -332,7 +332,7 @@ #define PACKAGE_URL "" /* Define to the version of this package. */ -#define PACKAGE_VERSION "20220811" +#define PACKAGE_VERSION "20230707" /* The size of `int', as computed by sizeof. */ #define SIZEOF_INT 4 @@ -358,7 +358,7 @@ /* #undef STRERROR_R_CHAR_P */ /* Version number of package */ -#define VERSION "20220811" +#define VERSION "20230707" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/common/config_borlandc.h new/libfmos-20230707/common/config_borlandc.h --- old/libfmos-20220811/common/config_borlandc.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/common/config_borlandc.h 2023-07-07 06:53:42.000000000 +0200 @@ -1,7 +1,7 @@ /* * Configuration for the Borland/CodeGear C++ Builder compiler * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/common/config_msc.h new/libfmos-20230707/common/config_msc.h --- old/libfmos-20220811/common/config_msc.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/common/config_msc.h 2023-07-07 06:53:42.000000000 +0200 @@ -1,7 +1,7 @@ /* * Configuration for the Microsoft Visual Studio C++ compiler * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/common/config_winapi.h new/libfmos-20230707/common/config_winapi.h --- old/libfmos-20220811/common/config_winapi.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/common/config_winapi.h 2023-07-07 06:53:42.000000000 +0200 @@ -1,7 +1,7 @@ /* * Configuration file for WINAPI * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * @@ -45,7 +45,10 @@ #endif /* Define the size of size_t for WINAPI + * Do not define when pyconfig.h has been included via python.h */ +#if !defined( HAVE_PYCONFIG_H ) + #if !defined( SIZEOF_SIZE_T ) #if __WORDSIZE == 64 #define SIZEOF_SIZE_T 8 @@ -54,6 +57,8 @@ #endif #endif +#endif /* !defined( HAVE_PYCONFIG_H ) */ + /* Define the size of the wide character for WINAPI */ #if !defined( SIZEOF_WCHAR_T ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/common/file_stream.h new/libfmos-20230707/common/file_stream.h --- old/libfmos-20220811/common/file_stream.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/common/file_stream.h 2023-07-07 06:53:42.000000000 +0200 @@ -1,7 +1,7 @@ /* * FILE stream functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/common/memory.h new/libfmos-20230707/common/memory.h --- old/libfmos-20220811/common/memory.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/common/memory.h 2023-07-07 06:53:42.000000000 +0200 @@ -1,7 +1,7 @@ /* * Memory functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/common/narrow_string.h new/libfmos-20230707/common/narrow_string.h --- old/libfmos-20220811/common/narrow_string.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/common/narrow_string.h 2023-07-07 06:53:42.000000000 +0200 @@ -1,7 +1,7 @@ /* * Narrow character string functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/common/system_string.h new/libfmos-20230707/common/system_string.h --- old/libfmos-20220811/common/system_string.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/common/system_string.h 2023-07-07 06:53:42.000000000 +0200 @@ -1,7 +1,7 @@ /* * System character string functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/common/types.h new/libfmos-20230707/common/types.h --- old/libfmos-20220811/common/types.h 2022-08-17 20:12:46.000000000 +0200 +++ new/libfmos-20230707/common/types.h 2023-07-07 07:04:54.000000000 +0200 @@ -1,7 +1,7 @@ /* * Type and type-support definitions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * @@ -60,7 +60,10 @@ #endif /* defined( WINAPI ) && ( defined( _UNICODE ) || defined( UNICODE ) ) */ /* Fallback for systems without PRI definitions + * Do not define when pyconfig.h has been included via python.h */ +#if !defined( HAVE_PYCONFIG_H ) + #if !defined( PRId8 ) #define PRId8 "d" #endif @@ -216,6 +219,8 @@ #endif #endif /* !defined( PRIx64 ) */ +#endif /* !defined( HAVE_PYCONFIG_H ) */ + /* Fallback for systems without printf %jd definition */ #if defined( HAVE_PRINTF_JD ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/common/types.h.in new/libfmos-20230707/common/types.h.in --- old/libfmos-20220811/common/types.h.in 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/common/types.h.in 2023-07-07 06:53:42.000000000 +0200 @@ -1,7 +1,7 @@ /* * Type and type-support definitions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * @@ -60,7 +60,10 @@ #endif /* defined( WINAPI ) && ( defined( _UNICODE ) || defined( UNICODE ) ) */ /* Fallback for systems without PRI definitions + * Do not define when pyconfig.h has been included via python.h */ +#if !defined( HAVE_PYCONFIG_H ) + #if !defined( PRId8 ) #define PRId8 "d" #endif @@ -216,6 +219,8 @@ #endif #endif /* !defined( PRIx64 ) */ +#endif /* !defined( HAVE_PYCONFIG_H ) */ + /* Fallback for systems without printf %jd definition */ #if defined( HAVE_PRINTF_JD ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/common/wide_string.h new/libfmos-20230707/common/wide_string.h --- old/libfmos-20220811/common/wide_string.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/common/wide_string.h 2023-07-07 06:53:42.000000000 +0200 @@ -1,7 +1,7 @@ /* * Wide character string functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/configure new/libfmos-20230707/configure --- old/libfmos-20220811/configure 2022-08-17 20:12:25.000000000 +0200 +++ new/libfmos-20230707/configure 2023-07-07 07:04:44.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for libfmos 20220811. +# Generated by GNU Autoconf 2.71 for libfmos 20230707. # # Report bugs to <[email protected]>. # @@ -621,8 +621,8 @@ # Identity of this package. PACKAGE_NAME='libfmos' PACKAGE_TARNAME='libfmos' -PACKAGE_VERSION='20220811' -PACKAGE_STRING='libfmos 20220811' +PACKAGE_VERSION='20230707' +PACKAGE_STRING='libfmos 20230707' PACKAGE_BUGREPORT='[email protected]' PACKAGE_URL='' @@ -1518,7 +1518,7 @@ # 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 libfmos 20220811 to adapt to many kinds of systems. +\`configure' configures libfmos 20230707 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1589,7 +1589,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libfmos 20220811:";; + short | recursive ) echo "Configuration of libfmos 20230707:";; esac cat <<\_ACEOF @@ -1759,7 +1759,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libfmos configure 20220811 +libfmos configure 20230707 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -2480,7 +2480,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libfmos $as_me 20220811, which was +It was created by libfmos $as_me 20230707, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -3969,7 +3969,7 @@ # Define the identity of the package. PACKAGE='libfmos' - VERSION='20220811' + VERSION='20230707' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -15312,11 +15312,11 @@ then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5 printf %s "checking for $CXX option to enable C++11 features... " >&6; } -if test ${ac_cv_prog_cxx_11+y} +if test ${ac_cv_prog_cxx_cxx11+y} then : printf %s "(cached) " >&6 else $as_nop - ac_cv_prog_cxx_11=no + ac_cv_prog_cxx_cxx11=no ac_save_CXX=$CXX cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -15358,11 +15358,11 @@ then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5 printf %s "checking for $CXX option to enable C++98 features... " >&6; } -if test ${ac_cv_prog_cxx_98+y} +if test ${ac_cv_prog_cxx_cxx98+y} then : printf %s "(cached) " >&6 else $as_nop - ac_cv_prog_cxx_98=no + ac_cv_prog_cxx_cxx98=no ac_save_CXX=$CXX cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29254,7 +29254,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libfmos $as_me 20220811, which was +This file was extended by libfmos $as_me 20230707, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -29322,7 +29322,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -libfmos config.status 20220811 +libfmos config.status 20230707 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/configure.ac new/libfmos-20230707/configure.ac --- old/libfmos-20220811/configure.ac 2022-08-11 06:31:03.000000000 +0200 +++ new/libfmos-20230707/configure.ac 2023-07-07 06:53:35.000000000 +0200 @@ -2,7 +2,7 @@ AC_INIT( [libfmos], - [20220811], + [20230707], [[email protected]]) AC_CONFIG_SRCDIR( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/dpkg/changelog new/libfmos-20230707/dpkg/changelog --- old/libfmos-20220811/dpkg/changelog 2022-08-17 20:12:46.000000000 +0200 +++ new/libfmos-20230707/dpkg/changelog 2023-07-07 07:04:54.000000000 +0200 @@ -1,5 +1,5 @@ -libfmos (20220811-1) unstable; urgency=low +libfmos (20230707-1) unstable; urgency=low * Auto-generated - -- Joachim Metz <[email protected]> Wed, 17 Aug 2022 20:12:45 +0200 + -- Joachim Metz <[email protected]> Fri, 07 Jul 2023 07:04:53 +0200 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/dpkg/copyright new/libfmos-20230707/dpkg/copyright --- old/libfmos-20220811/dpkg/copyright 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/dpkg/copyright 2023-07-07 06:53:46.000000000 +0200 @@ -3,7 +3,7 @@ Source: https://github.com/libyal/libfmos Files: * -Copyright: 2019-2022, Joachim Metz <[email protected]> +Copyright: 2019-2023, Joachim Metz <[email protected]> License: LGPL-3.0+ License: LGPL-3.0+ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/include/libfmos/definitions.h new/libfmos-20230707/include/libfmos/definitions.h --- old/libfmos-20220811/include/libfmos/definitions.h 2022-08-17 20:12:46.000000000 +0200 +++ new/libfmos-20230707/include/libfmos/definitions.h 2023-07-07 07:04:54.000000000 +0200 @@ -1,7 +1,7 @@ /* * Definitions for libfmos * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * @@ -24,11 +24,11 @@ #include <libfmos/types.h> -#define LIBFMOS_VERSION 20220811 +#define LIBFMOS_VERSION 20230707 /* The version string */ -#define LIBFMOS_VERSION_STRING "20220811" +#define LIBFMOS_VERSION_STRING "20230707" #endif /* !defined( _LIBFMOS_DEFINITIONS_H ) */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/include/libfmos/definitions.h.in new/libfmos-20230707/include/libfmos/definitions.h.in --- old/libfmos-20220811/include/libfmos/definitions.h.in 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/include/libfmos/definitions.h.in 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * Definitions for libfmos * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/include/libfmos/error.h new/libfmos-20230707/include/libfmos/error.h --- old/libfmos-20220811/include/libfmos/error.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/include/libfmos/error.h 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * The error code definitions for libfmos * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/include/libfmos/extern.h new/libfmos-20230707/include/libfmos/extern.h --- old/libfmos-20220811/include/libfmos/extern.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/include/libfmos/extern.h 2023-07-07 06:53:43.000000000 +0200 @@ -4,7 +4,7 @@ * This header should be included in header files that export or import * library functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/include/libfmos/features.h new/libfmos-20230707/include/libfmos/features.h --- old/libfmos-20220811/include/libfmos/features.h 2022-08-17 20:12:46.000000000 +0200 +++ new/libfmos-20230707/include/libfmos/features.h 2023-07-07 07:04:54.000000000 +0200 @@ -1,7 +1,7 @@ /* * Features of libfmos * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/include/libfmos/features.h.in new/libfmos-20230707/include/libfmos/features.h.in --- old/libfmos-20220811/include/libfmos/features.h.in 2022-08-11 06:31:48.000000000 +0200 +++ new/libfmos-20230707/include/libfmos/features.h.in 2023-07-07 06:54:58.000000000 +0200 @@ -1,7 +1,7 @@ /* * Features of libfmos * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/include/libfmos/types.h new/libfmos-20230707/include/libfmos/types.h --- old/libfmos-20220811/include/libfmos/types.h 2022-08-17 20:12:46.000000000 +0200 +++ new/libfmos-20230707/include/libfmos/types.h 2023-07-07 07:04:54.000000000 +0200 @@ -1,7 +1,7 @@ /* * Type definitions for libfmos * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/include/libfmos/types.h.in new/libfmos-20230707/include/libfmos/types.h.in --- old/libfmos-20220811/include/libfmos/types.h.in 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/include/libfmos/types.h.in 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * Type definitions for libfmos * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/include/libfmos.h new/libfmos-20230707/include/libfmos.h --- old/libfmos-20220811/include/libfmos.h 2022-08-17 20:12:46.000000000 +0200 +++ new/libfmos-20230707/include/libfmos.h 2023-07-07 07:04:53.000000000 +0200 @@ -1,7 +1,7 @@ /* * Library to support common Mac OS specific formats * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/include/libfmos.h.in new/libfmos-20230707/include/libfmos.h.in --- old/libfmos-20220811/include/libfmos.h.in 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/include/libfmos.h.in 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * Library to support common Mac OS specific formats * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos.c new/libfmos-20230707/libfmos/libfmos.c --- old/libfmos-20220811/libfmos/libfmos.c 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos.c 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * Library to support common Mac OS specific formats * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos.rc new/libfmos-20230707/libfmos/libfmos.rc --- old/libfmos-20220811/libfmos/libfmos.rc 2022-08-17 20:12:46.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos.rc 2023-07-07 07:04:54.000000000 +0200 @@ -22,12 +22,12 @@ BLOCK "040904E4" BEGIN VALUE "FileDescription", "Library to support common Mac OS specific formats\0" - VALUE "FileVersion", "20220811" "\0" + VALUE "FileVersion", "20230707" "\0" VALUE "InternalName", "libfmos.dll\0" - VALUE "LegalCopyright", "(C) 2019-2022, Joachim Metz <[email protected]>\0" + VALUE "LegalCopyright", "(C) 2019-2023, Joachim Metz <[email protected]>\0" VALUE "OriginalFilename", "libfmos.dll\0" VALUE "ProductName", "libfmos\0" - VALUE "ProductVersion", "20220811" "\0" + VALUE "ProductVersion", "20230707" "\0" VALUE "Comments", "For more information visit https://github.com/libyal/libfmos/\0" END END diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos.rc.in new/libfmos-20230707/libfmos/libfmos.rc.in --- old/libfmos-20220811/libfmos/libfmos.rc.in 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos.rc.in 2023-07-07 06:53:43.000000000 +0200 @@ -24,7 +24,7 @@ VALUE "FileDescription", "Library to support common Mac OS specific formats\0" VALUE "FileVersion", "@VERSION@" "\0" VALUE "InternalName", "libfmos.dll\0" - VALUE "LegalCopyright", "(C) 2019-2022, Joachim Metz <[email protected]>\0" + VALUE "LegalCopyright", "(C) 2019-2023, Joachim Metz <[email protected]>\0" VALUE "OriginalFilename", "libfmos.dll\0" VALUE "ProductName", "libfmos\0" VALUE "ProductVersion", "@VERSION@" "\0" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_adc.c new/libfmos-20230707/libfmos/libfmos_adc.c --- old/libfmos-20220811/libfmos/libfmos_adc.c 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_adc.c 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * ADC (un)compression functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_adc.h new/libfmos-20230707/libfmos/libfmos_adc.h --- old/libfmos-20220811/libfmos/libfmos_adc.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_adc.h 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * ADC (un)compression functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_definitions.h new/libfmos-20230707/libfmos/libfmos_definitions.h --- old/libfmos-20220811/libfmos/libfmos_definitions.h 2022-08-17 20:12:46.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_definitions.h 2023-07-07 07:04:54.000000000 +0200 @@ -1,7 +1,7 @@ /* * The internal definitions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * @@ -36,11 +36,11 @@ #else #include <byte_stream.h> -#define LIBFMOS_VERSION 20220811 +#define LIBFMOS_VERSION 20230707 /* The version string */ -#define LIBFMOS_VERSION_STRING "20220811" +#define LIBFMOS_VERSION_STRING "20230707" #endif /* !defined( HAVE_LOCAL_LIBFMOS ) */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_definitions.h.in new/libfmos-20230707/libfmos/libfmos_definitions.h.in --- old/libfmos-20220811/libfmos/libfmos_definitions.h.in 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_definitions.h.in 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * The internal definitions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_error.c new/libfmos-20230707/libfmos/libfmos_error.c --- old/libfmos-20220811/libfmos/libfmos_error.c 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_error.c 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * Error functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_error.h new/libfmos-20230707/libfmos/libfmos_error.h --- old/libfmos-20220811/libfmos/libfmos_error.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_error.h 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * Error functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_extern.h new/libfmos-20230707/libfmos/libfmos_extern.h --- old/libfmos-20220811/libfmos/libfmos_extern.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_extern.h 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * The internal extern definition * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_libcerror.h new/libfmos-20230707/libfmos/libfmos_libcerror.h --- old/libfmos-20220811/libfmos/libfmos_libcerror.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_libcerror.h 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * The libcerror header wrapper * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_libcnotify.h new/libfmos-20230707/libfmos/libfmos_libcnotify.h --- old/libfmos-20220811/libfmos/libfmos_libcnotify.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_libcnotify.h 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * The libcnotify header wrapper * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_lzfse.c new/libfmos-20230707/libfmos/libfmos_lzfse.c --- old/libfmos-20220811/libfmos/libfmos_lzfse.c 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_lzfse.c 2023-07-07 06:59:16.000000000 +0200 @@ -1,7 +1,7 @@ /* * LZFSE (un)compression functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * @@ -312,7 +312,7 @@ value_decoder_entry->value_bits = value_bits; value_decoder_entry->value_base = value_base; value_decoder_entry->value_bitmask = ( (uint32_t) 1UL << value_bits ) - 1; - value_decoder_entry->number_of_bits = number_of_bits + value_bits; + value_decoder_entry->number_of_bits = (uint8_t) ( number_of_bits + value_bits ); if( decoder_weight < base_decoder_weight ) { @@ -1250,7 +1250,7 @@ } if( libfmos_lzfse_bit_stream_get_value( bit_stream, - -1 * decoder->literal_bits, + (uint8_t) ( -1 * decoder->literal_bits ), &value_32bit, error ) != 1 ) { @@ -1459,7 +1459,7 @@ } if( libfmos_lzfse_bit_stream_get_value( bit_stream, - -1 * decoder->lmd_values_bits, + (uint8_t) ( -1 * decoder->lmd_values_bits ), &value_32bit, error ) != 1 ) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_lzfse.h new/libfmos-20230707/libfmos/libfmos_lzfse.h --- old/libfmos-20220811/libfmos/libfmos_lzfse.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_lzfse.h 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * LZFSE (un)compression functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_lzfse_bit_stream.c new/libfmos-20230707/libfmos/libfmos_lzfse_bit_stream.c --- old/libfmos-20220811/libfmos/libfmos_lzfse_bit_stream.c 2022-08-11 06:36:24.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_lzfse_bit_stream.c 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * LZFSE bit-stream functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_lzfse_bit_stream.h new/libfmos-20230707/libfmos/libfmos_lzfse_bit_stream.h --- old/libfmos-20220811/libfmos/libfmos_lzfse_bit_stream.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_lzfse_bit_stream.h 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * LZFSE bit-stream functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_lzfse_decoder.c new/libfmos-20230707/libfmos/libfmos_lzfse_decoder.c --- old/libfmos-20220811/libfmos/libfmos_lzfse_decoder.c 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_lzfse_decoder.c 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * LZFSE decoder functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_lzfse_decoder.h new/libfmos-20230707/libfmos/libfmos_lzfse_decoder.h --- old/libfmos-20220811/libfmos/libfmos_lzfse_decoder.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_lzfse_decoder.h 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * LZFSE decoder functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_lzvn.c new/libfmos-20230707/libfmos/libfmos_lzvn.c --- old/libfmos-20220811/libfmos/libfmos_lzvn.c 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_lzvn.c 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * LZVN (un)compression functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_lzvn.h new/libfmos-20230707/libfmos/libfmos_lzvn.h --- old/libfmos-20220811/libfmos/libfmos_lzvn.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_lzvn.h 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * LZVN (un)compression functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_notify.c new/libfmos-20230707/libfmos/libfmos_notify.c --- old/libfmos-20220811/libfmos/libfmos_notify.c 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_notify.c 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * Notification functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_notify.h new/libfmos-20230707/libfmos/libfmos_notify.h --- old/libfmos-20220811/libfmos/libfmos_notify.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_notify.h 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * Notification functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_support.c new/libfmos-20230707/libfmos/libfmos_support.c --- old/libfmos-20220811/libfmos/libfmos_support.c 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_support.c 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * Support functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_support.h new/libfmos-20230707/libfmos/libfmos_support.h --- old/libfmos-20220811/libfmos/libfmos_support.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_support.h 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * Support functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_types.h new/libfmos-20230707/libfmos/libfmos_types.h --- old/libfmos-20220811/libfmos/libfmos_types.h 2022-08-11 06:31:48.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_types.h 2023-07-07 06:54:59.000000000 +0200 @@ -1,7 +1,7 @@ /* * The internal type definitions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos/libfmos_unused.h new/libfmos-20230707/libfmos/libfmos_unused.h --- old/libfmos-20220811/libfmos/libfmos_unused.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/libfmos/libfmos_unused.h 2023-07-07 06:53:43.000000000 +0200 @@ -1,7 +1,7 @@ /* * Definitions to silence compiler warnings about unused function attributes/parameters. * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/libfmos.spec new/libfmos-20230707/libfmos.spec --- old/libfmos-20220811/libfmos.spec 2022-08-17 20:12:46.000000000 +0200 +++ new/libfmos-20230707/libfmos.spec 2023-07-07 07:04:54.000000000 +0200 @@ -1,5 +1,5 @@ Name: libfmos -Version: 20220811 +Version: 20230707 Release: 1 Summary: Library to support common Mac OS specific formats Group: System Environment/Libraries @@ -85,6 +85,6 @@ %{_libdir}/python3*/site-packages/*.so %changelog -* Wed Aug 17 2022 Joachim Metz <[email protected]> 20220811-1 +* Fri Jul 7 2023 Joachim Metz <[email protected]> 20230707-1 - Auto-generated diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/manuals/libfmos.3 new/libfmos-20230707/manuals/libfmos.3 --- old/libfmos-20220811/manuals/libfmos.3 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/manuals/libfmos.3 2023-07-07 06:53:46.000000000 +0200 @@ -60,7 +60,7 @@ .Sh AUTHOR These man pages are generated from "libfmos.h". .Sh COPYRIGHT -Copyright (C) 2019-2022, Joachim Metz <[email protected]>. +Copyright (C) 2019-2023, Joachim Metz <[email protected]>. .sp This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/ossfuzz/adc_fuzzer.cc new/libfmos-20230707/ossfuzz/adc_fuzzer.cc --- old/libfmos-20220811/ossfuzz/adc_fuzzer.cc 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/ossfuzz/adc_fuzzer.cc 2023-07-07 06:53:44.000000000 +0200 @@ -1,7 +1,7 @@ /* * OSS-Fuzz target for libfmos ADC decompress function * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/ossfuzz/lzfse_fuzzer.cc new/libfmos-20230707/ossfuzz/lzfse_fuzzer.cc --- old/libfmos-20220811/ossfuzz/lzfse_fuzzer.cc 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/ossfuzz/lzfse_fuzzer.cc 2023-07-07 06:53:44.000000000 +0200 @@ -1,7 +1,7 @@ /* * OSS-Fuzz target for libfmos LZFSE decompress function * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/ossfuzz/lzvn_fuzzer.cc new/libfmos-20230707/ossfuzz/lzvn_fuzzer.cc --- old/libfmos-20220811/ossfuzz/lzvn_fuzzer.cc 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/ossfuzz/lzvn_fuzzer.cc 2023-07-07 06:53:44.000000000 +0200 @@ -1,7 +1,7 @@ /* * OSS-Fuzz target for libfmos LZVN decompress function * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/ossfuzz/ossfuzz_libfmos.h new/libfmos-20230707/ossfuzz/ossfuzz_libfmos.h --- old/libfmos-20220811/ossfuzz/ossfuzz_libfmos.h 2022-08-11 06:31:05.000000000 +0200 +++ new/libfmos-20230707/ossfuzz/ossfuzz_libfmos.h 2023-07-07 06:53:44.000000000 +0200 @@ -1,7 +1,7 @@ /* * The libfmos header wrapper * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/pyfmos/pyfmos.c new/libfmos-20230707/pyfmos/pyfmos.c --- old/libfmos-20220811/pyfmos/pyfmos.c 2022-08-11 06:31:48.000000000 +0200 +++ new/libfmos-20230707/pyfmos/pyfmos.c 2023-07-07 06:55:06.000000000 +0200 @@ -1,7 +1,7 @@ /* * Python bindings module for libfmos (pyfmos) * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/pyfmos/pyfmos.h new/libfmos-20230707/pyfmos/pyfmos.h --- old/libfmos-20220811/pyfmos/pyfmos.h 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/pyfmos/pyfmos.h 2023-07-07 06:53:45.000000000 +0200 @@ -1,7 +1,7 @@ /* * Python bindings module for libfmos (pyfmos) * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/pyfmos/pyfmos_adc.c new/libfmos-20230707/pyfmos/pyfmos_adc.c --- old/libfmos-20220811/pyfmos/pyfmos_adc.c 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/pyfmos/pyfmos_adc.c 2023-07-07 06:53:45.000000000 +0200 @@ -1,7 +1,7 @@ /* * ADC (un)compression functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/pyfmos/pyfmos_adc.h new/libfmos-20230707/pyfmos/pyfmos_adc.h --- old/libfmos-20220811/pyfmos/pyfmos_adc.h 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/pyfmos/pyfmos_adc.h 2023-07-07 06:53:45.000000000 +0200 @@ -1,7 +1,7 @@ /* * ADC (un)compression functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/pyfmos/pyfmos_error.c new/libfmos-20230707/pyfmos/pyfmos_error.c --- old/libfmos-20220811/pyfmos/pyfmos_error.c 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/pyfmos/pyfmos_error.c 2023-07-07 06:53:45.000000000 +0200 @@ -1,7 +1,7 @@ /* * Error functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/pyfmos/pyfmos_error.h new/libfmos-20230707/pyfmos/pyfmos_error.h --- old/libfmos-20220811/pyfmos/pyfmos_error.h 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/pyfmos/pyfmos_error.h 2023-07-07 06:53:45.000000000 +0200 @@ -1,7 +1,7 @@ /* * Error functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/pyfmos/pyfmos_libcerror.h new/libfmos-20230707/pyfmos/pyfmos_libcerror.h --- old/libfmos-20220811/pyfmos/pyfmos_libcerror.h 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/pyfmos/pyfmos_libcerror.h 2023-07-07 06:53:45.000000000 +0200 @@ -1,7 +1,7 @@ /* * The libcerror header wrapper * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/pyfmos/pyfmos_libfmos.h new/libfmos-20230707/pyfmos/pyfmos_libfmos.h --- old/libfmos-20220811/pyfmos/pyfmos_libfmos.h 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/pyfmos/pyfmos_libfmos.h 2023-07-07 06:53:45.000000000 +0200 @@ -1,7 +1,7 @@ /* * The internal libfmos header * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/pyfmos/pyfmos_lzfse.c new/libfmos-20230707/pyfmos/pyfmos_lzfse.c --- old/libfmos-20220811/pyfmos/pyfmos_lzfse.c 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/pyfmos/pyfmos_lzfse.c 2023-07-07 06:53:45.000000000 +0200 @@ -1,7 +1,7 @@ /* * LZFSE (un)compression functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/pyfmos/pyfmos_lzfse.h new/libfmos-20230707/pyfmos/pyfmos_lzfse.h --- old/libfmos-20220811/pyfmos/pyfmos_lzfse.h 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/pyfmos/pyfmos_lzfse.h 2023-07-07 06:53:45.000000000 +0200 @@ -1,7 +1,7 @@ /* * LZFSE (un)compression functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/pyfmos/pyfmos_lzvn.c new/libfmos-20230707/pyfmos/pyfmos_lzvn.c --- old/libfmos-20220811/pyfmos/pyfmos_lzvn.c 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/pyfmos/pyfmos_lzvn.c 2023-07-07 06:53:45.000000000 +0200 @@ -1,7 +1,7 @@ /* * LZVN (un)compression functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/pyfmos/pyfmos_lzvn.h new/libfmos-20230707/pyfmos/pyfmos_lzvn.h --- old/libfmos-20220811/pyfmos/pyfmos_lzvn.h 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/pyfmos/pyfmos_lzvn.h 2023-07-07 06:53:45.000000000 +0200 @@ -1,7 +1,7 @@ /* * LZVN (un)compression functions * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/pyfmos/pyfmos_python.h new/libfmos-20230707/pyfmos/pyfmos_python.h --- old/libfmos-20220811/pyfmos/pyfmos_python.h 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/pyfmos/pyfmos_python.h 2023-07-07 06:53:45.000000000 +0200 @@ -1,7 +1,7 @@ /* * The python header wrapper * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/pyfmos/pyfmos_unused.h new/libfmos-20230707/pyfmos/pyfmos_unused.h --- old/libfmos-20220811/pyfmos/pyfmos_unused.h 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/pyfmos/pyfmos_unused.h 2023-07-07 06:53:45.000000000 +0200 @@ -1,7 +1,7 @@ /* * Definitions to silence compiler warnings about unused function attributes/parameters. * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/setup.py new/libfmos-20230707/setup.py --- old/libfmos-20220811/setup.py 2022-08-11 06:31:12.000000000 +0200 +++ new/libfmos-20230707/setup.py 2023-07-07 06:53:59.000000000 +0200 @@ -1,11 +1,12 @@ #!/usr/bin/env python # # Script to build and install Python-bindings. -# Version: 20220806 +# Version: 20230411 from __future__ import print_function import copy +import datetime import glob import gzip import platform @@ -15,6 +16,7 @@ import subprocess import sys import tarfile +import zipfile from distutils.ccompiler import new_compiler @@ -93,11 +95,12 @@ compiler = new_compiler(compiler=self.compiler) if compiler.compiler_type == "msvc": self.define = [ + ("_CRT_SECURE_NO_WARNINGS", ""), ("UNICODE", ""), ] else: - command = "sh configure --disable-shared-libs" + command = "sh configure --disable-nls --disable-shared-libs" output = self._RunCommand(command) print_line = False @@ -111,7 +114,6 @@ self.define = [ ("HAVE_CONFIG_H", ""), - ("LOCALEDIR", "\"/usr/share/locale\""), ] build_ext.run(self) @@ -122,7 +124,7 @@ def run(self): """Builds a source distribution (sdist) package.""" - if self.formats != ["gztar"]: + if self.formats != ["gztar"] and self.formats != ["zip"]: print("'setup.py sdist' unsupported format.") sys.exit(1) @@ -136,20 +138,20 @@ if exit_code != 0: raise RuntimeError("Running: {0:s} failed.".format(command)) - if not os.path.exists("dist"): - os.mkdir("dist") + if not os.path.exists(self.dist_dir): + os.mkdir(self.dist_dir) source_package_file = glob.glob("*.tar.gz")[0] source_package_prefix, _, source_package_suffix = ( source_package_file.partition("-")) sdist_package_file = "{0:s}-python-{1:s}".format( source_package_prefix, source_package_suffix) - sdist_package_file = os.path.join("dist", sdist_package_file) + sdist_package_file = os.path.join(self.dist_dir, sdist_package_file) os.rename(source_package_file, sdist_package_file) # Create and add the PKG-INFO file to the source package. - with gzip.open(sdist_package_file, 'rb') as input_file: - with open(sdist_package_file[:-3], 'wb') as output_file: + with gzip.open(sdist_package_file, "rb") as input_file: + with open(sdist_package_file[:-3], "wb") as output_file: shutil.copyfileobj(input_file, output_file) os.remove(sdist_package_file) @@ -160,11 +162,38 @@ tar_file.add("PKG-INFO", arcname=pkg_info_path) os.remove("PKG-INFO") - with open(sdist_package_file[:-3], 'rb') as input_file: - with gzip.open(sdist_package_file, 'wb') as output_file: + with open(sdist_package_file[:-3], "rb") as input_file: + with gzip.open(sdist_package_file, "wb") as output_file: shutil.copyfileobj(input_file, output_file) os.remove(sdist_package_file[:-3]) + # Convert the .tar.gz into a .zip + if self.formats == ["zip"]: + zip_sdist_package_file = "{0:s}.zip".format(sdist_package_file[:-7]) + + with tarfile.open(sdist_package_file, "r|gz") as tar_file: + with zipfile.ZipFile( + zip_sdist_package_file, "w", zipfile.ZIP_DEFLATED) as zip_file: + for tar_file_entry in tar_file: + file_entry = tar_file.extractfile(tar_file_entry) + if tar_file_entry.isfile(): + modification_time = datetime.datetime.fromtimestamp( + tar_file_entry.mtime) + zip_modification_time = ( + modification_time.year, modification_time.month, + modification_time.day, modification_time.hour, + modification_time.minute, modification_time.second) + zip_info = zipfile.ZipInfo( + date_time=zip_modification_time, + filename=tar_file_entry.name) + zip_info.external_attr = (tar_file_entry.mode & 0xff) << 16 + + file_data = file_entry.read() + zip_file.writestr(zip_info, file_data) + + os.remove(sdist_package_file) + sdist_package_file = zip_sdist_package_file + # Inform distutils what files were created. dist_files = getattr(self.distribution, "dist_files", []) dist_files.append(("sdist", "", sdist_package_file)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/tests/fmos_test_adc.c new/libfmos-20230707/tests/fmos_test_adc.c --- old/libfmos-20220811/tests/fmos_test_adc.c 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/tests/fmos_test_adc.c 2023-07-07 06:53:46.000000000 +0200 @@ -1,7 +1,7 @@ /* * ADC (un)compression testing program * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/tests/fmos_test_error.c new/libfmos-20230707/tests/fmos_test_error.c --- old/libfmos-20220811/tests/fmos_test_error.c 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/tests/fmos_test_error.c 2023-07-07 06:53:46.000000000 +0200 @@ -1,7 +1,7 @@ /* * Library error functions test program * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/tests/fmos_test_libcerror.h new/libfmos-20230707/tests/fmos_test_libcerror.h --- old/libfmos-20220811/tests/fmos_test_libcerror.h 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/tests/fmos_test_libcerror.h 2023-07-07 06:53:46.000000000 +0200 @@ -1,7 +1,7 @@ /* * The libcerror header wrapper * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/tests/fmos_test_libcnotify.h new/libfmos-20230707/tests/fmos_test_libcnotify.h --- old/libfmos-20220811/tests/fmos_test_libcnotify.h 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/tests/fmos_test_libcnotify.h 2023-07-07 06:53:46.000000000 +0200 @@ -1,7 +1,7 @@ /* * The libcnotify header wrapper * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/tests/fmos_test_libfmos.h new/libfmos-20230707/tests/fmos_test_libfmos.h --- old/libfmos-20220811/tests/fmos_test_libfmos.h 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/tests/fmos_test_libfmos.h 2023-07-07 06:53:46.000000000 +0200 @@ -1,7 +1,7 @@ /* * The libfmos header wrapper * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/tests/fmos_test_lzfse.c new/libfmos-20230707/tests/fmos_test_lzfse.c --- old/libfmos-20220811/tests/fmos_test_lzfse.c 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/tests/fmos_test_lzfse.c 2023-07-07 06:53:46.000000000 +0200 @@ -1,7 +1,7 @@ /* * LZFSE (un)compression testing program * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/tests/fmos_test_lzfse_bit_stream.c new/libfmos-20230707/tests/fmos_test_lzfse_bit_stream.c --- old/libfmos-20220811/tests/fmos_test_lzfse_bit_stream.c 2022-08-11 06:31:48.000000000 +0200 +++ new/libfmos-20230707/tests/fmos_test_lzfse_bit_stream.c 2023-07-07 06:54:45.000000000 +0200 @@ -1,7 +1,7 @@ /* * LZFSE bit-stream testing program * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/tests/fmos_test_lzfse_decoder.c new/libfmos-20230707/tests/fmos_test_lzfse_decoder.c --- old/libfmos-20220811/tests/fmos_test_lzfse_decoder.c 2022-08-11 06:31:48.000000000 +0200 +++ new/libfmos-20230707/tests/fmos_test_lzfse_decoder.c 2023-07-07 06:54:45.000000000 +0200 @@ -1,7 +1,7 @@ /* * LZFSE decoder testing program * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/tests/fmos_test_lzvn.c new/libfmos-20230707/tests/fmos_test_lzvn.c --- old/libfmos-20220811/tests/fmos_test_lzvn.c 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/tests/fmos_test_lzvn.c 2023-07-07 06:53:46.000000000 +0200 @@ -1,7 +1,7 @@ /* * LZVN (un)compression testing program * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/tests/fmos_test_macros.h new/libfmos-20230707/tests/fmos_test_macros.h --- old/libfmos-20220811/tests/fmos_test_macros.h 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/tests/fmos_test_macros.h 2023-07-07 06:53:46.000000000 +0200 @@ -1,7 +1,7 @@ /* * Macros for testing * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/tests/fmos_test_notify.c new/libfmos-20230707/tests/fmos_test_notify.c --- old/libfmos-20220811/tests/fmos_test_notify.c 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/tests/fmos_test_notify.c 2023-07-07 06:53:46.000000000 +0200 @@ -1,7 +1,7 @@ /* * Library notification functions test program * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/tests/fmos_test_support.c new/libfmos-20230707/tests/fmos_test_support.c --- old/libfmos-20220811/tests/fmos_test_support.c 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/tests/fmos_test_support.c 2023-07-07 06:53:46.000000000 +0200 @@ -1,7 +1,7 @@ /* * Library support functions test program * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/tests/fmos_test_unused.h new/libfmos-20230707/tests/fmos_test_unused.h --- old/libfmos-20220811/tests/fmos_test_unused.h 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/tests/fmos_test_unused.h 2023-07-07 06:53:46.000000000 +0200 @@ -1,7 +1,7 @@ /* * Definitions to silence compiler warnings about unused function attributes/parameters. * - * Copyright (C) 2019-2022, Joachim Metz <[email protected]> + * Copyright (C) 2019-2023, Joachim Metz <[email protected]> * * Refer to AUTHORS for acknowledgements. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/tests/pyfmos_test_adc.py new/libfmos-20230707/tests/pyfmos_test_adc.py --- old/libfmos-20220811/tests/pyfmos_test_adc.py 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/tests/pyfmos_test_adc.py 2023-07-07 06:53:45.000000000 +0200 @@ -2,7 +2,7 @@ # # Python-bindings ADC (un)compression functions test script # -# Copyright (C) 2019-2022, Joachim Metz <[email protected]> +# Copyright (C) 2019-2023, Joachim Metz <[email protected]> # # Refer to AUTHORS for acknowledgements. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/tests/pyfmos_test_lzfse.py new/libfmos-20230707/tests/pyfmos_test_lzfse.py --- old/libfmos-20220811/tests/pyfmos_test_lzfse.py 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/tests/pyfmos_test_lzfse.py 2023-07-07 06:53:46.000000000 +0200 @@ -2,7 +2,7 @@ # # Python-bindings LZFSE (un)compression functions test script # -# Copyright (C) 2019-2022, Joachim Metz <[email protected]> +# Copyright (C) 2019-2023, Joachim Metz <[email protected]> # # Refer to AUTHORS for acknowledgements. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/tests/pyfmos_test_lzvn.py new/libfmos-20230707/tests/pyfmos_test_lzvn.py --- old/libfmos-20220811/tests/pyfmos_test_lzvn.py 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/tests/pyfmos_test_lzvn.py 2023-07-07 06:53:46.000000000 +0200 @@ -2,7 +2,7 @@ # # Python-bindings LZVN (un)compression functions test script # -# Copyright (C) 2019-2022, Joachim Metz <[email protected]> +# Copyright (C) 2019-2023, Joachim Metz <[email protected]> # # Refer to AUTHORS for acknowledgements. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/tests/pyfmos_test_support.py new/libfmos-20230707/tests/pyfmos_test_support.py --- old/libfmos-20220811/tests/pyfmos_test_support.py 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/tests/pyfmos_test_support.py 2023-07-07 06:53:46.000000000 +0200 @@ -2,7 +2,7 @@ # # Python-bindings support functions test script # -# Copyright (C) 2019-2022, Joachim Metz <[email protected]> +# Copyright (C) 2019-2023, Joachim Metz <[email protected]> # # Refer to AUTHORS for acknowledgements. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/tests/test_library.sh new/libfmos-20230707/tests/test_library.sh --- old/libfmos-20220811/tests/test_library.sh 2022-08-11 06:31:48.000000000 +0200 +++ new/libfmos-20230707/tests/test_library.sh 2023-07-07 06:54:45.000000000 +0200 @@ -1,7 +1,7 @@ -#!/bin/bash +#!/usr/bin/env bash # Tests library functions and types. # -# Version: 20200705 +# Version: 20230410 EXIT_SUCCESS=0; EXIT_FAILURE=1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/tests/test_manpage.sh new/libfmos-20230707/tests/test_manpage.sh --- old/libfmos-20220811/tests/test_manpage.sh 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/tests/test_manpage.sh 2023-07-07 06:53:45.000000000 +0200 @@ -1,7 +1,7 @@ -#!/bin/bash +#!/usr/bin/env bash # Tests man pages. # -# Version: 20190302 +# Version: 20230410 EXIT_SUCCESS=0; EXIT_FAILURE=1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/tests/test_python_module.sh new/libfmos-20230707/tests/test_python_module.sh --- old/libfmos-20220811/tests/test_python_module.sh 2022-08-11 06:31:48.000000000 +0200 +++ new/libfmos-20230707/tests/test_python_module.sh 2023-07-07 06:54:45.000000000 +0200 @@ -1,7 +1,7 @@ -#!/bin/bash +#!/usr/bin/env bash # Tests Python module functions and types. # -# Version: 20200705 +# Version: 20230410 EXIT_SUCCESS=0; EXIT_FAILURE=1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfmos-20220811/tests/test_runner.sh new/libfmos-20230707/tests/test_runner.sh --- old/libfmos-20220811/tests/test_runner.sh 2022-08-11 06:31:06.000000000 +0200 +++ new/libfmos-20230707/tests/test_runner.sh 2023-07-07 06:53:45.000000000 +0200 @@ -1,7 +1,7 @@ -#!/bin/bash +#!/usr/bin/env bash # Bash functions to run an executable for testing. # -# Version: 20220807 +# Version: 20230410 # # When CHECK_WITH_ASAN is set to a non-empty value the test executable # is run with asan, otherwise it is run without. @@ -190,14 +190,24 @@ find_binary_library_path() { local TEST_EXECUTABLE=$1; - local LIBRARY_NAME="${TEST_EXECUTABLE}"; + local LIBRARY_NAME=`dirname ${TEST_EXECUTABLE}`; - echo ${LIBRARY_NAME} | grep 'tools' > /dev/null 2>&1; + local NAME=`basename ${LIBRARY_NAME}`; - if test $? -eq ${EXIT_SUCCESS}; + if test ${NAME} = ".libs"; then LIBRARY_NAME=`dirname ${LIBRARY_NAME}`; + NAME=`basename ${LIBRARY_NAME}`; + fi + if test ${NAME} = "tests"; + then LIBRARY_NAME=`dirname ${LIBRARY_NAME}`; + NAME=`basename ${LIBRARY_NAME}`; + fi + echo ${LIBRARY_NAME} | grep 'tools' > /dev/null 2>&1; + + if test $? -eq ${EXIT_SUCCESS}; + then LIBRARY_NAME=`basename ${LIBRARY_NAME} | sed 's/\(.*\)tools$/lib\1/'`; else LIBRARY_NAME=`basename ${LIBRARY_NAME} | sed 's/^py//' | sed 's/^\([^_]*\)_test_.*$/lib\1/'`; @@ -655,6 +665,7 @@ return ${EXIT_FAILURE}; fi + local TEST_EXECUTABLE=$( find_binary_executable ${TEST_EXECUTABLE} ); local LIBRARY_PATH=$( find_binary_library_path ${TEST_EXECUTABLE} ); local PYTHON_MODULE_PATH=$( find_binary_python_module_path ${TEST_EXECUTABLE} ); @@ -976,6 +987,7 @@ return ${EXIT_FAILURE}; fi + local TEST_EXECUTABLE=$( find_binary_executable ${TEST_EXECUTABLE} ); local LIBRARY_PATH=$( find_binary_library_path ${TEST_EXECUTABLE} ); local PYTHON_MODULE_PATH=$( find_binary_python_module_path ${TEST_EXECUTABLE} );
