Release Cosmopolitan v3.3.3

This commit is contained in:
Justine Tunney 2024-03-30 19:03:30 -07:00
parent 9ff65cff63
commit 98d06b23cc
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
5 changed files with 6 additions and 6 deletions

View file

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