Hello community, here is the log from the commit of package zziplib for openSUSE:Factory checked in at 2020-03-11 18:32:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zziplib (Old) and /work/SRC/openSUSE:Factory/.zziplib.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zziplib" Wed Mar 11 18:32:13 2020 rev:36 rq:782086 version:0.13.69 Changes: -------- --- /work/SRC/openSUSE:Factory/zziplib/zziplib.changes 2019-12-16 17:26:30.155956935 +0100 +++ /work/SRC/openSUSE:Factory/.zziplib.new.3160/zziplib.changes 2020-03-11 18:32:17.450896624 +0100 @@ -1,0 +2,7 @@ +Mon Feb 24 15:08:13 UTC 2020 - Josef Möllers <josef.moell...@suse.com> + +- Corrected control flow in zzip_mem_entry_make() to + gain correct exit status. + [bsc#1154002, bsc1154002-prevent-unnecessary-perror.patch] + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zziplib.spec ++++++ --- /var/tmp/diff_new_pack.4wKIvC/_old 2020-03-11 18:32:18.654897363 +0100 +++ /var/tmp/diff_new_pack.4wKIvC/_new 2020-03-11 18:32:18.654897363 +0100 @@ -1,7 +1,7 @@ # # spec file for package zziplib # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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 ++++++ bsc1154002-prevent-unnecessary-perror.patch ++++++ --- /var/tmp/diff_new_pack.4wKIvC/_old 2020-03-11 18:32:18.682897380 +0100 +++ /var/tmp/diff_new_pack.4wKIvC/_new 2020-03-11 18:32:18.686897383 +0100 @@ -2,12 +2,12 @@ =================================================================== --- zziplib-0.13.69.orig/bins/unzip-mem.c +++ zziplib-0.13.69/bins/unzip-mem.c -@@ -93,7 +93,7 @@ static void zzip_mem_entry_make(ZZIP_MEM +@@ -92,7 +92,7 @@ static void zzip_mem_entry_make(ZZIP_MEM + ZZIP_MEM_ENTRY* entry) { FILE* file = fopen (entry->zz_name, "wb"); - if (file) { zzip_mem_entry_pipe (disk, entry, file); fclose (file); } -- perror (entry->zz_name); -+ else perror (entry->zz_name); +- if (file) { zzip_mem_entry_pipe (disk, entry, file); fclose (file); } ++ if (file) { zzip_mem_entry_pipe (disk, entry, file); fclose (file); return; } + perror (entry->zz_name); if (status < EXIT_WARNINGS) status = EXIT_WARNINGS; } -