kern/27275: kernel bug ?

KAREN THODE thode12 at msn.com
Sat May 17 18:00:37 PDT 2003


The following reply was made to PR kern/27275; it has been noted by GNATS.

From: "KAREN THODE" <thode12 at msn.com>
To: <freebsd-gnats-submit at FreeBSD.org>, <land at dnepr.net>
Cc:  
Subject: Re: kern/27275: kernel bug ?
Date: Sat, 17 May 2003 19:59:00 -0500

 ------=_NextPart_001_0001_01C31CAE.C21EC6F0
 Content-Type: text/plain; charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable
 
 I have a macro that will trap the exception, or you could change the type=
  of the variable in question to an unsigned type.  The macro is as follow=
 s:
 
 #define trapneg(arg) ((arg < 0)?arg=3D0:;)
 
 Lucas
 
 ------=_NextPart_001_0001_01C31CAE.C21EC6F0
 Content-Type: text/html; charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable
 
 <HTML><BODY STYLE=3D"font:10pt verdana; border:none;"><DIV>I have a macro=
  that will trap the exception, or you could change the type of the variab=
 le in question to an unsigned type.&nbsp; The macro is as follows:</DIV> =
 <DIV>&nbsp;</DIV> <DIV>#define trapneg(arg) ((arg &lt; 0)?arg=3D0:;)</DIV=
 > <DIV>&nbsp;</DIV> <DIV>Lucas<BR><BR></DIV></BODY></HTML>
 
 ------=_NextPart_001_0001_01C31CAE.C21EC6F0--


More information about the freebsd-bugs mailing list