diff options
| author | Ken Thompson <ken@golang.org> | 2008-08-03 13:31:06 -0700 |
|---|---|---|
| committer | Ken Thompson <ken@golang.org> | 2008-08-03 13:31:06 -0700 |
| commit | 851100683e6eecbf8f3f06db8aeb4748dc2bfc7a (patch) | |
| tree | 7afaf6c30005d75060460d8e299bace87552ad97 | |
| parent | 873ba78b7959f412cab31bb9d74e54e680e468cc (diff) | |
| download | go-851100683e6eecbf8f3f06db8aeb4748dc2bfc7a.tar.xz | |
6c delete .6 file on error
R=r
DELTA=1 (1 added, 0 deleted, 0 changed)
OCL=13785
CL=13785
| -rw-r--r-- | src/cmd/cc/lex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/cc/lex.c b/src/cmd/cc/lex.c index e3a8e440d8..a1de21cd82 100644 --- a/src/cmd/cc/lex.c +++ b/src/cmd/cc/lex.c @@ -244,6 +244,7 @@ compile(char *file, char **defs, int ndef) errorexit(); } Binit(&outbuf, c, OWRITE); + outfile = strdup(outfile); } newio(); first = 0; |
