Commit Briefs


Russ Cox

lib9: do not fetch disk size for character devices

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.


Russ Cox

mk: treat X= as empty list in rc shell

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.


Russ Cox

tmac: fix troff -ms .KS after .1C

Fixes #233.


Russ Cox

acme: fix crash in X |cat with multiple windows

Fixes #9. Fixes #219. Fixes #222. Fixes #330.


Russ Cox

vac, unvac: allow 128MB cache size, up from 4MB

When a directory has lots of children, vac crashes because it runs out of cache. Fixes #266.


Russ Cox

9pfuse: do not fswalk("..")

f is open, so walk will fail. The comments say we only need one directory anyway. Fixes #277.



Russ Cox

libthread: fix nbrecvul, recvul to match man page, Plan 9

They return 0 on failure, not -1. Bug introduced in my original libthread-for-Unix code. Fixes #230.


Russ Cox

cmd/9pfuse: ignore FMODE_EXEC open flag

Improved error message in case of unexpected open flags. The message unexpected open flags requested=0100040 unhandled=040 prompted me to clear the FMODE_EXEC flag, although I wonder if I shouldn't have set OEXEC (0x3) instead.


Russ Cox

clock: import from plan 9

Fixes #250.


Russ Cox

lib9: rm unused _p9translate.c

Fixes #238.


Russ Cox

devdraw: AUTOFRAMEWORK CoreFoundation on macOS

Fixes #273.


Russ Cox

devdraw: x11 working again

Need to think a bit more about locking, but overall it's a working devdraw. Multiclient mode may not be working but nothing is using it yet.


Russ Cox

devdraw: multiclient mode