🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.ghostscript.bug
Article #670

Bug in zdiv()

#670
From: Russ Nelson
Date: Mon, 15 May 1989 04:30
12 lines
910 bytes
I don't know if this has already been reported, but there's a small bug in
the "case t_integer" of zdiv() in zarith.c.  The first line of that case
clause checks the .realval of the operand against zero.  This makes no sense
since we just found out that the operand is an integer.  Most likely, the
check should be against the .intval of the operand.
-russ


-- 
--russ (nelson@clutx [.bitnet | .clarkson.edu])
I'm a right-to-lifer -- everyone has a right to earn a living sufficient to
feed himself and his family.
Technical Details
Message-ID: <3084@sun.soe.clarkson.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!leah!rpi!sun.soe.clarkson.edu!nelson

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!leah!rpi!sun.soe.clarkson.edu!nelson
From: nelson@sun.soe.clarkson.edu (Russ Nelson)
Newsgroups: gnu.ghostscript.bug
Subject: Bug in zdiv()
Message-ID: <3084@sun.soe.clarkson.edu>
Date: 15 May 89 04:30:22 GMT
Reply-To: nelson@clutx.clarkson.edu
Organization: Clarkson University, Potsdam, NY
Lines: 12