[comp.sources.bugs] Bugs in shape

lvc@cbnews.ATT.COM (Lawrence V. Cipriani) (06/20/89)

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