From 8bddf3f453ce1b6f6591825846437d6cb55f7b4c Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Tue, 16 Nov 2010 03:26:19 +0100 Subject: Fix fstat() not trying to call fxstat64() on sparc64 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. --- ChangeLog | 7 +++++++ sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1bbbceb..2f25a86 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-11-16 Petr Baudis + + [BZ #11155] + * sysdeps/unis/sysv/linux/sparc/sparc64/fxstat.c: Use i386 fxstat + with support for fxstat64 instead of generic fxstat version. + Solution by hideaki@sogetthis.com. + 2010-08-18 Mike Frysinger [BZ #11929] diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c b/sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c index 6b37477..4f219f0 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 -- cgit v1.1