ANU News Patch Patch ID: 940524_newsrc.c!mark.martinec@ijs.si Date: 24-May-1994 Author: Mark Martinec Mark.Martinec@ijs.si News Version: 6.1beta9 News Files: NewsRC.C Description: Fixes bug in fastscan() which caused News to try to close index files when it hadn't yet opened them. *** newsrc.c --- newsrc_new.c ************** *** 46,48 **-- **/ --- 46,50 ----- + ** V6.1b8 24-May-1994 mark.martinec@ijs.si + ** - avoid calling clsallfiles(n) from fastscan() before files are open **-- **/ ************** *** 1803,1809 strcat(err_oline,")"); } _c$cks(lib$put_output(c$dscl(&err_oline_d))); ! clsallfiles(1); } /* client newsrc first line = ~node protnum~... */ --- 1805,1812 ----- strcat(err_oline,")"); } _c$cks(lib$put_output(c$dscl(&err_oline_d))); ! if (fclose(newsrc)) _ck_close(newsrc); ! newsrc = 0; return(1); } /* client newsrc first line = ~node protnum~... */ *** patchlist.h;-1 --- patchlist.h ************** *** 1,1 =+=+= End =+=+= --- 1,2 ----- + 940524_newsrc.c!mark.martinec@ijs.si =+=+= End =+=+=