[parisc-linux] Back to evms-1.0.1 && unaligne access && gdb

jsoe0708@tiscali.be jsoe0708@tiscali.be
Thu, 29 Aug 2002 19:12:18 +0200


>
>So anyway there is a bug because I presume that the for loop is there to
>scan the 4 int what it doen't do (?) and find another way to say an 'int'
>is null ( hmm why not simply 
>u_int8_t *uip = (u_int8_t *)p;
>for (i=0 ; i<16 ; i++){
>    if (*uip+i != 0x00) return FALSE;
>}
>return TRUE;
>
Quick test and yes that works (reduce response time 1/10).

Anyway all better idea is well come :)

Thanks a lot,
    Joel