6c delete .6 file on error

R=r
DELTA=1  (1 added, 0 deleted, 0 changed)
OCL=13785
CL=13785
This commit is contained in:
Ken Thompson 2008-08-03 13:31:06 -07:00
parent 873ba78b79
commit 851100683e
1 changed files with 1 additions and 0 deletions

View File

@ -244,6 +244,7 @@ compile(char *file, char **defs, int ndef)
errorexit();
}
Binit(&outbuf, c, OWRITE);
outfile = strdup(outfile);
}
newio();
first = 0;