summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/bits
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-02-10 11:33:49 +0000
committerUlrich Drepper <drepper@redhat.com>1999-02-10 11:33:49 +0000
commit8286ad8e13a914fae4a36b3b7a2329367bb53e8a (patch)
tree06bc722afd0a097bd4bc8c2be736a7260aeda3b9 /sysdeps/unix/sysv/linux/bits
parent5512461f6aae783a762057838763cb7240cb509f (diff)
downloadglibc-8286ad8e13a914fae4a36b3b7a2329367bb53e8a.tar.gz
glibc-8286ad8e13a914fae4a36b3b7a2329367bb53e8a.tar.xz
glibc-8286ad8e13a914fae4a36b3b7a2329367bb53e8a.zip
Update.
1999-02-10  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/kernel_stat.h: Define _NO_LFS___PAD1.
	* sysdeps/unix/sysv/linux/xstatconv.c (xstat64_conv): Don't initialize
	__pad1 if _NO_LFS___PAD1 is defined.
	* sysdeps/unix/sysv/linux/bits/stat.h: Remove __pad1 from stat64
	definition.
	* sysdeps/unix/sysv/linux/bits/types.h: Change __ino64_t to 64 bits.
	* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits')
-rw-r--r--sysdeps/unix/sysv/linux/bits/stat.h6
-rw-r--r--sysdeps/unix/sysv/linux/bits/types.h6
2 files changed, 5 insertions, 7 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/stat.h b/sysdeps/unix/sysv/linux/bits/stat.h
index c175668a06..ff7ffcf2ee 100644
--- a/sysdeps/unix/sysv/linux/bits/stat.h
+++ b/sysdeps/unix/sysv/linux/bits/stat.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 95, 96, 97, 98, 99 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -36,8 +36,8 @@
 struct stat
   {
     __dev_t st_dev;			/* Device.  */
-    unsigned short int __pad1;
 #ifndef __USE_FILE_OFFSET64
+    unsigned short int __pad1;
     __ino_t st_ino;			/* File serial number.	*/
 #else
     __ino64_t st_ino;			/* File serial number.	*/
@@ -74,8 +74,6 @@ struct stat
 struct stat64
   {
     __dev_t st_dev;			/* Device.  */
-    unsigned short int __pad1;
-
     __ino64_t st_ino;			/* File serial number.	*/
     __mode_t st_mode;			/* File mode.  */
     __nlink_t st_nlink;			/* Link count.  */
diff --git a/sysdeps/unix/sysv/linux/bits/types.h b/sysdeps/unix/sysv/linux/bits/types.h
index 44d610efb7..3ec74becbc 100644
--- a/sysdeps/unix/sysv/linux/bits/types.h
+++ b/sysdeps/unix/sysv/linux/bits/types.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 94, 95, 96, 97, 98 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,94,95,96,97,98,99 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -103,7 +103,7 @@ typedef struct
        from the global namespace.  */
 #ifdef __USE_XOPEN
     __fd_mask fds_bits[__FD_SETSIZE / __NFDBITS];
-# define __FDS_BITS(set) ((set)->fds_bits) 
+# define __FDS_BITS(set) ((set)->fds_bits)
 #else
     __fd_mask __fds_bits[__FD_SETSIZE / __NFDBITS];
 # define __FDS_BITS(set) ((set)->__fds_bits)
@@ -132,7 +132,7 @@ typedef __u_long __fsfilcnt_t;
 typedef __u_quad_t __fsfilcnt64_t;
 
 /* Type of file serial numbers.  */
-typedef __u_long __ino64_t;
+typedef __u_quad_t __ino64_t;
 
 /* Type of file sizes and offsets.  */
 typedef __loff_t __off64_t;