Commit Briefs

Dan Cross

9fs: remove tip (dead?), redirect sources to 9p.io

Fixes #195. Signed-off-by: Dan Cross <cross@gajendra.net>


Russ Cox

devdraw: abort alt sequence on window change on macOS

Fixes #3.


Dan Cross

libthread: NetBSD supports pthreads, remove ancient systems in sysofiles.sh

Signed-off-by: Dan Cross <cross@gajendra.net>


Dan Cross

malloc: remove locking

The issue manifests in fork: POSIX fork mandates that a fork'd process is created with a single thread. If a multithreaded program forks, and some thread was in malloc() when the fork() happened, then in the child the lock will be held but there will be no thread to release it. We assume the system malloc() must already know how to deal with this and is thread-safe, but it won't know about our custom spinlock. Judging that this is no longer necessary (the lock code was added 15 years ago) we remove it. Signed-off-by: Dan Cross <cross@gajendra.net>


Dan Cross

lib9: putenv wraps POSIX setenv, not legacy putenv

POSIX setenv does everything that p9putenv's body, so just delegate to that. Signed-off-by: Dan Cross <cross@gajendra.net>


Russ Cox

devdraw: avoid deadlock in x11 resize

Fixes #347.



Dan Cross

libmach: Fix type errors in FreeBSD.c

The ptrace handlers wanted to take u64int arguments, not ulong. Signed-off-by: Dan Cross <cross@gajendra.net>



Russ Cox

devdraw: actually send resize event on resize

Fixes #340. Fixes #343.


Russ Cox

factotum: update for new nbrecvul return value

Unclear whether the old semantics were the right ones, but at least this preserves what they've been for the past however many years.



Dan Cross

compress: import Plan9 compress

Add #define USED(x)... boilerplate compress: import Plan9 manpage.


Dan Cross

winwatch: Plan 9-ify.

This is new code, and custom to plan9port. Make it conform more closely to plan9 style. Signed-off-by: Dan Cross <cross@gajendra.net>


Dan Cross

clock: Remove unused static variable in clock.c

`struct Tm tms` was set but never referenced; noticed in a compiler warning. Remove it. Signed-off-by: Dan Cross <cross@gajendra.net>