1
0
mirror of https://github.com/golang/go synced 2024-11-21 19:24:45 -07:00

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

View File

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