• Philip Withnall's avatar
    gspawn: Port to g_poll() from select() · a7242d4a
    Philip Withnall authored
    This removes the limitation of select() that only FDs with values lower
    than FD_SETSIZE can be used. Previously, if the out/err pipe FDs had
    high values (which could happen if a large process, like Firefox, was
    spawning subprocesses while having a lot of FDs open), GLib would abort
    due to an assertion failure in libc.
    Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
    Fixes: #954