From:	AITGW::"sysnett@CC.NEWCASTLE.EDU.AU" "Tony Nicholson"  7-JAN-1992 07:00:41.74
To:	Multiple recipients of list ANU-NEWS <ANU-NEWS@VM1.NoDak.EDU>
CC:	
Subj:	Fix: Use VMS MAIL's personal name in NEWS 6.0-3

Received: by AITGW.DECnet (utk-mail11 v1.5) ; Tue, 7 Jan 92 06:57:28 EST
Received: from vm1.NoDak.edu by aitgw.ge.com (5.65/GE Gateway 1.4)
	id AA25135; Tue, 7 Jan 92 06:57:18 -0500
Message-Id: <9201071157.AA25135@aitgw.ge.com>
Received: from NDSUVM1.BITNET by VM1.NoDak.EDU (IBM VM SMTP V2R2)
   with BSMTP id 8841; Tue, 07 Jan 92 05:57:28 CST
Received: from NDSUVM1.BITNET by NDSUVM1.BITNET (Mailer R2.07) with BSMTP id
 7727; Tue, 07 Jan 92 05:57:27 CST
Date:         Tue, 7 Jan 1992 06:22:10 GMT
Reply-To: Tony Nicholson <sysnett@CC.NEWCASTLE.EDU.AU>
Sender: ANU-NEWS Discussion <ANU-NEWS@VM1.NoDak.EDU>
From: Tony Nicholson <sysnett@CC.NEWCASTLE.EDU.AU>
Subject:      Fix: Use VMS MAIL's personal name in NEWS 6.0-3
To: Multiple recipients of list ANU-NEWS <ANU-NEWS@VM1.NoDak.EDU>
 
I've just found what's been preventing a user's VMS Mail profile
PERSONAL_NAME from being used by NEWS V6.0-3 under VMS V5.x - a missing
line in the call_mail_profile() routine.  The context diff's for
newssite.c are as follows -
 
*** newssite.c;-1
--- newssite.c
**************
*** 800,804
      }
    mail$user_end(&context,no_in_list,no_out_list);
    nosysprv();
    return(status & 1);
  }
--- 800,805 -----
      }
    mail$user_end(&context,no_in_list,no_out_list);
    nosysprv();
+   if (status & 1) strcpy(usr_persname,personal_name);
    return(status & 1);
  }
 
--
Tony Nicholson, Networks & Comms | Internet: sysnett@cc.newcastle.EDU.AU
University Computing Services    | VAXPSI: psi%0505249626002::sysnett
McMullin Building, University of Newcastle, NSW, 2308, AUSTRALIA
