tonyb@tektools.UUCP (Tony Birnseth) (09/10/86)
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 ) {