summaryrefslogtreecommitdiffstats
path: root/pym/emerge
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-09-26 20:01:23 +0000
committerZac Medico <zmedico@gentoo.org>2007-09-26 20:01:23 +0000
commit31e53c35e81dbc93ac1226f29fb5c5955817b74a (patch)
treee93693297b54658a829ed9d9f7ae48d4347d763e /pym/emerge
parent432d0a083f8e8ba27687f177393cbb38bbc7d54d (diff)
downloadportage-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 'pym/emerge')
0 files changed, 0 insertions, 0 deletions