Commits


lib9: avoid unportable use of d_namlen in dirread Fixes #395.


lib9: use opendir/readdir to read directories getdirentries(2) has been deprecated on macOS since 10.5 (ten releases ago). Using it requires disabling 64-bit inodes, but that in turn makes binaries incompatible with some dynamic libraries, most notably ASAN. At some point getdirentries(2) will actually be removed. For both these reasons, switch to opendir/readdir. A little clunky since we have to keep the DIR* hidden away to preserve the int fd interfaces, but it lets us remove a bunch of OS-specific code too.


lib9: move seek into open.c More preparation for opendir.


lib9: add close More preparation for opendir.


lib9: merge create, open, dirread into open.c Preparation for using opendir.


better error message


hard code list of plan 9 services in case they are not in /etc/services


debugging for sam, and an old fix forgotten


do not depend on flock


get this right


add OLOCK


C little bugs . wq VS: ----------------------------------------------------------------------


little bug fixes


add -W to specify window size. various other little fixes.


Today's changes. More changes.