Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: umodem(4) with "no pointer to data interface"



On Tue, Jan 21, 2014 at 08:11:19PM +0100, Felix Deichmann wrote:
> 
> IMHO your *logic* is not to blame.
> Applying De Morgan's laws result in
> 
> !(uaa->proto == UIPROTO_CDC_NOCLASS || uaa->proto == UIPROTO_CDC_AT)
> 
>    and
> 
> (uaa->proto != UIPROTO_CDC_NOCLASS && uaa->proto != UIPROTO_CDC_AT)
> 
> being equal.
> 
> Must be something else then.

Yes I thought they were but I don't trust myself when it comes to
negated logic combinations - I always feel like I am thinking too
hard...

-- 
Brett Lymn
Staple Guns: because duct tape doesn't make that KerCHUNK sound - xkcd.com


Home | Main Index | Thread Index | Old Index