Hello community,

here is the log from the commit of package libcsplit for openSUSE:Factory 
checked in at 2013-10-11 08:54:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcsplit (Old)
 and      /work/SRC/openSUSE:Factory/.libcsplit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libcsplit"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libcsplit/libcsplit.changes      2013-07-31 
17:23:23.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libcsplit.new/libcsplit.changes 2013-10-11 
08:54:41.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Oct  2 18:40:06 UTC 2013 - [email protected]
+
+- update to v0~20130904
+        * code cleanup
+
+-------------------------------------------------------------------

Old:
----
  libcsplit-alpha-20130609.tar.gz

New:
----
  libcsplit-alpha-20130904.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libcsplit.spec ++++++
--- /var/tmp/diff_new_pack.h2xfnl/_old  2013-10-11 08:54:43.000000000 +0200
+++ /var/tmp/diff_new_pack.h2xfnl/_new  2013-10-11 08:54:43.000000000 +0200
@@ -18,7 +18,7 @@
 
 Name:           libcsplit
 %define lname  libcsplit1
-%define timestamp 20130609
+%define timestamp 20130904
 Version:        0~%timestamp
 Release:        0
 Summary:        Library for cross-platform C split string functions
@@ -26,17 +26,20 @@
 Group:          Development/Libraries/C and C++
 Url:            http://code.google.com/p/libcsplit/
 
-#DL-URL:       
https://googledrive.com/host/0B3fBvzttpiiSeE44MVpGWnpNeVU/libcsplit-alpha-%timestamp.tar.gz
+#DL-URL:       
https://googledrive.com/host/0B3fBvzttpiiSeE44MVpGWnpNeVU/libcsplit-alpha-20130904.tar.gz
 #Git-Clone:    http://code.google.com/p/libcsplit
 Source:         %{name}-alpha-%timestamp.tar.gz
 BuildRequires:  pkg-config
-BuildRequires:  pkgconfig(libcerror) >= 0~20130609
+BuildRequires:  pkgconfig(libcerror) >= 20130904
+# libcstring is not released as a package by upstream
 #BuildRequires:  pkgconfig(libcstring) >= 20120425
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 A library for cross-platform C split string functions.
 
+This package is part of the libyal library collection and is used by other 
libraries in the collection
+
 %package -n %lname
 Summary:        Library for cross-platform C split string functions
 Group:          System/Libraries

++++++ libcsplit-alpha-20130609.tar.gz -> libcsplit-alpha-20130904.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcsplit-20130609/ChangeLog 
new/libcsplit-20130904/ChangeLog
--- old/libcsplit-20130609/ChangeLog    2013-06-09 13:30:16.000000000 +0200
+++ new/libcsplit-20130904/ChangeLog    2013-09-04 08:14:00.000000000 +0200
@@ -3,6 +3,9 @@
 * complete stand alone version
 * add tests
 
+20130904
+* code clean up
+
 20130609
 * Fix in .pc.in file
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcsplit-20130609/common/config.h 
new/libcsplit-20130904/common/config.h
--- old/libcsplit-20130609/common/config.h      2013-06-09 13:30:33.000000000 
+0200
+++ new/libcsplit-20130904/common/config.h      2013-09-04 08:14:23.000000000 
+0200
@@ -261,7 +261,7 @@
 #define PACKAGE_NAME "libcsplit"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "libcsplit 20130609"
+#define PACKAGE_STRING "libcsplit 20130904"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "libcsplit"
@@ -270,7 +270,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "20130609"
+#define PACKAGE_VERSION "20130904"
 
 /* The size of `off_t', as computed by sizeof. */
 #define SIZEOF_OFF_T 8
@@ -288,7 +288,7 @@
 /* #undef STRERROR_R_CHAR_P */
 
 /* Version number of package */
-#define VERSION "20130609"
+#define VERSION "20130904"
 
 /* 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/libcsplit-20130609/configure 
new/libcsplit-20130904/configure
--- old/libcsplit-20130609/configure    2013-06-09 13:30:24.000000000 +0200
+++ new/libcsplit-20130904/configure    2013-09-04 08:14:08.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libcsplit 20130609.
+# Generated by GNU Autoconf 2.69 for libcsplit 20130904.
 #
 # Report bugs to <[email protected]>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='libcsplit'
 PACKAGE_TARNAME='libcsplit'
-PACKAGE_VERSION='20130609'
-PACKAGE_STRING='libcsplit 20130609'
+PACKAGE_VERSION='20130904'
+PACKAGE_STRING='libcsplit 20130904'
 PACKAGE_BUGREPORT='[email protected]'
 PACKAGE_URL=''
 
@@ -1382,7 +1382,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 libcsplit 20130609 to adapt to many kinds of systems.
+\`configure' configures libcsplit 20130904 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1452,7 +1452,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libcsplit 20130609:";;
+     short | recursive ) echo "Configuration of libcsplit 20130904:";;
    esac
   cat <<\_ACEOF
 
@@ -1586,7 +1586,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libcsplit configure 20130609
+libcsplit configure 20130904
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2238,7 +2238,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libcsplit $as_me 20130609, which was
+It was created by libcsplit $as_me 20130904, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3066,7 +3066,7 @@
 
 # Define the identity of the package.
  PACKAGE='libcsplit'
- VERSION='20130609'
+ VERSION='20130904'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -17879,7 +17879,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libcsplit $as_me 20130609, which was
+This file was extended by libcsplit $as_me 20130904, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -17945,7 +17945,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-libcsplit config.status 20130609
+libcsplit config.status 20130904
 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/libcsplit-20130609/configure.ac 
new/libcsplit-20130904/configure.ac
--- old/libcsplit-20130609/configure.ac 2013-06-09 13:29:59.000000000 +0200
+++ new/libcsplit-20130904/configure.ac 2013-09-04 08:13:49.000000000 +0200
@@ -2,7 +2,7 @@
 
 AC_INIT(
  [libcsplit],
- [20130609],
+ [20130904],
  [[email protected]])
 
 AC_CONFIG_SRCDIR(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcsplit-20130609/dpkg/changelog 
new/libcsplit-20130904/dpkg/changelog
--- old/libcsplit-20130609/dpkg/changelog       2013-06-09 13:30:32.000000000 
+0200
+++ new/libcsplit-20130904/dpkg/changelog       2013-09-04 08:14:23.000000000 
+0200
@@ -1,5 +1,5 @@
-libcsplit (20130609-1) unstable; urgency=low
+libcsplit (20130904-1) unstable; urgency=low
 
   * Auto-generated
 
- -- Joachim Metz <[email protected]>  Sun, 09 Jun 2013 13:30:31 +0200
+ -- Joachim Metz <[email protected]>  Wed, 04 Sep 2013 08:14:22 +0200
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcsplit-20130609/dpkg/copyright 
new/libcsplit-20130904/dpkg/copyright
--- old/libcsplit-20130609/dpkg/copyright       2013-06-09 13:30:32.000000000 
+0200
+++ new/libcsplit-20130904/dpkg/copyright       2013-09-04 08:14:23.000000000 
+0200
@@ -1,6 +1,6 @@
 This work was packaged for Debian by:
 
-    Joachim Metz <[email protected]> on Sun, 09 Jun 2013 13:30:31 +0200
+    Joachim Metz <[email protected]> on Wed, 04 Sep 2013 08:14:22 +0200
 
 It was downloaded from http://code.google.com/p/libcsplit/
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcsplit-20130609/include/libcsplit/definitions.h 
new/libcsplit-20130904/include/libcsplit/definitions.h
--- old/libcsplit-20130609/include/libcsplit/definitions.h      2013-06-09 
13:30:32.000000000 +0200
+++ new/libcsplit-20130904/include/libcsplit/definitions.h      2013-09-04 
08:14:23.000000000 +0200
@@ -24,11 +24,11 @@
 
 #include <libcsplit/types.h>
 
-#define LIBCSPLIT_VERSION                      20130609
+#define LIBCSPLIT_VERSION                      20130904
 
 /* The libcsplit version string
  */
-#define LIBCSPLIT_VERSION_STRING               "20130609"
+#define LIBCSPLIT_VERSION_STRING               "20130904"
 
 #endif
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcsplit-20130609/include/libcsplit/error.h 
new/libcsplit-20130904/include/libcsplit/error.h
--- old/libcsplit-20130609/include/libcsplit/error.h    2013-01-03 
20:37:25.000000000 +0100
+++ new/libcsplit-20130904/include/libcsplit/error.h    2013-06-09 
20:13:28.000000000 +0200
@@ -32,7 +32,7 @@
  */
 enum LIBCSPLIT_ERROR_DOMAINS
 {
-       LIBCSPLIT_ERROR_DOMAIN_ARGUMENTS                        = (int) 'a',
+       LIBCSPLIT_ERROR_DOMAIN_ARGUMENTS                = (int) 'a',
        LIBCSPLIT_ERROR_DOMAIN_CONVERSION               = (int) 'c',
        LIBCSPLIT_ERROR_DOMAIN_COMPRESSION              = (int) 'C',
        LIBCSPLIT_ERROR_DOMAIN_IO                       = (int) 'I',
@@ -47,7 +47,7 @@
  */
 enum LIBCSPLIT_ARGUMENT_ERROR
 {
-       LIBCSPLIT_ARGUMENT_ERROR_GENERIC                        = 0,
+       LIBCSPLIT_ARGUMENT_ERROR_GENERIC                = 0,
 
        /* The argument contains an invalid value
         */
@@ -68,11 +68,11 @@
 
        /* The argument contains a value that is too small
         */
-       LIBCSPLIT_ARGUMENT_ERROR_VALUE_TOO_SMALL                = 5,
+       LIBCSPLIT_ARGUMENT_ERROR_VALUE_TOO_SMALL        = 5,
 
        /* The argument contains a value that is too large
         */
-       LIBCSPLIT_ARGUMENT_ERROR_VALUE_TOO_LARGE                = 6,
+       LIBCSPLIT_ARGUMENT_ERROR_VALUE_TOO_LARGE        = 6,
 
        /* The argument contains a value that is out of bounds
         */
@@ -100,7 +100,7 @@
 
        /* The conversion failed on the output
         */
-       LIBCSPLIT_CONVERSION_ERROR_OUTPUT_FAILED                = 2
+       LIBCSPLIT_CONVERSION_ERROR_OUTPUT_FAILED        = 2
 };
 
 /* The compression error codes
@@ -148,7 +148,7 @@
 
        /* Access denied
         */
-       LIBCSPLIT_IO_ERROR_ACCESS_DENIED                        = 6,
+       LIBCSPLIT_IO_ERROR_ACCESS_DENIED                = 6,
 
        /* The resource is invalid i.e. a missing file
         */
@@ -160,7 +160,7 @@
 
        /* The unlink failed
         */
-       LIBCSPLIT_IO_ERROR_UNLINK_FAILED                        = 9
+       LIBCSPLIT_IO_ERROR_UNLINK_FAILED                = 9
 };
 
 /* The input error codes
@@ -176,7 +176,7 @@
 
        /* The input contains an unsupported signature
         */
-       LIBCSPLIT_INPUT_ERROR_SIGNATURE_MISMATCH                = 2,
+       LIBCSPLIT_INPUT_ERROR_SIGNATURE_MISMATCH        = 2,
 
        /* A checksum in the input did not match
         */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcsplit-20130609/libcerror/libcerror_definitions.h 
new/libcsplit-20130904/libcerror/libcerror_definitions.h
--- old/libcsplit-20130609/libcerror/libcerror_definitions.h    2013-05-09 
09:39:11.000000000 +0200
+++ new/libcsplit-20130904/libcerror/libcerror_definitions.h    2013-09-04 
08:08:21.000000000 +0200
@@ -35,11 +35,11 @@
  */
 #else
 
