Commit Briefs
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.
C
little bugs . wq VS: ----------------------------------------------------------------------
add -W to specify window size.
various other little fixes.
Today's changes.
More changes.