Subject: Re: quit with modified files

From: Chris Siebenmann <cks>
Date: Wed, 26 May 1993 00:30:27 -0400

Scott Schwartz kindly pointed out that my patch had a small bug. Please
discard it and use this one instead:

*** /tmp/,RCSt1a13201	Wed May 26 00:22:53 1993
--- sam/sam.c	Wed May 26 00:10:47 1993
***************
*** 331,337 ****
  		f->ndot.r.p1 = addr.r.p2, f->ndot.r.p2 = addr.r.p2+p;
  	else
  		f->ndot.r.p1 = f->ndot.r.p2 = 0;
! 	quitok = f->closeok = empty;
  	state(f, empty && !nulls? Clean : Dirty);
  	if(cmd == 'e')
  		filename(f);
--- 331,338 ----
  		f->ndot.r.p1 = addr.r.p2, f->ndot.r.p2 = addr.r.p2+p;
  	else
  		f->ndot.r.p1 = f->ndot.r.p2 = 0;
! 	f->closeok = empty;
! 	quitok = quitok ? f->closeok : FALSE;
  	state(f, empty && !nulls? Clean : Dirty);
  	if(cmd == 'e')
  		filename(f);

	- cks