Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: bug fix: infinite loop in sysread



On Thu, 2020-02-06 at 13:52 -0600, dana wrote:
> On 5 Feb 2020, at 08:19, Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx> wrote:
> > The attached patch fixes a bug in sysread from zsh/system.
> 
> I've merged this because it makes sense to me and i want to do another 5.8
> test release. If there are any issues we can back it out obv. Thanks

It's hard to see how it could be wrong.  0 does mean a timeout,
so no point looping, and errno is irrelevant.

pws




Messages sorted by: Reverse Date, Date, Thread, Author