john@inthap.UUCP (02/27/87)
Here are some bugs (with fixes) that were introduced into news 2.11 by patch #3. 1) Bug in inews.c The following problem was introduced into inews as a result of patch #3. This problem will only occur if neither BSD4_2 or LOCKF is defined by defs.h. Line # 159 of inews.c is as follows: UNLINK(ACTIVE, bfr); This generates a warning from the compiler and produces incorrect operation. Line 159 of inews.c should read as follows: UNLINK( bfr); 2) Bug in visual.c Patch #3 causes the vnews 's' command (save) to output garbage rather than the "created" or "appended" message. This will occur only on machines where sizeof(char *) > sizeof(int). To fix the problem change the routine msg in visual.c to declare parameters a1, a2, a3 and a4 as long. -- John Casey Intel Corporation (516) 231-3300 oliveb!intelca!intsc! \ bellcore!motown!mergvax! >inthap!john philabs!polycatt!polyof! /