Skip to content

Commit

Permalink
Release Cosmopolitan v3.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jart committed Mar 31, 2024
1 parent 9ff65cf commit 98d06b2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ endif

ifneq ($(findstring aarch64,$(MODE)),)
ARCH = aarch64
HOSTS ?= pi studio freebsdarm
HOSTS ?= pi pi5 studio freebsdarm
else
ARCH = x86_64
HOSTS ?= freebsd rhel7 xnu openbsd netbsd win10
Expand Down
2 changes: 1 addition & 1 deletion libc/integral/normalize.inc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#define __COSMOPOLITAN_MAJOR__ 3
#define __COSMOPOLITAN_MINOR__ 3
#define __COSMOPOLITAN_PATCH__ 2
#define __COSMOPOLITAN_PATCH__ 3
#define __COSMOPOLITAN__ \
(100000000 * __COSMOPOLITAN_MAJOR__ + 1000000 * __COSMOPOLITAN_MINOR__ + \
__COSMOPOLITAN_PATCH__)
Expand Down
2 changes: 1 addition & 1 deletion tool/build/runitd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion tool/cosmocc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ statements instead, so that Cosmopolitan Libc's system constants will
work as expected. Our modifications to GNU GCC are published under the
ISC license at <https://github.com/ahgamut/gcc/tree/portcosmo-12.3>. The
binaries you see here were first published at
<https://github.com/ahgamut/superconfigure/releases/tag/z0.0.32> which
<https://github.com/ahgamut/superconfigure/releases/tag/z0.0.35> which
is regularly updated.
## Legal
Expand Down
4 changes: 2 additions & 2 deletions tool/cosmocc/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ fetch() {
OLD=$PWD
cd "$OUTDIR/"
if [ ! -x bin/x86_64-linux-cosmo-gcc ]; then
fetch https://github.com/ahgamut/superconfigure/releases/download/z0.0.34/aarch64-gcc.zip
fetch https://github.com/ahgamut/superconfigure/releases/download/z0.0.35/aarch64-gcc.zip
unzip aarch64-gcc.zip
rm -f aarch64-gcc.zip
fetch https://github.com/ahgamut/superconfigure/releases/download/z0.0.34/x86_64-gcc.zip
fetch https://github.com/ahgamut/superconfigure/releases/download/z0.0.35/x86_64-gcc.zip
unzip x86_64-gcc.zip
rm -f x86_64-gcc.zip
fi
Expand Down

0 comments on commit 98d06b2

Please sign in to comment.