Alignment Bug in 'struct sockaddr_storage'
| From: | Phil Oleson | Date: | Thu, 19 Sep 2002 23:26:50 +0000 |
| Subject: | Alignment Bug in 'struct sockaddr_storage' | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-88486@lists.php.net to get a copy of this message | ||
Hi All,
I've put this in the Bug db as Bug #19508 but I thought faster reaction would
happen if I sent this, as it's in main and not in an extension.
I ran into a alignment problem on my solaris 6 build of php. This problem was
showing up when it was built with 'Sun Workshop Pro 4' & 'Forte 6', but not gcc.
(I've seen gcc be overly gracious with word alignment before) I pulled out dbx
and tracked down the problem.
I'll cut this short.. Solaris 6 doesnt have it's own copy of sockaddr_storage,
and php's copy is broken. I've put my patches in the notes in the above bug.
Yell if someone wants an email attached version instead.
Phil.