-#define LIBCERROR_VERSION                              20130509
+#define LIBCERROR_VERSION                              20130904
 
 /* The libcstring version string
  */
-#define LIBCERROR_VERSION_STRING                       "20130509"
+#define LIBCERROR_VERSION_STRING                       "20130904"
 
 /* The error domains
  */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcsplit-20130609/libcerror/libcerror_error.c 
new/libcsplit-20130904/libcerror/libcerror_error.c
--- old/libcsplit-20130609/libcerror/libcerror_error.c  2013-05-09 
09:39:11.000000000 +0200
+++ new/libcsplit-20130904/libcerror/libcerror_error.c  2013-09-04 
08:08:21.000000000 +0200
@@ -290,7 +290,7 @@
                        message_size += LIBCERROR_MESSAGE_INCREMENT_SIZE;
                }
                else if( ( (size_t) print_count >= message_size )
-                     || ( ( internal_error->messages[ message_index ] )[ 
print_count ] != 0 ) )
+                     || ( ( internal_error->messages[ message_index ] )[ 
print_count ] != (libcstring_system_character_t) 0 ) )
                {
                        message_size = (size_t) ( print_count + 1 );
                        print_count  = -1;
@@ -481,13 +481,13 @@
                     internal_error->messages[ message_index ],
                     internal_error->sizes[ message_index ] ) == NULL )
                {
-                       string[ string_index ] = 0;
+                       string[ string_index ] = 
(libcstring_system_character_t) 0;
 
                        return( -1 );
                }
                string_index += internal_error->sizes[ message_index ];
 
-               string[ string_index ] = 0;
+               string[ string_index ] = (libcstring_system_character_t) 0;
 #endif /* defined( LIBCSTRING_HAVE_WIDE_SYSTEM_CHARACTER ) */
        }
        if( string_index > (size_t) INT_MAX )
@@ -631,13 +631,13 @@
                             internal_error->messages[ message_index ],
                             internal_error->sizes[ message_index ] ) == NULL )
                        {
-                               string[ string_index ] = 0;
+                               string[ string_index ] = 
(libcstring_system_character_t) 0;
 
                                return( -1 );
                        }
                        string_index += internal_error->sizes[ message_index ];
 
-                       string[ string_index ] = 0;
+                       string[ string_index ] = 
(libcstring_system_character_t) 0;
 #endif /* defined( LIBCSTRING_HAVE_WIDE_SYSTEM_CHARACTER ) */
                }
        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcsplit-20130609/libcerror/libcerror_system.c 
new/libcsplit-20130904/libcerror/libcerror_system.c
--- old/libcsplit-20130609/libcerror/libcerror_system.c 2013-05-09 
09:39:11.000000000 +0200
+++ new/libcsplit-20130904/libcerror/libcerror_system.c 2013-09-04 
08:08:21.000000000 +0200
@@ -334,7 +334,7 @@
        {
                return( -1 );
        }
-       string[ string_size - 1 ] = 0;
+       string[ string_size - 1 ] = (libcstring_system_character_t) 0;
 
        string_length = libcstring_system_string_length(
                         string );
@@ -643,7 +643,8 @@
 
        string_index = internal_error->sizes[ message_index ] - 1;
 
