Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!sri-unix!hplabs!decwrl!pyramid!oliveb!intelca!intsc!inthap!john From: john@inthap.UUCP Newsgroups: news.software.b Subject: News 2.11 bugs introduced by patch #3 Message-ID: <377@inthap.UUCP> Date: Thu, 26-Feb-87 19:22:12 EST Article-I.D.: inthap.377 Posted: Thu Feb 26 19:22:12 1987 Date-Received: Sun, 1-Mar-87 12:48:56 EST Organization: Intel Corp., Hauppauge, NY Lines: 34 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! /