Commits


mk: fix hash function (#315) Avoid signed integer overflow using ulong instead of long h.


acme: one more place to use parsetag


acme: factor out tag parsing code


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.


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.


tmac: fix troff -ms .KS after .1C Fixes #233.


acme: fix crash in X |cat with multiple windows Fixes #9. Fixes #219. Fixes #222. Fixes #330.


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.


9pfuse: do not fswalk("..") f is open, so walk will fail. The comments say we only need one directory anyway. Fixes #277.


TODO: remove, not updated in 15 years


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.


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.


clock: import from plan 9 Fixes #250.


lib9: rm unused _p9translate.c Fixes #238.


devdraw: AUTOFRAMEWORK CoreFoundation on macOS Fixes #273.