Hello David, thanks for the response.
> it may not be worth it
I agree.
I think it is wise to give up to simulate dirread() rigorously. plan9 is not
unix.
> Ori's suggestion to use Getdirentries64 on OSX might be better
I cannot find getdirentries64() on my OSX.
I examined david code and f
The problem is twofold;
* The function exits early if it can't read a max-length directory
entry, so that entry is "skipped" in subsequent calls to mygetdents.
* As you said, we also lose any buffered dirents that haven't been
returned from readdir yet.
I think these are both fixable problems, bu