This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: dl-fxstatat64.c on x86-64
On Tuesday, June 14, 2011 15:33:38 Andreas Schwab wrote:
> Andreas Jaeger <aj@novell.com> writes:
> > So, what is the best way to handle this on 64-bit platforms?
>
> 2011-06-14 Andreas Schwab <schwab@redhat.com>
>
> * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
> ---
> .../unix/sysv/linux/wordsize-64/dl-fxstatat64.c | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
> create mode 100644 sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
>
> diff --git a/sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
> b/sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c new file mode 100644
> index 0000000..339e5f4
> --- /dev/null
> +++ b/sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
> @@ -0,0 +1,6 @@
> +/* In this implementation we do not really care whether the call fails
> + because of missing kernel support since we do not even call the
> + function in this case. */
> +#undef __ASSUME_ATFCTS
> +#define __ASSUME_ATFCTS 1
> +#include "fxstatat.c"
Thanks, this looks fine and works for me,
Andreas
--
Andreas Jaeger, Program Manager openSUSE
aj@{novell.com,suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126