ECU 3 patch 5 may be bad news for you

Warren Tucker wht at n4hgf.Mt-Park.GA.US
Wed Feb 13 14:43:19 AEST 1991


I am repeating this patch for your early consideration.  

I don't know why I was getting away with this ;-(, but I didn't catch it
because I've had no trouble.

This man's hat sits on a quick-thinking head.  

> Organization: DEMOS, Moscow, USSR
> Date: Wed, 13 Feb 91 02:15:23 +0300 (MSK)
> From: emory!hq.demos.su!ache (Andrew A. Chernov, canton Uri's citizen)
> Subject: ECU 3.05 utmpstat
> 
> Hi, Warren, bad news.
> I just applied PATCH 5 for ECU, everything appears OK, but
> 'utmpstat' not work at all, I look in...
> IMHO it seems, like two strings are misplaced...
> (US_LOGIN and US_DIALOUT)
> I fix it, and ECU works correctly.
> Good Luck.

----------------------------- CUT HERE --------------------------------
*** utmpstat.c.b	Mon Feb 11 17:57:01 1991
--- utmpstat.c	Wed Feb 13 02:00:02 1991
***************
*** 107,115 ****
  		idcopy[sizeof(idcopy) - 1] = 0;
  
  	    if(!strcmp(namecopy,"LOGIN"))
- 			status = US_DIALOUT;
- 	    else if(!strcmp(namecopy,"DIALOUT"))
  			status = US_LOGIN;
  	    else if((!strcmp(namecopy,"uugetty") || !strcmp(namecopy,"getty")))
  		{
  			if(itmp = line_locked(line))
--- 107,115 ----
  		idcopy[sizeof(idcopy) - 1] = 0;
  
  	    if(!strcmp(namecopy,"LOGIN"))
  			status = US_LOGIN;
+ 	    else if(!strcmp(namecopy,"DIALOUT"))
+ 			status = US_DIALOUT;
  	    else if((!strcmp(namecopy,"uugetty") || !strcmp(namecopy,"getty")))
  		{
  			if(itmp = line_locked(line))
> -- 
> In-Real-Life: Andrew A. Chernov  |  Domain: ache at hq.demos.su,
> Zodiac-Sign:  Virgo              |          ache%hq.demos.su at relay.eu.net
> Organization: DEMOS Coop.,       |  Phone:  +7 095 2312129
>               Moscow, Russia     |  Fax:    +7 095 2335016
> 


 
-----------------------------------------------------------------------
Warren Tucker, TuckerWare   gatech!n4hgf!wht or wht at n4hgf.Mt-Park.GA.US
Many [Nobel physics] prizes  have been given  to people for  telling us
the universe is not as simple as we thought it was. -Stephen Hawking in
A Brief History of Time     In computing, there are no such prizes. -me



More information about the Comp.unix.sysv386 mailing list