-       if( ( internal_error->messages[ message_index ] )[ string_index - 1 ] 
== (libcstring_system_character_t) '.' )
+       if( ( internal_error->messages[ message_index ] != NULL )
+        && ( ( internal_error->messages[ message_index ] )[ string_index - 1 ] 
== (libcstring_system_character_t) '.' ) )
        {
                string_index -= 1;
        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcsplit-20130609/libcsplit/libcsplit.rc 
new/libcsplit-20130904/libcsplit/libcsplit.rc
--- old/libcsplit-20130609/libcsplit/libcsplit.rc       2013-06-09 
13:30:32.000000000 +0200
+++ new/libcsplit-20130904/libcsplit/libcsplit.rc       2013-09-04 
08:14:23.000000000 +0200
@@ -22,12 +22,12 @@
     BLOCK "040904E4"
     BEGIN
       VALUE "FileDescription",         "Library to support cross-platform C 
split string functions\0"
-      VALUE "FileVersion",             "20130609" "\0"
+      VALUE "FileVersion",             "20130904" "\0"
       VALUE "InternalName",            "libcsplit.dll\0"
       VALUE "LegalCopyright",          "(c) 2008-2013 Joachim Metz 
<[email protected]>\0"
       VALUE "OriginalFilename",                "libcsplit.dll\0"
       VALUE "ProductName",             "libcsplit\0"
-      VALUE "ProductVersion",          "20130609" "\0"
+      VALUE "ProductVersion",          "20130904" "\0"
       VALUE "Comments",                        "For more information visit 
http://code.google.com/p/libcsplit/\0";
     END
   END
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcsplit-20130609/libcsplit/libcsplit_definitions.h 
new/libcsplit-20130904/libcsplit/libcsplit_definitions.h
--- old/libcsplit-20130609/libcsplit/libcsplit_definitions.h    2013-06-09 
13:30:32.000000000 +0200
+++ new/libcsplit-20130904/libcsplit/libcsplit_definitions.h    2013-09-04 
08:14:23.000000000 +0200
@@ -35,11 +35,11 @@
  */
 #else
 
-#define LIBCSPLIT_VERSION                      20130609
+#define LIBCSPLIT_VERSION                      20130904
 
 /* The libcsplit version string
  */
-#define LIBCSPLIT_VERSION_STRING               "20130609"
+#define LIBCSPLIT_VERSION_STRING               "20130904"
 
 #endif /* !defined( HAVE_LOCAL_LIBCSPLIT ) */
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libcsplit-20130609/libcsplit/libcsplit_narrow_string.c 
new/libcsplit-20130904/libcsplit/libcsplit_narrow_string.c
--- old/libcsplit-20130609/libcsplit/libcsplit_narrow_string.c  2013-04-04 
09:52:44.000000000 +0200
+++ new/libcsplit-20130904/libcsplit/libcsplit_narrow_string.c  2013-09-04 
08:13:30.000000000 +0200
@@ -217,8 +217,7 @@
 
                goto on_error;
        }
-       segment_end = segment_start;
-       string_end  = &( segment_start[ string_size - 1 ] );
+       string_end = &( segment_start[ string_size - 1 ] );
 
        for( segment_index = 0;
             segment_index < number_of_segments;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcsplit-20130609/libcsplit/libcsplit_wide_string.c 
new/libcsplit-20130904/libcsplit/libcsplit_wide_string.c
--- old/libcsplit-20130609/libcsplit/libcsplit_wide_string.c    2013-04-04 
09:52:56.000000000 +0200
+++ new/libcsplit-20130904/libcsplit/libcsplit_wide_string.c    2013-09-04 
08:13:42.000000000 +0200
@@ -219,8 +219,7 @@
 
                goto on_error;
        }
-       segment_end = segment_start;
-       string_end  = &( segment_start[ string_size - 1 ] );
+       string_end = &( segment_start[ string_size - 1 ] );
 
        for( segment_index = 0;
             segment_index < number_of_segments;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcsplit-20130609/libcsplit.spec 
new/libcsplit-20130904/libcsplit.spec
--- old/libcsplit-20130609/libcsplit.spec       2013-06-09 13:30:33.000000000 
+0200
+++ new/libcsplit-20130904/libcsplit.spec       2013-09-04 08:14:23.000000000 
+0200
@@ -1,5 +1,5 @@
 Name: libcsplit
-Version: 20130609
+Version: 20130904
 Release: 1
 Summary: Library to support cross-platform C split string functions
 Group: System Environment/Libraries
@@ -55,6 +55,6 @@
 %{_mandir}/man3/*
 
 %changelog
-* Sun Jun  9 2013 Joachim Metz <[email protected]> 20130609-1
+* Wed Sep  4 2013 Joachim Metz <[email protected]> 20130904-1
 - Auto-generated
 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to