Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: xsrc/external/mit/MesaLib/dist/src/mesa/main
Module Name: xsrc
Committed By: mrg
Date: Sat Dec 20 02:05:35 UTC 2014
Modified Files:
xsrc/external/mit/MesaLib/dist/src/mesa/main: dlist.c
Log Message:
fix my prior hack here to only apply on platforms that need it.
namely, any current netbsd 64 bit platform besides x86. (i meant
to do this before merging.)
the problem here is the "Node" type is only 4 bytes, an allocation
is assigned to a "Node *node", and then "node + 1" is returned.
this returns a 4-byte aligned pointer, and some callers expect to
be able to store 64-bit (pointer, at least) values there and demand
that the structure be properly aligned. this change forces Node to
be 8-byte aligned on all-but-x86 64 bit netbsd platforms.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 xsrc/external/mit/MesaLib/dist/src/mesa/main/dlist.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index