https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61303

--- Comment #11 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Thu Nov 26 00:24:33 2015
New Revision: 230923

URL: https://gcc.gnu.org/viewcvs?rev=230923&root=gcc&view=rev
Log:
        PR go/61303
    runtime: don't overallocate in select code

    If we've already allocated an fd_set, don't allocate another one.

    Also, don't bother to read from rdwake if it wasn't returned in select.

    Fixes https://gcc.gnu.org/PR61303.

    Reviewed-on: https://go-review.googlesource.com/17243

Modified:
    branches/gcc-5-branch/libgo/runtime/netpoll_select.c

Reply via email to