aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/ia64/bits/stat.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4d717ebf35..f429ff75ea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2000-09-15 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
+ st_blocks member in stat and stat64 structs.
+ Patch by Bill Nottingham <notting@redhat.com>.
+
* iconvdata/tst-tables.sh: Add warning that GB18030 test might
take longer.
diff --git a/sysdeps/unix/sysv/linux/ia64/bits/stat.h b/sysdeps/unix/sysv/linux/ia64/bits/stat.h
index da1d35c8f1..3d938c1228 100644
--- a/sysdeps/unix/sysv/linux/ia64/bits/stat.h
+++ b/sysdeps/unix/sysv/linux/ia64/bits/stat.h
@@ -45,8 +45,8 @@ struct stat
long int __reserved1; /* Reserved for mtime.nanoseconds. */
__time_t st_ctime; /* Time of last status change. */
long int __reserved2; /* Reserved for ctime.nanoseconds. */
- __blkcnt_t st_blocks; /* Nr. 512-byte blocks allocated. */
__blksize_t st_blksize; /* Optimal block size for I/O. */
+ __blkcnt_t st_blocks; /* Nr. 512-byte blocks allocated. */
long int __unused[3];
};
@@ -69,8 +69,8 @@ struct stat64
long int __reserved1; /* Reserved for mtime.nanoseconds. */
__time_t st_ctime; /* Time of last status change. */
long int __reserved2; /* Reserved for ctime.nanoseconds. */
- __blkcnt64_t st_blocks; /* Nr. 512-byte blocks allocated. */
__blksize_t st_blksize; /* Optimal block size for I/O. */
+ __blkcnt64_t st_blocks; /* Nr. 512-byte blocks allocated. */
long int __unused[3];
};
#endif