Commit Briefs

Russ Cox

lib9: avoid unportable use of d_namlen in dirread

Fixes #395.


Russ Cox

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.


Russ Cox

lib9: move seek into open.c

More preparation for opendir.


Russ Cox

lib9: add close

More preparation for opendir.


Russ Cox

lib9: merge create, open, dirread into open.c

Preparation for using opendir.


rsc

better error message




rsc

do not depend on flock


rsc

get this right


rsc

add OLOCK


rsc

C

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


rsc

little bug fixes


rsc

add -W to specify window size.

various other little fixes.


rsc

Today's changes.

More changes.