diff options
author | Petr Baudis <pasky@ucw.cz> | 2010-11-16 03:26:19 +0100 |
---|---|---|
committer | Petr Baudis <pasky@suse.cz> | 2010-11-16 04:15:35 +0100 |
commit | 8bddf3f453ce1b6f6591825846437d6cb55f7b4c (patch) | |
tree | 044f484eabdfd1a7109c9a4c14f9ebac32275405 /sysdeps/unix | |
parent | fd5ba40413efc0c95c0754341a76ada944aa1d5f (diff) | |
download | glibc-8bddf3f453ce1b6f6591825846437d6cb55f7b4c.tar.gz |
Fix fstat() not trying to call fxstat64() on sparc64pasky/fixes
sparc64 fxstat implementation should follow the same code path as on
i386, first trying fxstat64() and falling back to fxstat() only when
it is not available. Otherwise, nanosecond times resolution will not
be available.
sparc64 is unlike other 64-bit architectures in that fxstat64() has
not been historically always available in the kernel.
Solution by hideaki@sogetthis.com.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c b/sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c index 6b374777b8..4f219f0b9d 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c @@ -1 +1 @@ -#include "../../fxstat.c" +#include <sysdeps/unix/sysv/linux/i386/fxstat.c> |