Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Paul Vlaar <paulwv@support.euronet.nl>
Subject: Re: unaligned trap help
Date: 1998/12/18	[thread overview]
Message-ID: <75dc6k$a2p$1@news2.xs4all.nl> (raw)
In-Reply-To: 913932319.277821@marvin

Tom Michiels <tomm@godard.cs.kuleuven.ac.be> wrote:
> Tom Michiels <tomm@godard.cs.kuleuven.ac.be> wrote:
>> Timothy K Canfield <tkc+@andrew.cmu.edu> wrote:
>> > configuring the network using DHCP i recieve unaligned trap.  This also

>> I don't know about redhat, but if it uses - like debian - dhcpcd 0.70,
>> then these unaligned traps are caused by long-pointer-casts:
> ...

> I looked at the code of dhcpcd 0.70 again, and: one should in fact 
> replace all u_long by u_int.  But then again: the pointers casted to 
> u_int are not even 32bit-aligned!

> Tom


Shouldn't your compiler do this for you ?

-- 
Paul Vlaar                           * *      EuroNet Internet
Client Services Team               *     *    Herengracht 208 - 214
                                  *           1016 BS Amsterdam
E-mail: paulwv@nl.euro.net       *            Tel: +31 20 5355 300



  reply	other threads:[~1998-12-18  5:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-08  5:00 unaligned trap help Timothy K Canfield
1998-12-08  5:00 ` 97117071
1998-12-08  5:00 ` Charles E Taylor IV
1998-12-17  5:00   ` Mike Powers
1998-12-14  5:00 ` unaligned trap help - same pb Claude R. CIRBA
1998-12-22  5:00   ` remove_me
1998-12-17  5:00 ` unaligned trap help Tom Michiels
1998-12-17  5:00   ` Tom Michiels
1998-12-18  5:00     ` Paul Vlaar [this message]
1998-12-22  5:00       ` Tom Michiels
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox