This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, roland/stat64, created. glibc-2.16-ports-merge-132-g75f99c5


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, roland/stat64 has been created
        at  75f99c5145faec5e3fc4b1c9f75a7e2588df28b1 (commit)

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=75f99c5145faec5e3fc4b1c9f75a7e2588df28b1

commit 75f99c5145faec5e3fc4b1c9f75a7e2588df28b1
Author: Roland McGrath <roland@hack.frob.com>
Date:   Tue Aug 7 13:08:22 2012 -0700

    foo

diff --git a/ChangeLog b/ChangeLog
index 18fb836..edb09bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2012-08-07  Roland McGrath  <roland@hack.frob.com>
+
+	* bits/typesizes.h
+	[__LP64__] (__BLKCNT_T_MATCHES_BLKCNT64_T): New macro.
+	* sysdeps/unix/sysv/linux/s390/bits/typesizes.h
+	[__s390x__] (__BLKCNT_T_MATCHES_BLKCNT64_T): New macro.
+	* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
+	[defined __arch64__ || defined __sparcv9]
+	(__BLKCNT_T_MATCHES_BLKCNT64_T): New macro.
+	* sysdeps/unix/sysv/linux/x86/bits/typesizes.h
+	[__x86_64__] (__BLKCNT_T_MATCHES_BLKCNT64_T): New macro.
+	* bits/stat.h
+	[defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
+	(_STAT_MATCHES_STAT64): New macro.
+
 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
diff --git a/bits/stat.h b/bits/stat.h
index b9495c5..c90450a 100644
--- a/bits/stat.h
+++ b/bits/stat.h
@@ -100,4 +100,9 @@ struct stat64
   };
 #endif
 
+#if defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T
+/* Inform libc code that these two types are effectively identical.  */
+# define _STAT_MATCHES_STAT64	1
+#endif
+
 #endif	/* bits/stat.h */
diff --git a/bits/typesizes.h b/bits/typesizes.h
index c3debd0..7779e9c 100644
--- a/bits/typesizes.h
+++ b/bits/typesizes.h
@@ -69,6 +69,9 @@
 
 /* Same for ino_t and ino64_t.  */
 # define __INO_T_MATCHES_INO64_T	1
+
+/* Same for blkcnt_t and blkcnt64_t.  */
+# define __BLKCNT_T_MATCHES_BLKCNT64_T
 #endif
 
 /* Number of descriptors that can fit in an `fd_set'.  */
diff --git a/ports/ChangeLog.linux-generic b/ports/ChangeLog.linux-generic
index b5774de..8519a3c 100644
--- a/ports/ChangeLog.linux-generic
+++ b/ports/ChangeLog.linux-generic
@@ -1,3 +1,8 @@
+2012-08-07  Roland McGrath  <roland@hack.frob.com>
+
+	* sysdeps/unix/sysv/linux/generic/bits/typesizes.h
+	[__LP64__] (__BLKCNT_T_MATCHES_BLKCNT64_T): New macro.
+
 2012-08-02  Roland McGrath  <roland@hack.frob.com>
 
 	* sysdeps/unix/sysv/linux/generic/bits/typesizes.h
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/bits/stat.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/stat.h
index 68e5989..d2ba065 100644
--- a/ports/sysdeps/unix/sysv/linux/alpha/bits/stat.h
+++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/stat.h
@@ -117,6 +117,9 @@ struct stat64
   };
 #endif
 
+/* Inform libc code that these two types are effectively identical.  */
+#define _STAT_MATCHES_STAT64	1
+
 #undef __ST_TIME
 
 /* Tell code we have these members.  */
diff --git a/ports/sysdeps/unix/sysv/linux/generic/bits/typesizes.h b/ports/sysdeps/unix/sysv/linux/generic/bits/typesizes.h
index d7d2a5c..b36a747 100644
--- a/ports/sysdeps/unix/sysv/linux/generic/bits/typesizes.h
+++ b/ports/sysdeps/unix/sysv/linux/generic/bits/typesizes.h
@@ -70,6 +70,9 @@
 
 /* Same for ino_t and ino64_t.  */
 # define __INO_T_MATCHES_INO64_T	1
+
+/* Same for blkcnt_t and blkcnt64_t.  */
+# define __BLKCNT_T_MATCHES_BLKCNT64_T
 #endif
 
 /* Number of descriptors that can fit in an `fd_set'.  */
diff --git a/sysdeps/unix/sysv/linux/s390/bits/typesizes.h b/sysdeps/unix/sysv/linux/s390/bits/typesizes.h
index b630488..e360725 100644
--- a/sysdeps/unix/sysv/linux/s390/bits/typesizes.h
+++ b/sysdeps/unix/sysv/linux/s390/bits/typesizes.h
@@ -75,6 +75,9 @@
 
 /* Same for ino_t and ino64_t.  */
 # define __INO_T_MATCHES_INO64_T	1
+
+/* Same for blkcnt_t and blkcnt64_t.  */
+# define __BLKCNT_T_MATCHES_BLKCNT64_T
 #endif
 
 /* Number of descriptors that can fit in an `fd_set'.  */
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/typesizes.h b/sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
index e55d642..da0399f 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
@@ -69,6 +69,9 @@
 
 /* Same for ino_t and ino64_t.  */
 # define __INO_T_MATCHES_INO64_T	1
+
+/* Same for blkcnt_t and blkcnt64_t.  */
+# define __BLKCNT_T_MATCHES_BLKCNT64_T
 #endif
 
 /* Number of descriptors that can fit in an `fd_set'.  */
diff --git a/sysdeps/unix/sysv/linux/x86/bits/typesizes.h b/sysdeps/unix/sysv/linux/x86/bits/typesizes.h
index 397e867..ee816a5 100644
--- a/sysdeps/unix/sysv/linux/x86/bits/typesizes.h
+++ b/sysdeps/unix/sysv/linux/x86/bits/typesizes.h
@@ -81,6 +81,9 @@
 
 /* Same for ino_t and ino64_t.  */
 # define __INO_T_MATCHES_INO64_T	1
+
+/* Same for blkcnt_t and blkcnt64_t.  */
+# define __BLKCNT_T_MATCHES_BLKCNT64_T
 #endif
 
 /* Number of descriptors that can fit in an `fd_set'.  */

-----------------------------------------------------------------------


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]