about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/i386/xstat.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-01-27 00:57:29 +0000
committerUlrich Drepper <drepper@redhat.com>2000-01-27 00:57:29 +0000
commit9dbcebe8c043fac8138f18622bb28ce29f309a19 (patch)
tree09234ed2b9786fb7da0da8bc42abf3d345a86e44 /sysdeps/unix/sysv/linux/i386/xstat.c
parent4b1c1a6ffaf2feba6232dff7a5ceef4ad2d9c482 (diff)
downloadglibc-9dbcebe8c043fac8138f18622bb28ce29f309a19.tar.gz
glibc-9dbcebe8c043fac8138f18622bb28ce29f309a19.tar.xz
glibc-9dbcebe8c043fac8138f18622bb28ce29f309a19.zip
Update.
2000-01-26  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getresgid):
	Fix a typo.

2000-01-26  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Avoid warning
	about unitialised variable kbuf.
	* sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
	* sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/xstat.c')
-rw-r--r--sysdeps/unix/sysv/linux/i386/xstat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/xstat.c b/sysdeps/unix/sysv/linux/i386/xstat.c
index 7dd83550de..7f71a11d0c 100644
--- a/sysdeps/unix/sysv/linux/i386/xstat.c
+++ b/sysdeps/unix/sysv/linux/i386/xstat.c
@@ -47,7 +47,9 @@ extern int __have_no_stat64;
 int
 __xstat (int vers, const char *name, struct stat *buf)
 {
+#if __ASSUME_STAT64_SYSCALL == 0
   struct kernel_stat kbuf;
+#endif
   int result;
 
   if (vers == _STAT_VER_KERNEL)