[Scummvm-devel] Re: [Scummvm-cvs-logs] CVS: scummvm configure,1.21,1.22

Max Horn max at quendi.de
Mon Jun 2 05:17:07 CEST 2003


Am Montag, 02.06.03 um 13:33 Uhr schrieb Lionel Ulmer:

> On Mon, Jun 02, 2003 at 04:20:10AM -0700, Max Horn wrote:
>> Update of /cvsroot/scummvm/scummvm
>> In directory sc8-pr-cvs1:/tmp/cvs-serv6483
>>
>> Modified Files:
>> 	configure
>> Log Message:
>> working alignment check (but if alignment is needed it'll print out a 
>> 'Bus error' message which isn't nice...)
>
> This won't work on certain platforms (like Linux-ARM) where mis-aligned
> access do not trigger Bus Errors but simply returns garbage.
>

Uh OK, didn't know such evil existed :-)

> So to have a really working test, one needs to do this but also to 
> read some
> unaligned stuff and check if what you read is what you expect.
>
OK. Would it work if I e.g. init the array to contain all 0xE7 bytes, 
and then compared to that value?


Cheers,

Max





More information about the Scummvm-devel mailing list