From:	CSBVAX::CSBVAX::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX"  4-MAR-1989 06:50
To:	MRGATE::"ARISIA::EVERHART"
Subj:	Fix for ANU_NEWS 5.7 under VMS 5.0


Received: From KL.SRI.COM by CRVAX.SRI.COM with TCP; Sat,  4 MAR 89 03:33:02 PDT
Received: from ucbvax.Berkeley.EDU by KL.SRI.COM with TCP; Sat, 4 Mar 89 03:10:18 PST
Received: by ucbvax.Berkeley.EDU (5.61/1.33)
	id AA02646; Sat, 4 Mar 89 02:49:18 -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: 3 Mar 89 05:00:03 GMT
From: ssbell!mcmi!hdr!unocss!fritz@uunet.uu.net  (Tim Russell)
Organization: U. of Nebraska at Omaha
Subject: Fix for ANU_NEWS 5.7 under VMS 5.0
Message-Id: <696@unocss.UUCP>
Sender: info-vax-request@kl.sri.com
To: info-vax@kl.sri.com

Here's yet another fix for ANU_NEWS 5.7...  This one is only for people
running under VMS 5.0.  It concerns a "bug" (not really) that causes
an empty message to be added when using ADD BATCH on a file of mail
messages extracted from mail, having a formfeed as the first character.

    Under VMS 4.7 this was no problem, because the EXTRACT/ALL command
left out the first formfeed, but under VMS 5.0 mail there's no way
to leave that initial formfeed off that I know of.

    Anyway, here's the DIFFERENCES output:

************
File PERM$3:[NEWSMGR.NEWS.NEWS_SRC]NEWSADD.C;146
   48   **      V5.8    2-Mar-1989      TGR
   49   **        - Correct bug causing empty first message when adding a
   50   **          VMS mail batch with a formfeed as the first character,
   51   **          which is the only way you can get it with 5.0.  This is
   52   **          a 5.0-only hack.
   53   **
******
File PERM$3:[NEWSMGR.NEWS.NEWS_SRC]NEWSADD.C;142
   48   **
************
************
File PERM$3:[NEWSMGR.NEWS.NEWS_SRC]NEWSADD.C;146
  149              first_msg = 1,
  150              headers_out = 0,
******
File PERM$3:[NEWSMGR.NEWS.NEWS_SRC]NEWSADD.C;142
  144              headers_out = 0,
************
************
File PERM$3:[NEWSMGR.NEWS.NEWS_SRC]NEWSADD.C;146
 1522           if (!strcmp(inline,"\f\n") && !strncmp(fline,"From:",5))
 1523               if (first_msg)
 1524                   first_msg = 0;
 1525               else
 1526                   infile_eom = 1;
 1527           else if (!strncmp(inline,"#! rnews ",9)) infile_eom = 1;
******
File PERM$3:[NEWSMGR.NEWS.NEWS_SRC]NEWSADD.C;142
 1516           if (!strcmp(inline,"\f\n") && !strncmp(fline,"From:",5)) infile_eom = 1;
 1517           else if (!strncmp(inline,"#! rnews ",9)) infile_eom = 1;
************
************
File PERM$3:[NEWSMGR.NEWS.NEWS_SRC]NEWSADD.C;146
 1728       first_msg = 1;
 1729       get_line();
******
File PERM$3:[NEWSMGR.NEWS.NEWS_SRC]NEWSADD.C;142
 1718       get_line();
************

Number of difference sections found: 4
Number of difference records found: 12

DIFFERENCES /IGNORE=()/MERGED=1/OUTPUT=PERM$3:[NEWSMGR]DIFF.OUT;1-
    PERM$3:[NEWSMGR.NEWS.NEWS_SRC]NEWSADD.C;146-
    PERM$3:[NEWSMGR.NEWS.NEWS_SRC]NEWSADD.C;142

-- 
---------------------------------+--------------------------------------------
 Tim Russell, Computer Operator  | Internet: russell%zeus@fergvax.unl.edu
 Campus Computing                | Bitnet:   russell@unoma1
 University of Nebraska at Omaha | UUCP:     uunet!zeus.unl.edu!russell

