Re: [9fans] p9p: 9 ls /dev

2017-04-07 Thread Lyndon Nerenberg
> On Apr 7, 2017, at 6:18 PM, arisawa 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

Re: [9fans] p9p: 9 ls /dev

2017-04-07 Thread arisawa
thanks for response. the problem comes from getdirentries() used in $P9P/src/lib9/dirread.c, I think. man getdirentries(2) of OSX says: NOTES getdirentries() should rarely be used directly; instead, opendir(3) and readdir(3) should be used. As of Mac OS X 10.6, getdirentries()

Re: [9fans] p9p: 9 ls /dev

2017-04-07 Thread Lyndon Nerenberg
> On Apr 6, 2017, at 5:49 AM, arisawa wrote: > > on my system (on osx(10.10 and 10.11) with plan9port-20140306 (latest port > from russ)) > the next command fails. that is, > 9 ls /dev > does not return to shell. It also hangs on my 10.12.4 system. Mind you, I haven't