From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost by hawkwind.utcs.toronto.edu with SMTP id <2714>; Wed, 26 May 1993 00:30:30 -0400 To: sam-fans Subject: Re: quit with modified files Date: Wed, 26 May 1993 00:30:27 -0400 From: Chris Siebenmann Message-Id: <93May26.003030edt.2714@hawkwind.utcs.toronto.edu> 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