This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

dl-fxstatat64.c on x86-64

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 Jaeger, Program Manager openSUSE
  aj@{,,} 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]