[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Bug in socket egg and patch
From: |
Jim Ursetto |
Subject: |
Re: [Chicken-users] Bug in socket egg and patch |
Date: |
Wed, 27 Nov 2013 06:51:26 -0600 |
Thanks. I'll take a look this weekend.
Jim
> On Nov 27, 2013, at 2:29, Jonathan Chan <address@hidden> wrote:
>
> Hello,
>
> While writing a socket server in Chicken for kicks I think I run into a
> bug in the sockets egg where socket-accept would not handle the error
> generated by select() if the listener socket had been closed - the error
> is already handled in the egg when selecting for writing.
>
> I am not sure how the procedure for reporting bugs for eggs or
> submitting patches works and am still very new to Chicken, but the
> chicken-install utility has been very nice so far and has made it very
> easy to test modifications (with -R and just chicken-install to
> reinstall a local version). Thanks for that, for the useful
> implementation, and for the egg!
>
> I have attached a patch that I believe fixes the bug.
>
> Regards,
> --
> Jonathan Chan
> address@hidden
> <handle-errors-in-socket-accept.patch>
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/chicken-users