cc: create .$O files with DMTMP

front
Jacob Moody 2021-06-24 13:53:37 +00:00
parent e390486e92
commit 88a8ca5c8d
1 changed files with 1 additions and 1 deletions

View File

@ -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;