dl-fxstatat64.c on x86-64
Andreas Jaeger
aj@novell.com
Tue Jun 14 12:31:00 GMT 2011
I noticed the following warning on x86-64 compiling dl-fxstatat64.c:
In file included from ../sysdeps/unix/sysv/linux/dl-fxstatat64.c:6:0:
../sysdeps/unix/sysv/linux/fxstatat64.c: In function ‘__fxstatat64’:
../sysdeps/unix/sysv/linux/fxstatat64.c:56:7: warning: unused variable ‘result’ [-Wunused-variable]
../sysdeps/unix/sysv/linux/fxstatat64.c:172:1: warning: control reaches end of non-void function [-Wreturn-type]
Looking further, we have sysdeps/unix/sysv/linux/wordsize-64/fxstatat64.c
- why is that file not used in this case (which only says to use fxstatat)?
So, what is the best way to handle this on 64-bit platforms?
We might have a similar problem with dl-openat64.c.
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
More information about the Libc-alpha
mailing list