Hello community,

here is the log from the commit of package glibc for openSUSE:Factory
checked in at Mon Aug 22 15:14:28 CEST 2011.



--------
--- glibc/glibc.changes 2011-08-18 14:04:54.000000000 +0200
+++ /mounts/work_src_done/STABLE/glibc/glibc.changes    2011-08-19 
15:59:46.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Aug 19 13:26:11 UTC 2011 - [email protected]
+
+- Fix fopen("non-existing-file", "re") errno [bnc#713146].
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  minmem

New:
----
  fopen-close-exec.patch

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

Other differences:
------------------
++++++ glibc.spec ++++++
--- /var/tmp/diff_new_pack.0jxghs/_old  2011-08-22 14:45:43.000000000 +0200
+++ /var/tmp/diff_new_pack.0jxghs/_new  2011-08-22 14:45:43.000000000 +0200
@@ -79,7 +79,7 @@
 %endif
 AutoReqProv:    on
 Version:        2.14
-Release:        1
+Release:        3
 Url:            http://www.gnu.org/software/libc/libc.html
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source:         glibc-%{version}-4eddf93f5cc2.tar.bz2
@@ -196,6 +196,8 @@
 Patch67:        glibc-revert-fseek-on-fclose.diff
 # PATCH-FIX-OPENSUSE Fix crash (access-after-free) in dl_lookup_x bnc#703140 
[email protected]
 Patch68:        glibc-fix-lookup-crash.patch
+# PATCH-FIX-UPSTREAM Fix fopen("non-existing-file", "re") errno bnc#713146 
[email protected]
+Patch69:        fopen-close-exec.patch
 # PATCH-FEATURE-OPENSUSE -- add sha support to crypt_blowfish [email protected]
 Patch80:        crypt_blowfish-1.1-sha.diff
 
@@ -426,6 +428,7 @@
 %patch66 -p1
 %patch67 -p1
 %patch68 -p1
+%patch69 -p1
 
 #
 # Inconsistency detected by ld.so: dl-close.c: 719: _dl_close: Assertion 
`map->l_init_called' failed!


++++++ fopen-close-exec.patch ++++++
Index: glibc-2.14/libio/fileops.c
===================================================================
--- glibc-2.14.orig/libio/fileops.c
+++ glibc-2.14/libio/fileops.c
@@ -338,7 +338,8 @@ _IO_new_file_fopen (fp, filename, mode,
                          is32not64);
 
 #ifndef __ASSUME_O_CLOEXEC
-  if ((fp->_flags2 & _IO_FLAGS2_CLOEXEC) != 0 && __have_o_cloexec <= 0)
+  if ((result != NULL)
+      && (fp->_flags2 & _IO_FLAGS2_CLOEXEC) != 0 && __have_o_cloexec <= 0)
     {
       int fd = _IO_fileno (fp);
       if (__have_o_cloexec == 0)

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



Remember to have fun...

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

Reply via email to