[PATCH] Fix struct stat* (was Re: attribute(packed) in struct stat is wrong)
Ulrich Drepper
drepper@redhat.com
Thu Feb 7 20:53:00 GMT 2002
Jakub Jelinek <jakub@redhat.com> writes:
> 2002-02-07 Jakub Jelinek <jakub@redhat.com>
>
> * sysdeps/unix/sysv/linux/bits/stat.h (struct stat): Remove packed
> attribute, change __pad{1,2} type to unsigned int.
> (struct stat64): Remove packed attribute.
Well, this is better. I don't know why I haven't seen any problem
yesterday but I've seen them today. And your patch fixes the test
suite problems.
Which is not handled is using stat64 with -malign-double. And I doubt
it can be handled.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
More information about the Libc-hacker
mailing list