Hello community, here is the log from the commit of package libestr for openSUSE:Factory checked in at 2013-10-29 11:03:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libestr (Old) and /work/SRC/openSUSE:Factory/.libestr.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libestr" Changes: -------- --- /work/SRC/openSUSE:Factory/libestr/libestr.changes 2013-10-18 11:39:46.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libestr.new/libestr.changes 2013-10-29 11:03:52.000000000 +0100 @@ -1,0 +2,6 @@ +Mon Oct 28 22:12:35 UTC 2013 - [email protected] + +- update 0.1.9 [bnc#847968] + - bugfix: invalid number string when creating string from integer + +------------------------------------------------------------------- Old: ---- libestr-0.1.8.tar.gz New: ---- libestr-0.1.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libestr.spec ++++++ --- /var/tmp/diff_new_pack.dyV7rv/_old 2013-10-29 11:03:52.000000000 +0100 +++ /var/tmp/diff_new_pack.dyV7rv/_new 2013-10-29 11:03:52.000000000 +0100 @@ -17,7 +17,7 @@ Name: libestr -Version: 0.1.8 +Version: 0.1.9 Release: 0 Summary: String handling essentials library License: LGPL-2.1+ ++++++ libestr-0.1.8.tar.gz -> libestr-0.1.9.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libestr-0.1.8/ChangeLog new/libestr-0.1.9/ChangeLog --- old/libestr-0.1.8/ChangeLog 2013-10-16 16:55:34.000000000 +0200 +++ new/libestr-0.1.9/ChangeLog 2013-10-26 17:08:57.000000000 +0200 @@ -1,4 +1,8 @@ ---------------------------------------------------------------------- +Version 0.1.9 2013-10-28 +- bugfix: invalid number string when creating string from integer + Thanks to Pavel Levshin for the patch +---------------------------------------------------------------------- Version 0.1.8 2013-10-16 - bugfix: previous fix for string comparisons did not work properly Thanks to Tomas Heinrich for alerting us diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libestr-0.1.8/configure new/libestr-0.1.9/configure --- old/libestr-0.1.8/configure 2013-10-16 16:56:30.000000000 +0200 +++ new/libestr-0.1.9/configure 2013-10-26 17:09:50.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for libestr 0.1.8. +# Generated by GNU Autoconf 2.68 for libestr 0.1.9. # # Report bugs to <[email protected]>. # @@ -570,8 +570,8 @@ # Identity of this package. PACKAGE_NAME='libestr' PACKAGE_TARNAME='libestr' -PACKAGE_VERSION='0.1.8' -PACKAGE_STRING='libestr 0.1.8' +PACKAGE_VERSION='0.1.9' +PACKAGE_STRING='libestr 0.1.9' PACKAGE_BUGREPORT='[email protected]' PACKAGE_URL='' @@ -1298,7 +1298,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 libestr 0.1.8 to adapt to many kinds of systems. +\`configure' configures libestr 0.1.9 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1368,7 +1368,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libestr 0.1.8:";; + short | recursive ) echo "Configuration of libestr 0.1.9:";; esac cat <<\_ACEOF @@ -1473,7 +1473,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libestr configure 0.1.8 +libestr configure 0.1.9 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -1842,7 +1842,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libestr $as_me 0.1.8, which was +It was created by libestr $as_me 0.1.9, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -2657,7 +2657,7 @@ # Define the identity of the package. PACKAGE='libestr' - VERSION='0.1.8' + VERSION='0.1.9' cat >>confdefs.h <<_ACEOF @@ -12135,7 +12135,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libestr $as_me 0.1.8, which was +This file was extended by libestr $as_me 0.1.9, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -12201,7 +12201,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -libestr config.status 0.1.8 +libestr config.status 0.1.9 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libestr-0.1.8/configure.ac new/libestr-0.1.9/configure.ac --- old/libestr-0.1.8/configure.ac 2013-10-16 16:56:19.000000000 +0200 +++ new/libestr-0.1.9/configure.ac 2013-10-26 17:08:57.000000000 +0200 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.61) -AC_INIT([libestr], [0.1.8], [[email protected]]) +AC_INIT([libestr], [0.1.9], [[email protected]]) AM_INIT_AUTOMAKE m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_CONFIG_SRCDIR([src/libestr.c]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libestr-0.1.8/src/string.c new/libestr-0.1.9/src/string.c --- old/libestr-0.1.8/src/string.c 2013-10-16 17:02:38.000000000 +0200 +++ new/libestr-0.1.9/src/string.c 2013-10-26 17:09:01.000000000 +0200 @@ -151,8 +151,14 @@ { char numbuf[20]; /* 2^64 has 20 digits ;) */ int i,j; + char minus = '\0'; es_str_t *s; + if (num < 0) { + minus = '-'; + num = -num; + } + /* generate string (reversed) */ for(i = 0 ; num != 0 ; ++i) { numbuf[i] = num % 10 + '0'; @@ -160,11 +166,13 @@ } if(i == 0) numbuf [i++] = '0'; + if (minus != '\0') + numbuf[i++] = minus; /* now create the actual string */ if((s = es_newStr(i)) == NULL) goto done; s->lenStr = i; - for(j = 0 ; --i >= 0 ; ++j, --i) { + for(j = 0 ; --i >= 0 ; ++j) { es_getBufAddr(s)[j] = numbuf[i]; } -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
