r2605 - in glibc-package/branches/glibc-2.7/debian/patches: . any
Author: madcoder
Date: 2007-10-27 08:30:12 +0000 (Sat, 27 Oct 2007)
New Revision: 2605
Modified:
glibc-package/branches/glibc-2.7/debian/patches/any/local-ldconfig-fsync.diff
glibc-package/branches/glibc-2.7/debian/patches/series
Log:
Reenable local-ldoconfig-fsync
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Modified: glibc-package/branches/glibc-2.7/debian/patches/any/local-ldconfig-fsync.diff
===================================================================
--- glibc-package/branches/glibc-2.7/debian/patches/any/local-ldconfig-fsync.diff 2007-10-27 02:58:50 UTC (rev 2604)
+++ glibc-package/branches/glibc-2.7/debian/patches/any/local-ldconfig-fsync.diff 2007-10-27 08:30:12 UTC (rev 2605)
@@ -1,10 +1,10 @@
---- glibc-2.6.orig/elf/cache.c
-+++ glibc-2.6/elf/cache.c
-@@ -441,6 +441,7 @@
- if (write (fd, strings, total_strlen) != (ssize_t) total_strlen)
+--- glibc-2.7.orig/elf/cache.c
++++ glibc-2.7/elf/cache.c
+@@ -426,6 +426,7 @@
+ }
+
+ if (write (fd, strings, total_strlen) != (ssize_t) total_strlen
++ || fsync (fd)
+ || close (fd))
error (EXIT_FAILURE, errno, _("Writing of cache data failed"));
-+ fsync(fd);
- close (fd);
-
- /* Make sure user can always read cache file */
Modified: glibc-package/branches/glibc-2.7/debian/patches/series
===================================================================
--- glibc-package/branches/glibc-2.7/debian/patches/series 2007-10-27 02:58:50 UTC (rev 2604)
+++ glibc-package/branches/glibc-2.7/debian/patches/series 2007-10-27 08:30:12 UTC (rev 2605)
@@ -122,7 +122,7 @@
any/local-ldd.diff -p0
any/local-ldso-disable-hwcap.diff -p0
any/local-ldconfig.diff -p0
-#any/local-ldconfig-fsync.diff
+any/local-ldconfig-fsync.diff
# any/local-ldconfig-timestamps.diff -p0
any/local-libgcc-compat-main.diff -p0
any/local-libgcc-compat-ports.diff -p0
Reply to: