On Fri, Apr 09, 2021 at 04:00:35PM -0400, Russ Cox wrote:
> On March 9, 2021, Plan 9 from Bell Labs <[email protected]> wrote:
> > I was trying to use 9fans/go/plan9/client.Fid.Dirreadall
> > [https://github.com/9fans/go/blob/master/plan9/client/fid.go#L54-L60]
> > and found that it returned fewer entries than a single Dirread. The
> > reason is that Dirreadall uses ioutil.ReadAll which doesn't work
> > well with a fid corresponding to a directory, because it spuriously
> > detects io.EOF when in fact there are more dir entries, but none
> > fits into the read buffer.
> 
> Fixed, thanks.

Argh, I totally forgot to send a patch, sorry about that!
OTOH, I'm sure it took you a minute or so to fix this issue...

Thank you for all the answers.

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T36fa75fb83c81d6d-M733cffffc82853c8d11e70e8
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to