Hello community, here is the log from the commit of package freexl for openSUSE:Factory checked in at 2015-04-21 10:53:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/freexl (Old) and /work/SRC/openSUSE:Factory/.freexl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "freexl" Changes: -------- --- /work/SRC/openSUSE:Factory/freexl/freexl.changes 2015-03-11 09:57:24.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.freexl.new/freexl.changes 2015-04-21 10:53:32.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Apr 20 09:56:32 UTC 2015 - opens...@dstoecker.de + +- update to 1.0.1 + +------------------------------------------------------------------- Old: ---- freexl-1.0.0i.tar.gz New: ---- freexl-1.0.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ freexl.spec ++++++ --- /var/tmp/diff_new_pack.nXZsHr/_old 2015-04-21 10:53:32.000000000 +0200 +++ /var/tmp/diff_new_pack.nXZsHr/_new 2015-04-21 10:53:32.000000000 +0200 @@ -18,7 +18,7 @@ %define libname lib%{name}1 Name: freexl -Version: 1.0.0i +Version: 1.0.1 Release: 0 Summary: Library to extract valid data from within an Excel License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+ ++++++ freexl-1.0.0i.tar.gz -> freexl-1.0.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freexl-1.0.0i/config-msvc.h new/freexl-1.0.1/config-msvc.h --- old/freexl-1.0.0i/config-msvc.h 2015-03-05 18:31:39.000000000 +0100 +++ new/freexl-1.0.1/config-msvc.h 2015-03-22 13:08:49.000000000 +0100 @@ -86,7 +86,7 @@ #define PACKAGE_NAME "FreeXL" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "FreeXL 1.0.0e" +#define PACKAGE_STRING "FreeXL 1.0.1" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "freexl" @@ -107,7 +107,7 @@ /* #undef TM_IN_SYS_TIME */ /* Version number of package */ -#define VERSION "1.0.0e" +#define VERSION "1.0.1" /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freexl-1.0.0i/configure new/freexl-1.0.1/configure --- old/freexl-1.0.0i/configure 2015-03-05 18:31:39.000000000 +0100 +++ new/freexl-1.0.1/configure 2015-03-22 13:08:49.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for FreeXL 1.0.0i. +# Generated by GNU Autoconf 2.69 for FreeXL 1.0.1. # # Report bugs to <a.furi...@lqt.it>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='FreeXL' PACKAGE_TARNAME='freexl' -PACKAGE_VERSION='1.0.0i' -PACKAGE_STRING='FreeXL 1.0.0i' +PACKAGE_VERSION='1.0.1' +PACKAGE_STRING='FreeXL 1.0.1' PACKAGE_BUGREPORT='a.furi...@lqt.it' PACKAGE_URL='' @@ -1326,7 +1326,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 FreeXL 1.0.0i to adapt to many kinds of systems. +\`configure' configures FreeXL 1.0.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1396,7 +1396,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of FreeXL 1.0.0i:";; + short | recursive ) echo "Configuration of FreeXL 1.0.1:";; esac cat <<\_ACEOF @@ -1508,7 +1508,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -FreeXL configure 1.0.0i +FreeXL configure 1.0.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2052,7 +2052,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by FreeXL $as_me 1.0.0i, which was +It was created by FreeXL $as_me 1.0.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2923,7 +2923,7 @@ # Define the identity of the package. PACKAGE='freexl' - VERSION='1.0.0i' + VERSION='1.0.1' cat >>confdefs.h <<_ACEOF @@ -17812,7 +17812,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by FreeXL $as_me 1.0.0i, which was +This file was extended by FreeXL $as_me 1.0.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -17878,7 +17878,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -FreeXL config.status 1.0.0i +FreeXL config.status 1.0.1 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/freexl-1.0.0i/configure.ac new/freexl-1.0.1/configure.ac --- old/freexl-1.0.0i/configure.ac 2015-03-05 18:31:39.000000000 +0100 +++ new/freexl-1.0.1/configure.ac 2015-03-22 13:08:49.000000000 +0100 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.61) -AC_INIT(FreeXL, 1.0.0i, a.furi...@lqt.it) +AC_INIT(FreeXL, 1.0.1, a.furi...@lqt.it) AC_LANG(C) AC_CONFIG_AUX_DIR([.]) AC_CONFIG_MACRO_DIR([m4]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freexl-1.0.0i/headers/freexl.h new/freexl-1.0.1/headers/freexl.h --- old/freexl-1.0.0i/headers/freexl.h 2015-03-05 18:31:39.000000000 +0100 +++ new/freexl-1.0.1/headers/freexl.h 2015-03-22 13:08:49.000000000 +0100 @@ -358,7 +358,7 @@ } value; /**< The value of the data stored in the cell. Which part of the union is valid is determined by the type value. */ }; - + /** Typedef for cell value structure. @@ -368,6 +368,13 @@ /** + Return the current library version. + + \return the version string. + */ + FREEXL_DECLARE const char *freexl_version (void); + + /** Open the .xls file, preparing for future functions \param path full or relative pathname of the input .xls file. @@ -401,7 +408,7 @@ */ FREEXL_DECLARE int freexl_open_info (const char *path, const void **xls_handle); - + /** Close the .xls file and releasing any allocated resource @@ -413,7 +420,7 @@ and the handle will no longer be valid. */ FREEXL_DECLARE int freexl_close (const void *xls_handle); - + /** Query general information about the Workbook and Worksheets @@ -480,7 +487,7 @@ FREEXL_DECLARE int freexl_select_active_worksheet (const void *xls_handle, unsigned short sheet_index); - + /** Query the currently active worksheet index @@ -534,7 +541,7 @@ FREEXL_DECLARE int freexl_get_SST_string (const void *xls_handle, unsigned short string_index, const char **string); - + /** Retrieve FAT entries from FAT chain @@ -559,7 +566,7 @@ FREEXL_DECLARE int freexl_get_FAT_entry (const void *xls_handle, unsigned int sector_index, unsigned int *next_sector_index); - + /** Retrieve individual cell values from the currently active worksheet diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freexl-1.0.0i/src/Makefile.am new/freexl-1.0.1/src/Makefile.am --- old/freexl-1.0.0i/src/Makefile.am 2015-03-05 18:31:39.000000000 +0100 +++ new/freexl-1.0.1/src/Makefile.am 2015-03-22 13:08:49.000000000 +0100 @@ -6,7 +6,7 @@ libfreexl_la_SOURCES = freexl.c -libfreexl_la_LDFLAGS = -version-info 1:0:0 -no-undefined +libfreexl_la_LDFLAGS = -version-info 2:0:1 -no-undefined libfreexl_la_LIBADD = -lm diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freexl-1.0.0i/src/Makefile.in new/freexl-1.0.1/src/Makefile.in --- old/freexl-1.0.0i/src/Makefile.in 2015-03-05 18:31:39.000000000 +0100 +++ new/freexl-1.0.1/src/Makefile.in 2015-03-22 13:08:49.000000000 +0100 @@ -316,7 +316,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/headers -I$(top_srcdir) lib_LTLIBRARIES = libfreexl.la libfreexl_la_SOURCES = freexl.c -libfreexl_la_LDFLAGS = -version-info 1:0:0 -no-undefined +libfreexl_la_LDFLAGS = -version-info 2:0:1 -no-undefined libfreexl_la_LIBADD = -lm MOSTLYCLEANFILES = *.gcna *.gcno *.gcda all: all-am diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freexl-1.0.0i/src/freexl.c new/freexl-1.0.1/src/freexl.c --- old/freexl-1.0.0i/src/freexl.c 2015-03-05 18:31:39.000000000 +0100 +++ new/freexl-1.0.1/src/freexl.c 2015-03-22 13:08:49.000000000 +0100 @@ -79,6 +79,16 @@ #include "freexl.h" #include "freexl_internals.h" + +const char *freexlversion = VERSION; + +FREEXL_DECLARE const char * +freexl_version (void) +{ +/* return the library version number */ + return freexlversion; +} + #if defined(_WIN32) && !defined(__MINGW32__) /* MSVC compiler doesn't support lround() at all */ static double @@ -3759,7 +3769,7 @@ unsigned int already_done; unsigned int chunk = workbook->sector_end - (workbook->p_in - workbook->sector_buf); - if (workbook->sector_end <= (workbook->p_in - workbook->sector_buf)) + if (workbook->sector_end < (workbook->p_in - workbook->sector_buf)) return -1; memcpy (workbook->record, workbook->p_in, chunk); workbook->p_in += chunk; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freexl-1.0.0i/tests/Makefile.am new/freexl-1.0.1/tests/Makefile.am --- old/freexl-1.0.0i/tests/Makefile.am 2015-03-05 18:31:39.000000000 +0100 +++ new/freexl-1.0.1/tests/Makefile.am 2015-03-22 13:08:49.000000000 +0100 @@ -39,4 +39,5 @@ testdata/simple2003_5WB.xls \ testdata/datetime2003.xls \ testdata/testcase1.xls \ - testdata/testbool.xls + testdata/testbool.xls \ + test_under_valgrind.sh diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freexl-1.0.0i/tests/Makefile.in new/freexl-1.0.1/tests/Makefile.in --- old/freexl-1.0.0i/tests/Makefile.in 2015-03-05 18:31:39.000000000 +0100 +++ new/freexl-1.0.1/tests/Makefile.in 2015-03-22 13:08:49.000000000 +0100 @@ -593,7 +593,8 @@ testdata/simple2003_5WB.xls \ testdata/datetime2003.xls \ testdata/testcase1.xls \ - testdata/testbool.xls + testdata/testbool.xls \ + test_under_valgrind.sh all: all-am diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freexl-1.0.0i/tests/test_under_valgrind.sh new/freexl-1.0.1/tests/test_under_valgrind.sh --- old/freexl-1.0.0i/tests/test_under_valgrind.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/freexl-1.0.1/tests/test_under_valgrind.sh 2015-03-22 13:08:49.000000000 +0100 @@ -0,0 +1,6 @@ +#! /bin/bash +for i in *; do +if test -x $i -a -f $i -a $i != "test_under_valgrind.sh"; then + libtool --mode=execute valgrind --track-origins=yes --tool=memcheck --num-callers=20 --leak-check=full --show-reachable=yes $i +fi; +done;