From:	CRDGW2::CRDGW2::MRGATE::"SMTP::KSUVAX1.CIS.KSU.EDU::MCCALL!NEWSMGR" 31-AUG-1990 01:01:54.08
To:	MRGATE::"ARISIA::EVERHART"
CC:	
Subj:	FIX to ACCVIO in UUCP.EXE

Received:  by crdgw1.ge.com (5.57/GE 1.70)
	 id AA10243; Fri, 31 Aug 90 00:49:12 EDT
Resent-From: mccall!newsmgr@ksuvax1.cis.ksu.edu
Return-Path: mccall!newsmgr@ksuvax1.cis.ksu.edu
Received: from harris.cis.ksu.edu by DRYCAS.CLUB.CC.CMU.EDU; Fri, 31 Aug 90
 00:42 EST
Received: from ksuvax1.cis.ksu.edu by harris.cis.ksu.edu (5.58/SWH-2.03); id
 AA22859; Thu, 30 Aug 90 23:41:52 CDT
Received: by ksuvax1.cis.ksu.edu (5.59++/CIS1.1) id AA27366; Thu, 30 Aug 90
 23:41:49 CDT
Resent-Date: Fri, 31 Aug 90 00:42 EST
Date: 29 Aug 90 16:36:16 GMT
From: baxter@xmws
Subject: FIX to ACCVIO in UUCP.EXE
Resent-To: VMSNET-LIST@DRYCAS.CLUB.CC.CMU.EDU
To: vmsnet@DRYCAS.CLUB.CC.CMU.EDU
Resent-Message-Id: <401D4B1A58AF000252@DRYCAS.CLUB.CC.CMU.EDU>
Message-Id: <11.26dbb6c0@xmws>
Organization: Xmws Associates, Phoenixville, PA
X-Envelope-To: everhart%arisia.decnet@CRDGW1.GE.COM
X-Vms-To: vmsnet@DRYCAS.CLUB.CC.CMU.EDU

I have fixed the ACCVIO problem with uucp.exe.

I have sent this directly to jamie and mark via mail.

The problem was that NIL was being passed to strcat. ( the result
of getenv( "UUCP_DOMAIN_NAME" )  ), in the case where UUCP_DOMAIN_NAME is
undefined.

I specifically left this undefined per installation instructions (user guide)
since I am NOT a domain.

The following output (squeezed into 80 columns by removing blanks) from
VMS differences will show you what I added to/changed in UUCP.C:

The original code:

******
File USER$DISK:[UUCP.DEVEL.SRC]UUCP.C_ORIG;2
  139   strcat(User, getenv("UUCP_DOMAIN_NAME"));
  140   DEBUG(DB_FNM, "User %s,", User);
************

The FIXED code... (note the last line is the same as above)
$ diff uucp.c uucp.c_orig
************
File USER$DISK:[UUCP.DEVEL.SRC]UUCP.C;4
  139   /*
  140   * Lincoln Baxter (baxter@xmws) 28-AUG-1990
  141   * Fix ACCVIO: Check BOTH Domain name AND hostname!!!
  142   */
  143   if ( (sys1 = getenv("UUCP_DOMAIN_NAME") == 0))
  144       sys1 = getenv("UUCP_HOST_NAME");
  145   if ( sys1 == 0 )
  146       {
  147       fprintf(stderr,
  148           "Neither UUCP_DOMAIN_NAME, nor UUCP_HOST_NAME is defined!\n" );
  149       return(EXIT_ERR);
  150       }
  151   strcat(User, sys1 );
  152   DEBUG(DB_FNM, "User %s,", User);

Lincoln 

{uunet!} cbmvax!xmws!baxter
