From:	SMTP%"sloane@KUHUB.CC.UKANS.EDU" 25-MAY-1994 12:27:28.95
To:	EVERHART
CC:	
Subj:	Re: Bug in NEWS/SCAN 6.1b9

Date:         Wed, 25 May 1994 09:43:03 CDT
Reply-To:     Bob Sloane <sloane@KUHUB.CC.UKANS.EDU>
Sender:       ANU-NEWS Discussion <ANU-NEWS@VM1.NoDak.EDU>
From:         Bob Sloane <sloane@KUHUB.CC.UKANS.EDU>
Organization: University of Kansas Academic Computing Services
Subject:      Re: Bug in NEWS/SCAN 6.1b9
To:           Multiple recipients of list ANU-NEWS <ANU-NEWS@VM1.NoDak.EDU>

In article <1994May24.103117@ossenu.astro.nwu.edu>,
 pendleton@ossenu.astro.nwu.edu (Jim Pendleton) writes:
> When attempting a NEWS/SCAN uwith 6.1b9 (VMS 5.5-2), we're receiving the
> following error message
>
> %NEWS-F-CLOFAIL, Error closing file <no name, illegal/uninitialized FAB>
> -RMS-F-FAB, invalid FAB or FAB inaccessible
> -NEWS-I-SOURCE, Module NEWSRC, line 1806

Try the following patch and see if it helps:

*** newsrc.c;-1
--- newsrc.c
**************
*** 1761,1768
  #define clsallfiles(n) {                              \
                         if (!nntp_client) {            \
                           sysprv();                    \
!                          sys_close(&grpfab);          \
!                          sys_close(&itmfab);          \
                           nosysprv();                  \
                           }                            \
                         if (fclose(newsrc)) _ck_close(newsrc); \
--- 1761,1768 -----
  #define clsallfiles(n) {                              \
                         if (!nntp_client) {            \
                           sysprv();                    \
!                          if ( grpfab.fab$b_bid ) sys_close(&grpfab);  \
!                          if ( itmfab.fab$b_bid ) sys_close(&itmfab);  \
                           nosysprv();                  \
                           }                            \
                         if (fclose(newsrc)) _ck_close(newsrc); \
--
USmail: Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045
E-mail: sloane@kuhub.cc.ukans.edu, sloane@ukanvax.bitnet, AT&T: (913)864-0444
