Hello community, here is the log from the commit of package sed for openSUSE:Factory checked in at 2014-07-10 08:24:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sed (Old) and /work/SRC/openSUSE:Factory/.sed.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "sed" Changes: -------- --- /work/SRC/openSUSE:Factory/sed/sed.changes 2013-04-07 14:26:50.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.sed.new/sed.changes 2014-07-10 09:32:08.000000000 +0200 @@ -1,0 +2,7 @@ +Tue Jun 3 09:48:33 UTC 2014 - tcech@suse.cz + +- sed-dont_close_twice.patch (bnc#880817) + when closing fails, file is attempted to be closed again + patch based of Neil Brown's recommendation + +------------------------------------------------------------------- New: ---- sed-dont_close_twice.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sed.spec ++++++ --- /var/tmp/diff_new_pack.JKGBhj/_old 2014-07-10 09:32:09.000000000 +0200 +++ /var/tmp/diff_new_pack.JKGBhj/_new 2014-07-10 09:32:09.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package sed # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,8 @@ Source: ftp://ftp.gnu.org/gnu/sed/%{name}-%{version}.tar.bz2 Source1: %{name}-%{version}.tar.bz2.sig Source2: %{name}.keyring +# PATCH-FIX-SLE sed-dont_close_twice.patch bnc@880817 tcech@suse.cz -- Fix double close. +Patch: sed-dont_close_twice.patch # Use rpmbuild -D 'VERIFY_SIG 1' to verify signature during build or run one-shot check by "gpg-offline --verify --package=sed sed-*.sig". %if 0%{?VERIFY_SIG} BuildRequires: gpg-offline @@ -47,6 +49,7 @@ %gpg_verify %{S:1} %endif %setup -q +%patch -p1 %build %define warn_flags -Wall -Wstrict-prototypes -Wpointer-arith -Wformat-security ++++++ sed-dont_close_twice.patch ++++++ http://lists.gnu.org/archive/html/bug-gnu-utils/2014-06/msg00000.html Index: sed-4.2.2/sed/utils.c =================================================================== --- sed-4.2.2.orig/sed/utils.c +++ sed-4.2.2/sed/utils.c @@ -298,8 +298,8 @@ ck_fclose(stream) { if (!stream || stream == cur->fp) { - do_ck_fclose (cur->fp); prev->link = cur->link; + do_ck_fclose (cur->fp); free(cur->name); free(cur); } -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org