This is the mail archive of the libc-alpha@sourceware.org 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]

Re: [PING][PATCH] Warn about using _ino_t without -D_FILE_OFFSET_BITS=64.


> That package is free of the problem; my script gave its include files a 
> clean bill of health.  In fact I'm puzzled why you mentioned it, as its 
> include files don't use off_t, off64_t, or any of the other types (with 
> or without "64") affected by the problem.

I brought it up because it's a case of a library (libelf) that did have an
API whose ABI was (accidentally) dependent on the _FILE_OFFSET_BITS
setting.  The library itself was compiled with -D_FILE_OFFSET_BITS=64 and
so on 32-bit platforms it required that its users be compiled that way too.
We fixed it back in 2007.  I misremembered and thought we'd used off64_t.
In fact it uses loff_t.  The log entry I wrote at the time said that only
loff_t (not off64_t) was defined by <sys/types.h> in all circumstances.


Thanks,
Roland


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