diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-09-26 20:01:23 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-09-26 20:01:23 +0000 |
commit | 31e53c35e81dbc93ac1226f29fb5c5955817b74a (patch) | |
tree | e93693297b54658a829ed9d9f7ae48d4347d763e /bin/dosbin | |
parent | 432d0a083f8e8ba27687f177393cbb38bbc7d54d (diff) | |
download | portage-31e53c35e81dbc93ac1226f29fb5c5955817b74a.tar.gz portage-31e53c35e81dbc93ac1226f29fb5c5955817b74a.tar.bz2 portage-31e53c35e81dbc93ac1226f29fb5c5955817b74a.zip |
Set non-blocking mode on the pty master file descriptor while
the slave file descriptor is still held open since otherwise
the fcntl call can fail on FreeBSD (the child process might
have already exited and closed the slave file descriptor so we
have to keep it open in order to avoid FreeBSD potentially
generating an EAGAIN exception). This appoach is cleaner than
triggering the exception and being forced to handle it
somehow.
svn path=/main/trunk/; revision=7835
Diffstat (limited to 'bin/dosbin')
0 files changed, 0 insertions, 0 deletions