r3647 - in glibc-package/trunk/debian: . patches/alpha
Author: aurel32
Date: 2009-07-25 11:50:52 +0000 (Sat, 25 Jul 2009)
New Revision: 3647
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/alpha/submitted-fdatasync.diff
Log:
* patches/alpha/submitted-fdatasync.diff: update to keep fdatasync() as
a cancellation point. Closes: #528325.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2009-07-24 18:45:03 UTC (rev 3646)
+++ glibc-package/trunk/debian/changelog 2009-07-25 11:50:52 UTC (rev 3647)
@@ -3,6 +3,8 @@
* kfreebsd/local-sysdeps.diff: update to revision 2670 (from glibc-bsd).
* any/submitted-signalfd-eventfd.diff: new patch to support < 2.6.27
kernels in eventfd/signalfd. Closes: #537509.
+ * patches/alpha/submitted-fdatasync.diff: update to keep fdatasync() as
+ a cancellation point. Closes: #528325.
-- Aurelien Jarno <aurel32@debian.org> Mon, 20 Jul 2009 20:33:36 +0200
Modified: glibc-package/trunk/debian/patches/alpha/submitted-fdatasync.diff
===================================================================
--- glibc-package/trunk/debian/patches/alpha/submitted-fdatasync.diff 2009-07-24 18:45:03 UTC (rev 3646)
+++ glibc-package/trunk/debian/patches/alpha/submitted-fdatasync.diff 2009-07-25 11:50:52 UTC (rev 3647)
@@ -1,9 +1,11 @@
-2007-11-26 Aurelien Jarno <aurelien@aurel32.net>
+2009-07-25 Aurelien Jarno <aurelien@aurel32.net>
- * sysdeps/unix/sysv/linux/kernel-features.h: define
+ * sysdeps/unix/sysv/linux/kernel-features.h: define
__ASSUME_FDATASYNC.
- * sysdeps/unix/sysv/linux/fdatasync.c: New file.
- * sysdeps/unix/sysv/linux/syscalls.list: Remove fdatasync.
+ * sysdeps/unix/sysv/linux/fdatasync.c: New file.
+ * sysdeps/unix/sysv/linux/Makefile: compile fdatasync.c with
+ -fexceptions.
+ * sysdeps/unix/sysv/linux/syscalls.list: Remove fdatasync.
---
sysdeps/unix/sysv/linux/fdatasync.c | 69 ++++++++++++++++++++++++++++++
@@ -108,3 +110,14 @@
flock - flock i:ii __flock flock
fork - fork i: __libc_fork __fork fork
get_kernel_syms EXTRA get_kernel_syms i:p get_kernel_syms
+--- a/sysdeps/unix/sysv/linux/Makefile
++++ b/sysdeps/unix/sysv/linux/Makefile
+@@ -20,6 +20,7 @@ sysdep_routines += sysctl clone llseek umount umount2 readahead \
+ setfsuid setfsgid makedev epoll_pwait signalfd \
+ eventfd eventfd_read eventfd_write
+
++CFLAGS-fdatasync.c = -fexceptions
+ CFLAGS-gethostid.c = -fexceptions
+
+ sysdep_headers += sys/mount.h sys/acct.h sys/sysctl.h \
+
Reply to: