[13411] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: decmips 7.7L: elcsd

daemon@ATHENA.MIT.EDU (jweiss@MIT.EDU)
Fri Apr 7 16:41:50 1995

From: jweiss@MIT.EDU
Date: Fri, 7 Apr 1995 16:41:39 -0400
To: mhpower@MIT.EDU
Cc: bugs@MIT.EDU, rel-eng@MIT.EDU
In-Reply-To: [13407] in bugs



This bug is fixed in the Ultrix 4.3 source.  We should probabaly build
the 4.3 version with our patches.

This bugfix is the only change from the 4.2a to 4.3 version of elcsd.
Below are the diffs that need to be applied to the stock 4.3 to get
our version (ie here are our patches to elcsd.)

Rel-eng can you incorporate this into the source tree?  I already have
a version runnign on some machines.


*** /tmp/,RCSt1008162	Thu Apr  6 14:18:55 1995
--- elcsd.c	Tue May 26 09:29:12 1992
***************
*** 358,364 ****
  		if ((cc == 4) && ((int)buf[0] == ELSHUTDOWN)
  			  && (remlogflg > 0)) {
  		    remlogflg = 0;
!     		    error(ALERT,elcsmsg[10],(char *)0);
  		    setlocal();
  		}
  		else if ((cc == 4) && ((int)buf[0] == ELSTARTUP) 
--- 358,364 ----
  		if ((cc == 4) && ((int)buf[0] == ELSHUTDOWN)
  			  && (remlogflg > 0)) {
  		    remlogflg = 0;
!     		    /*error(ALERT,elcsmsg[10],(char *)0);*/
  		    setlocal();
  		}
  		else if ((cc == 4) && ((int)buf[0] == ELSTARTUP) 
***************
*** 567,573 ****
  	    ret = sendto(dsi,bufp,(int)elrhp->rhdr_reclen,0,(char *)&tos,toslen);
  	    if (ret < 0)
  		error(NONALERT,elcsmsg[13],(char *)0);
! 	    if (prilogflg > 0 && elrhp->rhdr_pri < EL_PRILOW) {
  		if (pathflg == 0)
  		    pathflg++;
  	    	ret = wrtdata(LOCLOG,bufp,(int)elrhp->rhdr_reclen);
--- 567,573 ----
  	    ret = sendto(dsi,bufp,(int)elrhp->rhdr_reclen,0,(char *)&tos,toslen);
  	    if (ret < 0)
  		error(NONALERT,elcsmsg[13],(char *)0);
! 	    if (prilogflg > 0 /*&& elrhp->rhdr_pri < EL_PRILOW*/) {
  		if (pathflg == 0)
  		    pathflg++;
  	    	ret = wrtdata(LOCLOG,bufp,(int)elrhp->rhdr_reclen);



home help back first fref pref prev next nref lref last post