Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace use of select() by poll(). Fixes #798. #799

Closed
wants to merge 1 commit into from

Commits on Dec 7, 2017

  1. Replace use of select() by poll(). Fixes NixOS#798.

    `select()` only works with FD numbers <= 1023.
    
    Since we have no explicit control over FD numbers,
    `select()` can fail when there are many files open.
    
    This commit uses `poll()` instead, which doesn't suffer
    from this restriction.
    
    `poll()` doesn't work on Windows, but that's not
    a supported platform for Nixops anyway.
    nh2 committed Dec 7, 2017
    Configuration menu
    Copy the full SHA
    a978af6 View commit details
    Browse the repository at this point in the history