[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r5165 - in glibc-package/trunk/debian: . patches patches/sparc



Author: aurel32
Date: 2012-02-16 08:46:12 +0000 (Thu, 16 Feb 2012)
New Revision: 5165

Added:
   glibc-package/trunk/debian/patches/sparc/cvs-fcntl_h.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * patches/sparc/cvs-fcntl_h.diff: new patch from upstream to define 
    O_FSYNC on sparc.  Closes: #577577.



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2012-02-15 21:39:54 UTC (rev 5164)
+++ glibc-package/trunk/debian/changelog	2012-02-16 08:46:12 UTC (rev 5165)
@@ -17,6 +17,8 @@
     file using the latest build as a reference.
   * patches/mips/cvs-dlopen-lazy.diff: new patch from upstream to resolve
     race between dlopen and lazy binding on MIPS.
+  * patches/sparc/cvs-fcntl_h.diff: new patch from upstream to define 
+    O_FSYNC on sparc.  Closes: #577577.
 
  -- Aurelien Jarno <aurel32@debian.org>  Sun, 05 Feb 2012 11:12:52 +0100
 

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series	2012-02-15 21:39:54 UTC (rev 5164)
+++ glibc-package/trunk/debian/patches/series	2012-02-16 08:46:12 UTC (rev 5165)
@@ -220,6 +220,7 @@
 sparc/submitted-bzero.diff
 sparc/cvs-ifunc.diff
 sparc/cvs-rlimits.diff
+sparc/cvs-fcntl_h.diff
 
 all/local-alias-UTF-8.diff
 all/local-alias-et_EE.diff

Added: glibc-package/trunk/debian/patches/sparc/cvs-fcntl_h.diff
===================================================================
--- glibc-package/trunk/debian/patches/sparc/cvs-fcntl_h.diff	                        (rev 0)
+++ glibc-package/trunk/debian/patches/sparc/cvs-fcntl_h.diff	2012-02-16 08:46:12 UTC (rev 5165)
@@ -0,0 +1,17 @@
+2012-02-16  David S. Miller  <davem@davemloft.net>
+ 
+	[BZ #11494]
+	* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
+
+diff --git a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
+index 7f6c8cd..7ce09da 100644
+--- a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
++++ b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
+@@ -39,6 +39,7 @@
+ #define O_TRUNC		0x0400	/* not fcntl */
+ #define O_EXCL		0x0800	/* not fcntl */
+ #define O_SYNC		0x802000
++#define O_FSYNC		O_SYNC
+ #define O_NONBLOCK	0x4000
+ #define O_NDELAY	(0x0004 | O_NONBLOCK)
+ #define O_NOCTTY	0x8000	/* not fcntl */


Reply to: