On Sat, 6 Feb 1999, Bob Taylor wrote:

> One thing that does need fixing is to change lines such as:
> 
> v = (ntohl(*(int *)(&(FW_IN_DATA(term->offset)?data:pkt)
>                                 [FW_OFFSET(term->offset)]))
>                   >> term->shift) & term->mask;
> 
> to (*(long *) blah blah. This should kill the unaligned trap messages.

Actually I changed it to memcpy the bytes into a real int instead
of spoofing the pointers. It should be in the 0.98.x series
on http://diald.unix.ch. But I have no way of testing it :-(.

                                Mike

-- 
.----------------------------------------------------------------------.
| Mike Jagdis                   | Internet: [EMAIL PROTECTED]  |
| 280, Silverdale Road, Earley, | Voice:    +44 118 926 6996           |
| Reading RG6 7NU ENGLAND       | Work:     +44 118 989 0403           |
`----------------------------------------------------------------------'


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to