Joan Lledó, le sam. 11 août 2018 18:17:07 +0200, a ecrit: > Needed to properly support poll in glibc (_hurd_select).
Applied, thanks! > * lwip/io-ops.c (lwip_io_select_common): > If POLLERR is set, return EIO. > --- > lwip/io-ops.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/lwip/io-ops.c b/lwip/io-ops.c > index 636c26f7..1429bc55 100644 > --- a/lwip/io-ops.c > +++ b/lwip/io-ops.c > @@ -229,6 +229,9 @@ lwip_io_select_common (struct sock_user *user, > > if (ret > 0) > { > + if (fdp.revents & POLLERR) > + return EIO; > + > if (fdp.revents & POLLIN) > *select_type |= SELECT_READ; > > -- > 2.11.0 > > -- Samuel <B> l'alim je sais où elle est, elle est juste à côté de la dame qui dort <g> B: clairement faut revoir les priorités dans la vie <g> B: une dame ça se retrouve, un uptime...