test-stddef: test for (some) offsetof bugs
authorEric Blake <eblake@redhat.com>
Mon, 16 Aug 2010 23:34:45 +0000 (17:34 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 17 Aug 2010 14:09:20 +0000 (08:09 -0600)
commit6f730e7ae5225bf9eb36554d94805b97a72784bd
treee0197c1b448ef88a2971242e4a782f0fb1d0c820
parentc5728261c324a75f8d23dd7d10cb42dde9420227
test-stddef: test for (some) offsetof bugs

See the mailing list for a more comprehensive patch that works
around the Solaris bug.

* tests/test-stddef.c: Enhance test to ensure correct type of
offsetof.
* doc/posix-headers/stddef.texi (stddef.h): Document a Solaris bug
that we are not fixing at this time.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
doc/posix-headers/stddef.texi
tests/test-stddef.c