ANU News Patch Patch ID: 930710_newsdist.c!munroe@dmc.com Date: 10-Jul-1993 Author: Dick Munroe munroe@dmc.com News Version: 6.1beta7 News Files: NewsDist.C Description: Suppresses the inclusion of an !# rnews {byte count} delimiter line in files written for transmission to a system whose News.Sys entry specifies type 'M', since each file is only one article long. *** newsdist.c --- newsdist_new.c ************** *** 66,68 **-- **/ --- 66,71 ----- + ** + ** V6.1 10-Jul-1993 munroe@dmc.com + ** suppress addition of the #! rnews ... line if sys_type is "m" **-- **/ ************** *** 1006,1013 } } else { ! if (n_char) fprintf(fpo,"N"); ! fprintf(fpo,"#! rnews %d\n",b_size); /* The infile_stat.st_size is a close enough approximation to use */ s->sys_statb.st_size += infile_stat.st_size; if (n_char) --- 1009,1020 ----- } } else { ! /* The rnews information is necessary only for non-mail feeds. */ ! if (*s->sys_type != 'm') { ! if (n_char) fprintf(fpo,"N"); ! fprintf(fpo,"#! rnews %d\n",b_size); ! } ! /* The infile_stat.st_size is a close enough approximation to use */ s->sys_statb.st_size += infile_stat.st_size; if (n_char) *** patchlist.h;-1 --- patchlist.h ************** *** 1,1 =+=+= End =+=+= --- 1,2 ----- + 930710_newsdist.c!munroe@dmc.com =+=+= End =+=+=