This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: gethostbyname2 seg.faults with "multi on" and IPv6
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Thorsten Kukuk <kukuk at suse dot de>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Tue, 11 Feb 2003 23:39:46 -0800
- Subject: Re: gethostbyname2 seg.faults with "multi on" and IPv6
- Organization: Red Hat, Inc.
- References: <20030211064010.GA7660@suse.de> <20030211142705.GA30840@suse.de>
My previous comment was a bit pessimistic. I think we have the
alignment correct. To be sure I've added an assert.
But the correct patch is not to always add sizeof(char*) to the offset
but instead compute the alignment correctly. I checked in a patch.
Please try it.
--
--------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------