Hello community, here is the log from the commit of package libestr for openSUSE:Factory checked in at 2012-09-21 14:39:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libestr (Old) and /work/SRC/openSUSE:Factory/.libestr.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libestr", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/libestr/libestr.changes 2012-07-12 10:46:32.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libestr.new/libestr.changes 2012-09-21 14:39:46.000000000 +0200 @@ -1,0 +2,6 @@ +Thu Sep 20 21:55:36 UTC 2012 - [email protected] + +- update to 0.1.4: + - bugfix: ‘\\’ escape was not recognized when unescaping strings + +------------------------------------------------------------------- Old: ---- libestr-0.1.3.tar.gz New: ---- libestr-0.1.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libestr.spec ++++++ --- /var/tmp/diff_new_pack.97wrXb/_old 2012-09-21 14:39:47.000000000 +0200 +++ /var/tmp/diff_new_pack.97wrXb/_new 2012-09-21 14:39:47.000000000 +0200 @@ -17,7 +17,7 @@ Name: libestr -Version: 0.1.3 +Version: 0.1.4 Release: 0 Summary: String handling essentials library License: LGPL-2.1+ ++++++ libestr-0.1.3.tar.gz -> libestr-0.1.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libestr-0.1.3/ChangeLog new/libestr-0.1.4/ChangeLog --- old/libestr-0.1.3/ChangeLog 2012-07-04 17:57:04.000000000 +0200 +++ new/libestr-0.1.4/ChangeLog 2012-09-12 18:56:32.000000000 +0200 @@ -1,4 +1,8 @@ ---------------------------------------------------------------------- +Version 0.1.4 2012-09-13 +- bugfix: '\\' escape was not recognized when unescaping strings + Thanks to Miloslav Trmač for the patch. +---------------------------------------------------------------------- Version 0.1.3 (rgerhards), 2012-07-04 - bugfix: fixed some problems in build system Thanks to Jan Engelhardt for the patches diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libestr-0.1.3/configure new/libestr-0.1.4/configure --- old/libestr-0.1.3/configure 2012-07-04 17:57:29.000000000 +0200 +++ new/libestr-0.1.4/configure 2012-08-26 12:47:45.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.3. +# Generated by GNU Autoconf 2.68 for libestr 0.1.4. # # Report bugs to <[email protected]>. # @@ -570,8 +570,8 @@ # Identity of this package. PACKAGE_NAME='libestr' PACKAGE_TARNAME='libestr' -PACKAGE_VERSION='0.1.3' -PACKAGE_STRING='libestr 0.1.3' +PACKAGE_VERSION='0.1.4' +PACKAGE_STRING='libestr 0.1.4' 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.3 to adapt to many kinds of systems. +\`configure' configures libestr 0.1.4 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.3:";; + short | recursive ) echo "Configuration of libestr 0.1.4:";; 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.3 +libestr configure 0.1.4 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.3, which was +It was created by libestr $as_me 0.1.4, 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.3' + VERSION='0.1.4' 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.3, which was +This file was extended by libestr $as_me 0.1.4, 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.3 +libestr config.status 0.1.4 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.3/configure.ac new/libestr-0.1.4/configure.ac --- old/libestr-0.1.3/configure.ac 2012-07-04 17:57:12.000000000 +0200 +++ new/libestr-0.1.4/configure.ac 2012-08-26 12:47:33.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.3], [[email protected]]) +AC_INIT([libestr], [0.1.4], [[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.3/include/libestr.h new/libestr-0.1.4/include/libestr.h --- old/libestr-0.1.3/include/libestr.h 2012-04-04 11:12:01.000000000 +0200 +++ new/libestr-0.1.4/include/libestr.h 2012-08-26 12:45:47.000000000 +0200 @@ -117,7 +117,7 @@ * the length is known and we use this as a time-safer (if present). * @returns pointer to new object or NULL on error */ -es_str_t* es_newStrFromCStr(char *cstr, es_size_t len); +es_str_t* es_newStrFromCStr(const char *cstr, es_size_t len); /** diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libestr-0.1.3/src/string.c new/libestr-0.1.4/src/string.c --- old/libestr-0.1.3/src/string.c 2012-04-04 11:12:01.000000000 +0200 +++ new/libestr-0.1.4/src/string.c 2012-09-12 18:54:09.000000000 +0200 @@ -117,7 +117,7 @@ es_str_t* -es_newStrFromCStr(char *cstr, es_size_t len) +es_newStrFromCStr(const char *cstr, es_size_t len) { es_str_t *s; assert(strlen(cstr) == len); @@ -654,6 +654,9 @@ case '?': c[iDst] = '?'; break; + case '\\': + c[iDst] = '\\'; + break; case 'x': if( (*iSrc)+2 == lenStr || !isxdigit(c[(*iSrc)+1]) @@ -665,7 +668,13 @@ c[iDst] = (hexDigitVal(c[(*iSrc)+1]) << 4) + hexDigitVal(c[(*iSrc)+2]); *iSrc += 2; - /* TODO: other sequences */ + default: + /* error, incomplete escape, use as is. Ideally we + should reject it instead, to allow for future + enhancements, but that would break ABI of + es_unescapeStr. */ + c[iDst] = '\\'; + --(*iSrc); } } else { /* regular character */ -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
