* process.c (allocate_pty) [PTY_OPEN]: Set fd's FD_CLOEXEC flag.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Aug 2013 05:39:51 +0000 (22:39 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Aug 2013 05:39:51 +0000 (22:39 -0700)
commit0d7c1e66ffad14f76fbd226d50113a61c738806c
treed88329f436b0cc3069c1dc118795efa2dd2f0e64
parent6e50e9836a5e539cf2286fff44e9966e074f9c7b
* process.c (allocate_pty) [PTY_OPEN]: Set fd's FD_CLOEXEC flag.

We can't portably rely on PTY_OPEN doing that, even if
it calls posix_openpt with O_CLOEXEC.
src/ChangeLog
src/process.c