Commits


9fs: remove tip (dead?), redirect sources to 9p.io Fixes #195. Signed-off-by: Dan Cross <cross@gajendra.net>


devdraw: abort alt sequence on window change on macOS Fixes #3.


libthread: NetBSD supports pthreads, remove ancient systems in sysofiles.sh Signed-off-by: Dan Cross <cross@gajendra.net>


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>


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>


devdraw: avoid deadlock in x11 resize Fixes #347.


cmd/rio: xshove: set geometry by window id


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>


devdraw: set windowrect correctly on x11 if window gets unexpected size Fixes #54.


devdraw: actually send resize event on resize Fixes #340. Fixes #343.


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.


compress: remove (not distributed) from tar(1) manpage.


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


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>


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>