Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
More dead code.
|
|
Darwin 11.0.0 was Mac OS X 10.7.0 aka Lion.
The previous version was Snow Leopard, which
has been unsupported by Apple since February 2014.
|
|
Pretty sure FreeBSD 4 is gone now. :-)
|
|
This should have been deleted in 20f5692b (2012-07-14),
which removed the mkfile and sysofiles.sh references to it.
|
|
They were just a duplicate of my(get|set)mcontext from the other
assembly file, and unused from threadimpl.h.
Change-Id: Id8003e5177ed9d37a7f0210037acbe55bbf7f708
|
|
Fixes #195.
Signed-off-by: Dan Cross <cross@gajendra.net>
|
|
Fixes #3.
|
|
Signed-off-by: Dan Cross <cross@gajendra.net>
|
|
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>
|
|
POSIX setenv does everything that p9putenv's body,
so just delegate to that.
Signed-off-by: Dan Cross <cross@gajendra.net>
|
|
Fixes #347.
|
|
|
|
The ptrace handlers wanted to take u64int arguments,
not ulong.
Signed-off-by: Dan Cross <cross@gajendra.net>
|
|
Fixes #54.
|
|
Fixes #340.
Fixes #343.
|
|
Unclear whether the old semantics were the right ones,
but at least this preserves what they've been for the past
however many years.
|
|
|
|
Add #define USED(x)... boilerplate
compress: import Plan9 manpage.
|
|
This is new code, and custom to plan9port. Make it
conform more closely to plan9 style.
Signed-off-by: Dan Cross <cross@gajendra.net>
|
|
`struct Tm tms` was set but never referenced; noticed
in a compiler warning. Remove it.
Signed-off-by: Dan Cross <cross@gajendra.net>
|
|
Port of Plan 9's winwatch(1).
|
|
|
|
|
|
Add entry in lib/moveplan9.files to trigger
relocation during INSTALL.
|
|
Fixes #93.
|
|
Fixes #339.
|
|
This matches the Plan 9 behavior a bit better.
Fixes #30.
|
|
First use of <stdatomic.h>.
We will see if any supported systems don't have it yet.
(C11 was so last decade.)
Fixes #338.
|
|
The dump substitutes each \n in a multiline tag with a 0xff byte.
Since it is not valid UTF it cannot occur in an ordinary dump file.
Old acmes will just read it in as an error rune.
Fixes #135.
Fixes #153.
|
|
|
|
Should fix faults on OpenBSD.
Fixes #218.
Fixes #226.
|
|
May fix a deadlock / missing font on OpenBSD.
Fixes #308.
|
|
This hides the menu on dock on all screens which is more than we want.
The code was added to fix a problem with Catalina that I can no longer
reproduce, so I guess it works now.
Fixes #336.
|
|
Unfortunately this hides the dock even if it is on a
different screen. We need to figure out how to tell.
But this is more usable than not.
Probably.
|
|
Fixes #334.
|
|
`window:willUseFullScreenPresentationOptions:` is an instance method
of the protocol `NSWindowDelegate`.
|
|
Fixes #332.
|
|
|
|
|
|
|
|
There are many things we could do to make this work.
an environment variable to control the character.
Another option would be to use U+00A0 (non-breaking space),
which renders the same as space.
This change avoids changing the separator character and instead
assumes that if the left side of the tag already ends in " Del Snarf |"
then what comes before that is the file name.
Acme already aggressively preserves the "Del Snarf |",
so this should work decently well as a stop-gap.
We can always try something else later.
Fixes #26.
Fixes #104.
Fixes #329.
|
|
Avoid signed integer overflow using ulong instead of long h.
|
|
|
|
|
|
Real disk devices should be block devices anyway.
One user reported the disksize check causing a
system reboot during vac of a tree with an "interesting"
device.
Fixes #103.
|
|
This brings mk's behavior when using rc in line with Plan 9's.
The existing code is for Unix environment data structures but
also was assuming Unix shell semantics where empty and missing
variables are mostly equivalent.
The Plan 9 code (/sys/src/cmd/mk/plan9.c in the distribution)
explicitly removes /env/name (creating an empty list) when the
value is missing or an empty string.
Fixes #255.
|
|
Fixes #233.
|
|
Fixes #9.
Fixes #219.
Fixes #222.
Fixes #330.
|
|
When a directory has lots of children, vac crashes because it runs out of cache.
Fixes #266.
|