ref: 54dc58d73f213b67cb67e9084f106c8f46a982e6
parent: 67f1ccf6121113fc3b7637b056810231fa47d51c
author: Jacob Moody <moody@posixcafe.org>
date: Thu Jun 24 09:53:37 EDT 2021
cc: create .$O files with DMTMP
--- a/sys/src/cmd/cc/lex.c
+++ b/sys/src/cmd/cc/lex.c
@@ -229,7 +229,7 @@
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;
--
⑨