This is the mail archive of the libc-alpha@sources.redhat.com 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: PATCH: Fix struct stat [__USE_FILE_OFFSET64] insysdeps/unix/sysv/linux/bits/stat.h


Hans-Peter Nilsson <hans-peter.nilsson@axis.com> writes:

|> Hi.
|> 
|> This bug is visible for programs compiled with
|> -D_FILE_OFFSET_BITS=64 on platforms where the ABI says there is
|> no alignment-padding between structure elements.  AFAIK only
|> cris-axis-linux-gnu matches that description.  The bug causes
|> struct stat and struct stat64 to have different layout.

How about using your own bits/stat.h?  m68k-linux has a similar problem
and does that.  IMHO the generic version should really be moved to i386.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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