ANU News Patch Patch ID: 930810_newspost.c!winter@vision.rs.ch Date: 10-Aug-1993 Author: Martin Winter winter@vision.rs.ch News Version: 6.1beta8 News Files: NewsPost.C, NewsCmd.Cld Description: Changes calls to parse_newsgroup() in do_posting() to to avoid Newsgroups: prompt in response to Followup command when /Newsgroups qualifier is present on CL. Replaces: 930426_newspost.c!winter@vision.rs.ch This patch is a reformatted version of the modifications to NewsPost.C found in the previous patch 930426_newspost.c!winter@vision.rs.ch, since other changes to the source code made the original incompatible with version 6.1beta8. Note that the /NewsGroups qualifier is accepted by 6.1beta8 without this patch; this patch only serves to eliminate the interactive prompt. *** newspost.c --- newspost_new.c ************** *** 42,44 **-- **/ --- 42,49 ----- + ** V6.1b7 26-Apr-1993 winter@vision.rs.ch + ** - added /NEWSGROUPS=(list_of_newsgroups) to FOLLOWUP to avoid the + ** newsgroup-prompt + ** (new patch archive entry reformatted for 6.1b8 on 10-Aug-1993 + ** by Charles Bailey bailey@genetics.upenn.edu) **-- **/ ************** *** 718,724 } } *infile = '\0'; ! if (crosspost) parse_newsgroups(ngroup,"",1,1,1); else { if ( !(*ngroup) ) parse_newsgroups(ngroup,follow_groups,1,1,1); --- 723,729 ----- } } *infile = '\0'; ! if (crosspost) parse_newsgroups(ngroup,"",0,1,1); else { if ( !(*ngroup) ) parse_newsgroups(ngroup,follow_groups,0,1,1); ************** *** 721,727 if (crosspost) parse_newsgroups(ngroup,"",1,1,1); else { if ( !(*ngroup) ) ! parse_newsgroups(ngroup,follow_groups,1,1,1); if ((fpr = profile_sigfile(ngroup)) != 0) { fputs("-- \n",fpw); while (fgets(xfrbuf,512,fpr)) fputs(xfrbuf,fpw); --- 726,732 ----- if (crosspost) parse_newsgroups(ngroup,"",0,1,1); else { if ( !(*ngroup) ) ! parse_newsgroups(ngroup,follow_groups,0,1,1); if ((fpr = profile_sigfile(ngroup)) != 0) { fputs("-- \n",fpw); while (fgets(xfrbuf,512,fpr)) fputs(xfrbuf,fpw); *** patchlist.h;-1 --- patchlist.h ************** *** 1,1 =+=+= End =+=+= --- 1,2 ----- + 930810_newspost.c!winter@vision.rs.ch =+=+= End =+=+=