about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-08-10 12:39:48 +0000
committerAndreas Jaeger <aj@suse.de>2000-08-10 12:39:48 +0000
commit444ee64510a5eea3cd74dd4017ff84b89a0bf049 (patch)
treee72d00e25650df4657be9e311d2b2bcafdcdebfb
parent835bf8e0163b563e0d7a5cd8b435141d7a58b946 (diff)
downloadglibc-444ee64510a5eea3cd74dd4017ff84b89a0bf049.tar.gz
glibc-444ee64510a5eea3cd74dd4017ff84b89a0bf049.tar.xz
glibc-444ee64510a5eea3cd74dd4017ff84b89a0bf049.zip
Synch struct stat64 and stat with current MIPS kernel.
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/stat.h20
1 files changed, 6 insertions, 14 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/bits/stat.h b/sysdeps/unix/sysv/linux/mips/bits/stat.h
index a01e85745d..7c6f4aa822 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/stat.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/stat.h
@@ -51,11 +51,11 @@ struct stat
     long int st_pad2[2];
 #ifndef __USE_FILE_OFFSET64
     __off_t st_size;		/* Size of file, in bytes.  */
+    /* SVR4 added this extra long to allow for expansion of off_t.  */
+    long int st_pad3;
 #else
     __off64_t st_size;		/* Size of file, in bytes.  */
 #endif
-    /* SVR4 added this extra long to allow for expansion of off_t.  */
-    long int st_pad3;
     /*
      * Actually this should be timestruc_t st_atime, st_mtime and
      * st_ctime but we don't have it under Linux.
@@ -70,13 +70,10 @@ struct stat
 #ifndef __USE_FILE_OFFSET64
     __blkcnt_t st_blocks;	/* Number of 512-byte blocks allocated.  */
 #else
+    long int st_pad4;
     __blkcnt64_t st_blocks;	/* Number of 512-byte blocks allocated.  */
 #endif
-    char st_fstype[16];		/* Filesystem type name */
-    long int st_pad4[8];
-    /* Linux specific fields */
-    unsigned int st_flags;
-    unsigned int st_gen;
+    long int st_pad4[14];
   };
 
 #ifdef __USE_LARGEFILE64
@@ -92,8 +89,6 @@ struct stat64
     unsigned long int st_rdev;	/* Device number, if device.  */
     long int st_pad2[2];
     __off64_t st_size;		/* Size of file, in bytes.  */
-    /* SVR4 added this extra long to allow for expansion of off_t.  */
-    long int st_pad3;
     /*
      * Actually this should be timestruc_t st_atime, st_mtime and
      * st_ctime but we don't have it under Linux.
@@ -105,12 +100,9 @@ struct stat64
     __time_t st_ctime;		/* Time of last status change.  */
     long int __reserved2;
     __blksize_t st_blksize;	/* Optimal block size for I/O.  */
+    long int st_pad3;
     __blkcnt64_t st_blocks;	/* Number of 512-byte blocks allocated.  */
-    char st_fstype[16];		/* Filesystem type name */
-    long int st_pad4[8];
-    /* Linux specific fields */
-    unsigned int st_flags;
-    unsigned int st_gen;
+    long int st_pad4[14];
   };
 #endif