Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 05/02/1997 01:10:02
thorpej
Thu May 1 18:01:45 PDT 1997
Update of /cvsroot/src/sys/sys
In directory netbsd1:/var/slash-tmp/cvs-serv25728
Modified Files:
socket.h
Log Message:
Deal with an alignment problem on the Alpha port. The maximum required
alignment of any field in a struct sockaddr is 1, since all members are
chars or char arrays (as noted by Ross Harvey on port-alpha). This causes
the possibility of unaligned access faults when a sockaddr is cast to
e.g. a sockaddr_in. Solution: explicitly direct the compiler to
longword-align the start of a struct sockaddr.