|
|
147e83 |
Superseded by this upstream patch:
|
|
|
147e83 |
|
|
|
147e83 |
commit a06b40cdf5ba0d2ab4f9b4c77d21e45ff284fac7
|
|
|
147e83 |
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
|
|
|
147e83 |
Date: Tue May 26 22:27:23 2015 +0530
|
|
|
147e83 |
|
|
|
147e83 |
struct stat is not posix conform
|
|
|
147e83 |
|
|
|
147e83 |
Index: glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/generic/bits/stat.h
|
|
|
147e83 |
===================================================================
|
|
|
147e83 |
--- glibc-2.17-c758a686.orig/ports/sysdeps/unix/sysv/linux/generic/bits/stat.h
|
|
|
147e83 |
+++ glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/generic/bits/stat.h
|
|
|
147e83 |
@@ -66,7 +66,7 @@ struct stat
|
|
|
147e83 |
__blksize_t st_blksize; /* Optimal block size for I/O. */
|
|
|
147e83 |
int __pad2;
|
|
|
147e83 |
__field64(__blkcnt_t, __blkcnt64_t, st_blocks); /* 512-byte blocks */
|
|
|
147e83 |
-#ifdef __USE_MISC
|
|
|
147e83 |
+#if defined __USE_MISC || defined __USE_XOPEN2K8
|
|
|
147e83 |
/* Nanosecond resolution timestamps are stored in a format
|
|
|
147e83 |
equivalent to 'struct timespec'. This is the type used
|
|
|
147e83 |
whenever possible but the Unix namespace rules do not allow the
|
|
|
147e83 |
@@ -107,7 +107,7 @@ struct stat64
|
|
|
147e83 |
__blksize_t st_blksize; /* Optimal block size for I/O. */
|
|
|
147e83 |
int __pad2;
|
|
|
147e83 |
__blkcnt64_t st_blocks; /* Nr. 512-byte blocks allocated. */
|
|
|
147e83 |
-#ifdef __USE_MISC
|
|
|
147e83 |
+#if defined __USE_MISC || defined __USE_XOPEN2K8
|
|
|
147e83 |
/* Nanosecond resolution timestamps are stored in a format
|
|
|
147e83 |
equivalent to 'struct timespec'. This is the type used
|
|
|
147e83 |
whenever possible but the Unix namespace rules do not allow the
|
|
|
147e83 |
Index: glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/ia64/bits/stat.h
|
|
|
147e83 |
===================================================================
|
|
|
147e83 |
--- glibc-2.17-c758a686.orig/ports/sysdeps/unix/sysv/linux/ia64/bits/stat.h
|
|
|
147e83 |
+++ glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/ia64/bits/stat.h
|
|
|
147e83 |
@@ -41,7 +41,7 @@ struct stat
|
|
|
147e83 |
int pad0;
|
|
|
147e83 |
__dev_t st_rdev; /* Device number, if device. */
|
|
|
147e83 |
__off_t st_size; /* Size of file, in bytes. */
|
|
|
147e83 |
-#ifdef __USE_MISC
|
|
|
147e83 |
+#if defined __USE_MISC || defined __USE_XOPEN2K8
|
|
|
147e83 |
/* Nanosecond resolution timestamps are stored in a format
|
|
|
147e83 |
equivalent to 'struct timespec'. This is the type used
|
|
|
147e83 |
whenever possible but the Unix namespace rules do not allow the
|
|
|
147e83 |
@@ -80,7 +80,7 @@ struct stat64
|
|
|
147e83 |
int pad0;
|
|
|
147e83 |
__dev_t st_rdev; /* Device number, if device. */
|
|
|
147e83 |
__off_t st_size; /* Size of file, in bytes. */
|
|
|
147e83 |
-#ifdef __USE_MISC
|
|
|
147e83 |
+#if defined __USE_MISC || defined __USE_XOPEN2K8
|
|
|
147e83 |
/* Nanosecond resolution timestamps are stored in a format
|
|
|
147e83 |
equivalent to 'struct timespec'. This is the type used
|
|
|
147e83 |
whenever possible but the Unix namespace rules do not allow the
|