Commit Briefs

David du Colombier

9c: added explicit -fcommon to gcc defaults.

Version 10 of gcc enforces -fno-common which breaks a lot of things. This fix reverts to the pre-10 behaviour. The real fix is to clean up stray redefinitions which should be declarations.


Russ Cox

acme: scale window bodies on resize, not including tag space

This avoids reopening collapsed windows after a large vertical resize.


Dan Cross

Fix broken references to plan9.bell-labs.com/plan9

Fixes #357


Dan Cross

libthread: fix ARM build by renaming file

Fixes #363 Change-Id: Ic8ad5ccce3935fdf00732d78d3024b535db90447


GitHub

devdraw: fix `cmd-r` to toggle retina vs. non-retina mode on macOS (#361)

and not unexpectedly quitting an application. Fixes #360



Russ Cox

acme: report close failure in Put, this time for sure

Missed in 0b349f6f that Bterm is not closing fd.




Russ Cox

libthread: rm OpenBSD tas implementations

OpenBSD is using pthreads now, so no need for tas.


Russ Cox

libthread: use consistent stack calculation code in makecontext

Also reduce duplication: makecontext is per-arch not per-os-arch. May fix #353.


Russ Cox

libthread: rm NetBSD pthread reference in sysofiles.sh

It may be that pthreads on NetBSD is now good enough, but the build as written (introduced in 23a2368 at my suggestion) is certainly broken, since both NetBSD.c and pthread.c define the same functions. If NetBSD does support pthreads now, then a few things should happen together: - libthread/sysofiles.sh should drop its top NetBSD case entirely - libthread/NetBSD.c should be deleted - libthread/NetBSD-*-asm.s should be deleted - include/u.h's NetBSD case should define PLAN9PORT_USING_PTHREADS and #include <pthread.h> For now, restore to less clearly broken build.


Russ Cox

all: remove Linux 2.4 vs 2.6 detection

Linux 2.4 is dead. (The libthread code hasn't worked for Linux 2.4 for a long time.)


Russ Cox

libthread: remove Linux 2.4 code

Linux.c was for Linux 2.4 and is no longer used directly, only indirectly because NetBSD.c was a 1-line file #including Linux.c. So mv Linux.c NetBSD.c. Also rm Linux-*-asm.s which was for Linux 2.4 as well.


Russ Cox

libthread: rm unused sparc-ucontext.h

More dead code.