summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/xstatconv.c
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/xstatconv.c
parent5512461f6aae783a762057838763cb7240cb509f (diff)
downloadglibc-8286ad8e13a914fae4a36b3b7a2329367bb53e8a.tar.gz
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/xstatconv.c')
-rw-r--r--sysdeps/unix/sysv/linux/xstatconv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/xstatconv.c b/sysdeps/unix/sysv/linux/xstatconv.c
index 0a8e0c47f9..0f841edcd6 100644
--- a/sysdeps/unix/sysv/linux/xstatconv.c
+++ b/sysdeps/unix/sysv/linux/xstatconv.c
@@ -1,5 +1,5 @@
/* Convert between the kernel's `struct stat' format, and libc's.
- Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1991, 1995, 1996, 1997, 1999 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
@@ -96,7 +96,7 @@ xstat64_conv (int vers, struct kernel_stat *kbuf, void *ubuf)
/* Convert to current kernel version of `struct stat64'. */
buf->st_dev = kbuf->st_dev;
-#ifdef _HAVE___PAD1
+#if defined _HAVE___PAD1 && !defined _NO_LFS___PAD1
buf->__pad1 = 0;
#endif
buf->st_ino = kbuf->st_ino;