PCC enum bug

Chris Torek chris at mimsy.UUCP
Sun Oct 8 01:41:36 AEST 1989


In article <20041 at mimsy.UUCP> I posted a fix to pcc, but I forgot to
use `-c', and no one else's lines will match mine.  So, here it is
again, this time made with context.  (I will cancel the previous article,
but some of you will have already read it.)

RCS file: RCS/pftn.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -c2 -r1.3 -r1.4
*** /tmp/,RCSt1000933	Sat Oct  7 10:53:12 1989
--- /tmp/,RCSt2000933	Sat Oct  7 10:53:16 1989
***************
*** 218,224 ****
  
  	case MOE:
! 		if( scl == class ){
! 			if( p->offset!= strucoff++ ) break;
  			psave( idp );
  			}
  		break;
--- 218,225 ----
  
  	case MOE:
! 		if( scl == class && p->offset == strucoff ){
! 			strucoff++;
  			psave( idp );
+ 			return;
  			}
  		break;
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain:	chris at cs.umd.edu	Path:	uunet!mimsy!chris



More information about the Comp.bugs.4bsd.ucb-fixes mailing list