From:	CSBVAX::CSBVAX::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 20-FEB-1989 16:55
To:	MRGATE::"ARISIA::EVERHART"
Subj:	Bug fix for ANU News version 5.7.


Received: From KL.SRI.COM by CRVAX.SRI.COM with TCP; Mon, 20 FEB 89 13:23:08 PDT
Received: from ucbvax.Berkeley.EDU by KL.SRI.COM with TCP; Mon, 20 Feb 89 13:17:22 PST
Received: by ucbvax.Berkeley.EDU (5.61/1.34)
	id AA19979; Mon, 20 Feb 89 13:14:20 -0800
Received: from USENET by ucbvax.Berkeley.EDU with netnews
	for info-vax@kl.sri.com (info-vax@kl.sri.com)
	(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 20 Feb 89 12:54:07 GMT
From: deimos.cis.ksu.edu!kuhub.cc.ukans.edu!sloane@rutgers.edu  (Bob Sloane)
Organization: University of Kansas Academic Computing Services
Subject: Bug fix for ANU News version 5.7.
Message-Id: <3757@kuhub.cc.ukans.edu>
Sender: info-vax-request@kl.sri.com
To: info-vax@kl.sri.com

Hi All,

There is a bug in ANU News V5.7 which prevents posting to moderated news
groups.  The following changes need to be made to routine do_posting
(in file NEWSPOST.C).

Change:
        printf("Post to %s Moderator (%s)\nSpawning MAIL task ..\n",
            ga[g]->grp_name,post_address);
        _c$cks(lib$spawn(c$dsc(mail_cmd),0,0,0,0,0,0,0,0,0,0,0));

To:
        printf("Post to %s Moderator (%s)\nSpawning MAIL task ..\n",
            ga[g]->grp_name,post_address);

        if (screen_active) {
            display_brdcst(2);
            no_broad_trap();
            smg$end_pasteboard_update(&pid);
            }

        _c$cks(lib$spawn(c$dsc(mail_cmd),0,0,0,0,0,0,0,0,0,0,0));

        if (screen_active) {
            smg$begin_pasteboard_update(&pid);
            broad_trap();
            }

Also, those of you using Wollongong TCP/IP need to change the definition:

    struct host_ent dest_host;

to:

    struct hostent dest_host;

to avoid fatal compilation errors.  There will still be some warnings, but
they seem to be caused by problems in the Wollongong include files, and
can be ignored (I hope :-).
+-------------------+-------------------------------------+------------------+
|  Bob Sloane        \Internet: SLOANE@KUHUB.CC.UKANS.EDU/Anything I said is |
|  Computer Center    \ BITNET: SLOANE@UKANVAX.BITNET   / my opinion, not my |
|  University of Kansas\  AT&T: (913) 864-0444         /  employer's.        |
+-----------------------+-----------------------------+----------------------+

