> On Apr 7, 2017, at 6:18 PM, arisawa <karis...@gmail.com> wrote: > > the problem comes from getdirentries() used in $P9P/src/lib9/dirread.c, I > think. > > man getdirentries(2) of OSX says:
And, dare I quote a Linux manpage, but getdirentries(3) there says: > CONFORMING TO > Not in POSIX.1-2001. Present on the BSDs, and a few other systems. > Use opendir(3) and readdir(3) instead. The fix should be simple enough. --lyndon