• Paul Eggert's avatar
    Port close-on-exec pty creation to FreeBSD 9.1-RELEASE. · f035e3a9
    Paul Eggert authored
    * configure.ac (PTY_OPEN): If posix_openpt with O_CLOEXEC fails
    and reports EINVAL, try it again without O_CLOEXEC.  This should
    port PTY_OPEN to FreeBSD 9, which stupidly rejects O_CLOEXEC.
    What were they thinking?
    
    Fixes: debbugs:15129
    f035e3a9
configure.ac 164 KB