Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD master CVS tree commits



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.




Home | Main Index | Thread Index | Old Index