🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.bugs
Article #31

Bugs in shape

#31
From: Lawrence V. Cipriani
Date: Mon, 19 Jun 1989 22:40
15 lines
957 bytes
I tried to contact the author of shape at least 5 different ways and got bounced
mail every time.  Hoping he'll seem them, here are two possible bugs I found in
shape.

src/shape/attr.c: comparison takes precedence over assignment near line 640
    if ((err = af_setgkey(set, cur_pos, &cur_key) == -1))
should perhaps be:
    if ((err = af_setgkey(set, cur_pos, &cur_key)) == -1)

src/vc/vadm_symname.c: comparison takes precedence over assignment near line 369
    if ((rc=af_find (&warrant, &hits) > 0)) { 
should perhaps be:
    if ((rc=af_find (&warrant, &hits)) > 0) { 
-- 
Larry Cipriani, att!cbnews!lvc or lvc@cbnews.att.com
Technical Details
Message-ID: <7574@cbnews.ATT.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!bellcore!att!cbnews!lvc

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!bellcore!att!cbnews!lvc
From: lvc@cbnews.ATT.COM (Lawrence V. Cipriani)
Newsgroups: comp.sources.bugs
Subject: Bugs in shape
Keywords: shape
Message-ID: <7574@cbnews.ATT.COM>
Date: 19 Jun 89 22:40:47 GMT
Organization: AT&T Network Systems
Lines: 15