Hello community,

here is the log from the commit of package zlib for openSUSE:Factory checked in 
at 2011-11-14 13:51:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zlib (Old)
 and      /work/SRC/openSUSE:Factory/.zlib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zlib", Maintainer is "mvysko...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/zlib/zlib.changes        2011-10-04 
18:16:14.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.zlib.new/zlib.changes   2011-11-14 
13:51:49.000000000 +0100
@@ -1,0 +2,9 @@
+Sun Nov 13 05:52:57 UTC 2011 - crrodrig...@opensuse.org
+
+-open file descriptors with O_CLOEXEC but only in theĀ·
+  gzopen() case, not in gzdopen() as that would change
+  the calling application' semantics.
+  It is responsability of the caller to ensure O_CLOEXEC is used
+  in such scenario.
+
+-------------------------------------------------------------------

New:
----
  zlib-ocloexec.patch

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

Other differences:
------------------
++++++ zlib.spec ++++++
--- /var/tmp/diff_new_pack.4Q7SrP/_old  2011-11-14 13:51:50.000000000 +0100
+++ /var/tmp/diff_new_pack.4Q7SrP/_new  2011-11-14 13:51:50.000000000 +0100
@@ -44,6 +44,7 @@
 # PATCH-FIX-UPSTREAM: bnc#679345 --return NULL checks from 1.2.3 removed by 
upstream
 Patch3:         zlib-1.2.5-gzopen-null-check.patch
 Patch4:         zlib-adler-target-attr.patch 
+Patch5:         zlib-ocloexec.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  pkgconfig
 
@@ -90,6 +91,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5
 
 %build
 export LDFLAGS="-Wl,-z,relro,-z,now"

++++++ zlib-ocloexec.patch ++++++
--- gzlib.c.orig
+++ gzlib.c
@@ -167,6 +167,7 @@ local gzFile gz_open(path, fd, mode)
 #ifdef O_BINARY
             O_BINARY |
 #endif
+            O_CLOEXEC |
             (state->mode == GZ_READ ?
                 O_RDONLY :
                 (O_WRONLY | O_CREAT | (
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to