]> git.eshelyaron.com Git - emacs.git/commit
Port close-on-exec pty creation to FreeBSD 9.1-RELEASE.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Aug 2013 06:11:50 +0000 (23:11 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Aug 2013 06:11:50 +0000 (23:11 -0700)
commitf035e3a91c7fc311c7aec170ca93faae40818b3f
tree2b4d23d42e01bdc67df4683ccc242d349115400c
parent0d7c1e66ffad14f76fbd226d50113a61c738806c
Port close-on-exec pty creation to FreeBSD 9.1-RELEASE.

* 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
ChangeLog
configure.ac