mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-13 22:49:11 +00:00
Release Cosmopolitan v3.3.3
This commit is contained in:
parent
9ff65cff63
commit
98d06b23cc
5 changed files with 6 additions and 6 deletions
|
@ -490,7 +490,7 @@ void *ClientWorker(void *arg) {
|
|||
// thus we use an optimistic approach to avoid expensive locks
|
||||
sprintf(client->tmpexepath, "o/%s.XXXXXX",
|
||||
basename(stripext(gc(strdup(origname)))));
|
||||
int exefd = openatemp(AT_FDCWD, client->tmpexepath, 4, O_CLOEXEC, 0700);
|
||||
int exefd = openatemp(AT_FDCWD, client->tmpexepath, 0, O_CLOEXEC, 0700);
|
||||
if (exefd == -1) {
|
||||
WARNF("%s failed to open temporary file %#s due to %m", addrstr,
|
||||
client->tmpexepath);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue