Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!husc6!panda!genrad!decvax!tektronix!tekgen!tektools!tonyb From: tonyb@tektools.UUCP (Tony Birnseth) Newsgroups: net.news.b,net.news.adm Subject: Patch to inews alias mods Message-ID: <1494@tektools.UUCP> Date: Tue, 9-Sep-86 17:35:17 EDT Article-I.D.: tektools.1494 Posted: Tue Sep 9 17:35:17 1986 Date-Received: Wed, 10-Sep-86 21:56:44 EDT Distribution: world Organization: Tektronix, Inc., Beaverton, OR Lines: 64 Xref: mnetor net.news.b:376 net.news.adm:699 Oh how I hate getting caught with bounds conditions! The changes posted for inews aliasing by me yesterday have a problem. If the group being aliased is the last name of a multiple newsgroup header line, the aliasing will not occur. The fix is moving one line inside of an #ifndef TEK_ALIAS. Sorry for any inconvenience, diffs follow. Tony Birnseth ----------------------------------------------------------------------------- *** /tmp/,RCSt1013197 Tue Sep 9 12:04:19 1986 --- ifuncs.c Tue Sep 9 12:04:05 1986 *************** *** 1,5 #ifndef lint ! static char *RCSid = "$Header: ifuncs.c,v 1.1 86/09/08 21:38:19 tonyb Exp $"; #endif /* * ifuncs - functions used by inews. --- 1,5 ----- #ifndef lint ! static char *RCSid = "$Header: ifuncs.c,v 1.2 86/09/09 12:02:30 tonyb Exp $"; #endif /* * ifuncs - functions used by inews. *************** *** 796,802 tbufcpy(s2, s1); /* copy back to original buffer */ tbufcpy(nbuf, tbuf); - s1 = os1; #ifndef TEK_ALIAS } else { #else /* if TEK_ALIAS */ --- 796,801 ----- tbufcpy(s2, s1); /* copy back to original buffer */ tbufcpy(nbuf, tbuf); #ifndef TEK_ALIAS s1 = os1; } else { *************** *** 798,803 tbufcpy(nbuf, tbuf); s1 = os1; #ifndef TEK_ALIAS } else { #else /* if TEK_ALIAS */ } else if( !hit ) { --- 797,803 ----- /* copy back to original buffer */ tbufcpy(nbuf, tbuf); #ifndef TEK_ALIAS + s1 = os1; } else { #else /* if TEK_ALIAS */ } else if( !hit ) {