diff options
author | Jacob Moody <moody@posixcafe.org> | 2021-06-24 13:53:37 +0000 |
---|---|---|
committer | Jacob Moody <moody@posixcafe.org> | 2021-06-24 13:53:37 +0000 |
commit | 88a8ca5c8de86f1f3e5b43a490e0e70c6b456072 (patch) | |
tree | e0033fd464f3900ae81935fb95cccf27db1ea6da | |
parent | e390486e927158c6b12b3f5242535998c20baf8d (diff) | |
download | plan9front-88a8ca5c8de86f1f3e5b43a490e0e70c6b456072.tar.xz |
cc: create .$O files with DMTMP
-rw-r--r-- | sys/src/cmd/cc/lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/cc/lex.c b/sys/src/cmd/cc/lex.c index f8746042c..7e9b11d3e 100644 --- a/sys/src/cmd/cc/lex.c +++ b/sys/src/cmd/cc/lex.c @@ -229,7 +229,7 @@ compile(char *file, char **defs, int ndef) dup(2, 1); } } else { - c = mycreat(outfile, 0664); + c = mycreat(outfile, 0664 | DMTMP); if(c < 0) { diag(Z, "cannot open %s - %r", outfile); outfile = 0; |