Hello community, here is the log from the commit of package libfdatetime for openSUSE:Factory checked in at 2016-02-09 13:31:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libfdatetime (Old) and /work/SRC/openSUSE:Factory/.libfdatetime.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libfdatetime" Changes: -------- --- /work/SRC/openSUSE:Factory/libfdatetime/libfdatetime.changes 2015-01-10 23:05:07.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libfdatetime.new/libfdatetime.changes 2016-02-09 13:31:39.000000000 +0100 @@ -1,0 +2,6 @@ +Wed Jan 27 12:31:00 UTC 2016 - [email protected] + +- update to v0~20150507 + * fix in POSIX timestamp for missing sign check + +------------------------------------------------------------------- Old: ---- libfdatetime-alpha-20150104.tar.gz New: ---- libfdatetime-alpha-20150507.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libfdatetime.spec ++++++ --- /var/tmp/diff_new_pack.CmSsPj/_old 2016-02-09 13:31:40.000000000 +0100 +++ /var/tmp/diff_new_pack.CmSsPj/_new 2016-02-09 13:31:40.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libfdatetime # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # 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: libfdatetime %define lname libfdatetime1 -%define timestamp 20150104 +%define timestamp 20150507 Version: 0~%timestamp Release: 0 Summary: A library for date and time data types ++++++ libfdatetime-alpha-20150104.tar.gz -> libfdatetime-alpha-20150507.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfdatetime-20150104/ChangeLog new/libfdatetime-20150507/ChangeLog --- old/libfdatetime-20150104/ChangeLog 2015-01-04 12:14:12.000000000 +0100 +++ new/libfdatetime-20150507/ChangeLog 2015-05-07 09:18:33.000000000 +0200 @@ -22,6 +22,9 @@ HFS date/time * implement +20150507 +* fix in POSIX timestamp for missing sign check + 20150104 * 2015 update diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfdatetime-20150104/common/config.h new/libfdatetime-20150507/common/config.h --- old/libfdatetime-20150104/common/config.h 2015-01-04 12:15:33.000000000 +0100 +++ new/libfdatetime-20150507/common/config.h 2015-05-07 09:18:55.000000000 +0200 @@ -270,7 +270,7 @@ #define PACKAGE_NAME "libfdatetime" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "libfdatetime 20150104" +#define PACKAGE_STRING "libfdatetime 20150507" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "libfdatetime" @@ -279,7 +279,7 @@ #define PACKAGE_URL "" /* Define to the version of this package. */ -#define PACKAGE_VERSION "20150104" +#define PACKAGE_VERSION "20150507" /* The size of `off_t', as computed by sizeof. */ #define SIZEOF_OFF_T 8 @@ -297,7 +297,7 @@ /* #undef STRERROR_R_CHAR_P */ /* Version number of package */ -#define VERSION "20150104" +#define VERSION "20150507" /* Enable large inode numbers on Mac OS X 10.5. */ #ifndef _DARWIN_USE_64_BIT_INODE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfdatetime-20150104/configure new/libfdatetime-20150507/configure --- old/libfdatetime-20150104/configure 2015-01-04 12:23:33.000000000 +0100 +++ new/libfdatetime-20150507/configure 2015-05-07 09:23:12.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for libfdatetime 20150104. +# Generated by GNU Autoconf 2.69 for libfdatetime 20150507. # # Report bugs to <[email protected]>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='libfdatetime' PACKAGE_TARNAME='libfdatetime' -PACKAGE_VERSION='20150104' -PACKAGE_STRING='libfdatetime 20150104' +PACKAGE_VERSION='20150507' +PACKAGE_STRING='libfdatetime 20150507' PACKAGE_BUGREPORT='[email protected]' PACKAGE_URL='' @@ -1383,7 +1383,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 libfdatetime 20150104 to adapt to many kinds of systems. +\`configure' configures libfdatetime 20150507 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1453,7 +1453,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libfdatetime 20150104:";; + short | recursive ) echo "Configuration of libfdatetime 20150507:";; esac cat <<\_ACEOF @@ -1585,7 +1585,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libfdatetime configure 20150104 +libfdatetime configure 20150507 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2237,7 +2237,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libfdatetime $as_me 20150104, which was +It was created by libfdatetime $as_me 20150507, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3065,7 +3065,7 @@ # Define the identity of the package. PACKAGE='libfdatetime' - VERSION='20150104' + VERSION='20150507' cat >>confdefs.h <<_ACEOF @@ -17939,7 +17939,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libfdatetime $as_me 20150104, which was +This file was extended by libfdatetime $as_me 20150507, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -18005,7 +18005,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -libfdatetime config.status 20150104 +libfdatetime config.status 20150507 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfdatetime-20150104/configure.ac new/libfdatetime-20150507/configure.ac --- old/libfdatetime-20150104/configure.ac 2015-01-04 12:14:12.000000000 +0100 +++ new/libfdatetime-20150507/configure.ac 2015-05-07 09:17:59.000000000 +0200 @@ -2,7 +2,7 @@ AC_INIT( [libfdatetime], - [20150104], + [20150507], [[email protected]]) AC_CONFIG_SRCDIR( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfdatetime-20150104/dpkg/changelog new/libfdatetime-20150507/dpkg/changelog --- old/libfdatetime-20150104/dpkg/changelog 2015-01-04 12:23:39.000000000 +0100 +++ new/libfdatetime-20150507/dpkg/changelog 2015-05-07 09:23:20.000000000 +0200 @@ -1,5 +1,5 @@ -libfdatetime (20150104-1) unstable; urgency=low +libfdatetime (20150507-1) unstable; urgency=low * Auto-generated - -- Joachim Metz <[email protected]> Sun, 04 Jan 2015 12:23:38 +0100 + -- Joachim Metz <[email protected]> Thu, 07 May 2015 09:23:20 +0200 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfdatetime-20150104/dpkg/copyright new/libfdatetime-20150507/dpkg/copyright --- old/libfdatetime-20150104/dpkg/copyright 2015-01-04 12:23:39.000000000 +0100 +++ new/libfdatetime-20150507/dpkg/copyright 2015-05-07 09:23:20.000000000 +0200 @@ -1,6 +1,6 @@ This work was packaged for Debian by: - Joachim Metz <[email protected]> on Sun, 04 Jan 2015 12:23:38 +0100 + Joachim Metz <[email protected]> on Thu, 07 May 2015 09:23:20 +0200 It was downloaded from https://github.com/libyal/libfdatetime/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfdatetime-20150104/include/libfdatetime/definitions.h new/libfdatetime-20150507/include/libfdatetime/definitions.h --- old/libfdatetime-20150104/include/libfdatetime/definitions.h 2015-01-04 12:23:39.000000000 +0100 +++ new/libfdatetime-20150507/include/libfdatetime/definitions.h 2015-05-07 09:23:20.000000000 +0200 @@ -24,11 +24,11 @@ #include <libfdatetime/types.h> -#define LIBFDATETIME_VERSION 20150104 +#define LIBFDATETIME_VERSION 20150507 /* The version string */ -#define LIBFDATETIME_VERSION_STRING "20150104" +#define LIBFDATETIME_VERSION_STRING "20150507" /* The byte order definitions */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfdatetime-20150104/libcerror/libcerror_definitions.h new/libfdatetime-20150507/libcerror/libcerror_definitions.h --- old/libfdatetime-20150104/libcerror/libcerror_definitions.h 2015-01-04 12:14:12.000000000 +0100 +++ new/libfdatetime-20150507/libcerror/libcerror_definitions.h 2015-05-07 09:20:02.000000000 +0200 @@ -35,11 +35,11 @@ */ #else -#define LIBCERROR_VERSION 20150101 +#define LIBCERROR_VERSION 20150407 /* The libcstring version string */ -#define LIBCERROR_VERSION_STRING "20150101" +#define LIBCERROR_VERSION_STRING "20150407" /* The error domains */ @@ -238,6 +238,17 @@ LIBCERROR_MEMORY_ERROR_SET_FAILED = 3 }; +/* The output error codes + */ +enum LIBCERROR_OUTPUT_ERROR +{ + LIBCERROR_OUTPUT_ERROR_GENERIC = 0, + + /* There is insuficient space to write the output + */ + LIBCERROR_OUTPUT_ERROR_INSUFFICIENT_SPACE = 1 +}; + /* The runtime error codes * to signify errors regarding runtime processing */ @@ -306,17 +317,6 @@ LIBCERROR_RUNTIME_ERROR_ABORT_REQUESTED = 15 }; -/* The output error codes - */ -enum LIBCERROR_OUTPUT_ERROR -{ - LIBCERROR_OUTPUT_ERROR_GENERIC = 0, - - /* There is insuficient space to write the output - */ - LIBCERROR_OUTPUT_ERROR_INSUFFICIENT_SPACE = 1 -}; - #endif /* !defined( HAVE_LOCAL_LIBCERROR ) */ #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfdatetime-20150104/libcerror/libcerror_error.c new/libfdatetime-20150507/libcerror/libcerror_error.c --- old/libfdatetime-20150104/libcerror/libcerror_error.c 2015-01-04 12:14:12.000000000 +0100 +++ new/libfdatetime-20150507/libcerror/libcerror_error.c 2015-05-07 09:20:02.000000000 +0200 @@ -410,12 +410,8 @@ size_t size ) { libcerror_internal_error_t *internal_error = NULL; - size_t string_index = 0; - int message_index = 0; - -#if defined( LIBCSTRING_HAVE_WIDE_SYSTEM_CHARACTER ) size_t print_count = 0; -#endif + int message_index = 0; if( error == NULL ) { @@ -447,8 +443,8 @@ #if defined( _MSC_VER ) if( wcstombs_s( &print_count, - &( string[ string_index ] ), - size - string_index, + string, + size, internal_error->messages[ message_index ], _TRUNCATE ) != 0 ) { @@ -456,45 +452,45 @@ } #else print_count = wcstombs( - &( string[ string_index ] ), + string, internal_error->messages[ message_index ], - size - string_index ); + size ); if( print_count == (size_t) -1 ) { return( -1 ); } -#endif - string_index += print_count; +#endif /* defined( _MSC_VER ) */ - if( string_index >= size ) + if( print_count >= size ) { return( -1 ); } #else - if( ( string_index + internal_error->sizes[ message_index ] ) > size ) + if( internal_error->sizes[ message_index ] > size ) { return( -1 ); } if( libcstring_narrow_string_copy( - &( string[ string_index ] ), + string, internal_error->messages[ message_index ], internal_error->sizes[ message_index ] ) == NULL ) { - string[ string_index ] = (libcstring_system_character_t) 0; + string[ 0 ] = (libcstring_system_character_t) 0; return( -1 ); } - string_index += internal_error->sizes[ message_index ]; + print_count = internal_error->sizes[ message_index ]; + + string[ print_count ] = (libcstring_system_character_t) 0; - string[ string_index ] = (libcstring_system_character_t) 0; #endif /* defined( LIBCSTRING_HAVE_WIDE_SYSTEM_CHARACTER ) */ } - if( string_index > (size_t) INT_MAX ) + if( print_count > (size_t) INT_MAX ) { return( -1 ); } - return( (int) string_index ); + return( (int) print_count ); } /* Prints a backtrace of the error to the stream @@ -645,6 +641,8 @@ #endif /* defined( LIBCSTRING_HAVE_WIDE_SYSTEM_CHARACTER ) */ } } + string_index += 1; + if( string_index > (size_t) INT_MAX ) { return( -1 ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfdatetime-20150104/libcerror/libcerror_system.c new/libfdatetime-20150507/libcerror/libcerror_system.c --- old/libfdatetime-20150104/libcerror/libcerror_system.c 2015-01-04 12:14:12.000000000 +0100 +++ new/libfdatetime-20150507/libcerror/libcerror_system.c 2015-05-07 09:20:02.000000000 +0200 @@ -59,7 +59,7 @@ #define SUBLANG_DEFAULT 1 #endif -#if defined( WINAPI ) && ( WINVER <= 0x0500 ) && !defined( USE_CRT_FUNCTIONS ) +#if defined( WINAPI ) && ( WINVER <= 0x0500 ) /* Cross Windows safe version of FormatMessageA * Returns TRUE if successful or FALSE on error @@ -169,7 +169,7 @@ #endif -#if defined( WINAPI ) && ( WINVER >= 0x0501 ) && !defined( USE_CRT_FUNCTIONS ) +#if defined( WINAPI ) && ( WINVER >= 0x0501 ) /* Retrieves a descriptive string of the error number * This function uses the WINAPI functions for Windows XP or later @@ -251,49 +251,6 @@ return( (int) print_count ); } -#elif defined( WINAPI ) && defined( USE_CRT_FUNCTIONS ) && defined( _MSC_VER ) - -/* Retrieves a descriptive string of the error number - * This function uses the Visual Studio C runtime library functions - * Returns the string_length if successful or -1 on error - */ -int libcerror_system_copy_string_from_error_number( - libcstring_system_character_t *string, - size_t string_size, - uint32_t error_number ) -{ - size_t string_length = 0; - - if( string == NULL ) - { - return( -1 ); - } - if( string_size > (size_t) INT_MAX ) - { - return( -1 ); - } -#if defined( LIBCSTRING_HAVE_WIDE_SYSTEM_CHARACTER ) - if( _wcserror_s( - string, - string_size, - (int) error_number ) != 0 ) -#else - if( strerror_s( - string, - string_size, - (int) error_number ) != 0 ) -#endif - { - return( -1 ); - } - string[ string_size - 1 ] = 0; - - string_length = libcstring_system_string_length( - string ); - - return( (int) string_length ); -} - #elif defined( HAVE_STRERROR_R ) /* Retrieves a descriptive string of the error number diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfdatetime-20150104/libcerror/libcerror_system.h new/libfdatetime-20150507/libcerror/libcerror_system.h --- old/libfdatetime-20150104/libcerror/libcerror_system.h 2015-01-04 12:14:12.000000000 +0100 +++ new/libfdatetime-20150507/libcerror/libcerror_system.h 2015-05-07 09:20:02.000000000 +0200 @@ -35,7 +35,7 @@ extern "C" { #endif -#if defined( WINAPI ) && ( WINVER <= 0x0500 ) && !defined( USE_CRT_FUNCTIONS ) +#if defined( WINAPI ) && ( WINVER <= 0x0500 ) DWORD libcerror_FormatMessageA( DWORD flags, LPCVOID source, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfdatetime-20150104/libfdatetime/libfdatetime.rc new/libfdatetime-20150507/libfdatetime/libfdatetime.rc --- old/libfdatetime-20150104/libfdatetime/libfdatetime.rc 2015-01-04 12:23:39.000000000 +0100 +++ new/libfdatetime-20150507/libfdatetime/libfdatetime.rc 2015-05-07 09:23:20.000000000 +0200 @@ -22,12 +22,12 @@ BLOCK "040904E4" BEGIN VALUE "FileDescription", "Library to support various date and time formats that are used in file formats\0" - VALUE "FileVersion", "20150104" "\0" + VALUE "FileVersion", "20150507" "\0" VALUE "InternalName", "libfdatetime.dll\0" VALUE "LegalCopyright", "(C) 2009-2015, Joachim Metz <[email protected]>\0" VALUE "OriginalFilename", "libfdatetime.dll\0" VALUE "ProductName", "libfdatetime\0" - VALUE "ProductVersion", "20150104" "\0" + VALUE "ProductVersion", "20150507" "\0" VALUE "Comments", "For more information visit https://github.com/libyal/libfdatetime/\0" END END diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfdatetime-20150104/libfdatetime/libfdatetime_definitions.h new/libfdatetime-20150507/libfdatetime/libfdatetime_definitions.h --- old/libfdatetime-20150104/libfdatetime/libfdatetime_definitions.h 2015-01-04 12:23:39.000000000 +0100 +++ new/libfdatetime-20150507/libfdatetime/libfdatetime_definitions.h 2015-05-07 09:23:20.000000000 +0200 @@ -36,11 +36,11 @@ #else #include <byte_stream.h> -#define LIBFDATETIME_VERSION 20150104 +#define LIBFDATETIME_VERSION 20150507 /* The version string */ -#define LIBFDATETIME_VERSION_STRING "20150104" +#define LIBFDATETIME_VERSION_STRING "20150507" /* The byte order definitions */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfdatetime-20150104/libfdatetime/libfdatetime_posix_time.c new/libfdatetime-20150507/libfdatetime/libfdatetime_posix_time.c --- old/libfdatetime-20150104/libfdatetime/libfdatetime_posix_time.c 2015-01-04 12:14:11.000000000 +0100 +++ new/libfdatetime-20150507/libfdatetime/libfdatetime_posix_time.c 2015-05-07 09:17:51.000000000 +0200 @@ -634,7 +634,8 @@ posix_timestamp &= 0x7fffffffffffffffULL; #endif } - if( posix_timestamp == 0 ) + if( ( is_signed != 0 ) + && ( posix_timestamp == 0 ) ) { libcerror_error_set( error, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfdatetime-20150104/libfdatetime.spec new/libfdatetime-20150507/libfdatetime.spec --- old/libfdatetime-20150104/libfdatetime.spec 2015-01-04 12:23:39.000000000 +0100 +++ new/libfdatetime-20150507/libfdatetime.spec 2015-05-07 09:23:20.000000000 +0200 @@ -1,5 +1,5 @@ Name: libfdatetime -Version: 20150104 +Version: 20150507 Release: 1 Summary: Library to support various date and time formats that are used in file formats Group: System Environment/Libraries @@ -55,6 +55,6 @@ %{_mandir}/man3/* %changelog -* Sun Jan 4 2015 Joachim Metz <[email protected]> 20150104-1 +* Thu May 7 2015 Joachim Metz <[email protected]> 20150507-1 - Auto-generated
