Fix tdesu process handling

pull/16/head
François Andriot 10 years ago committed by Slávek Banko
parent 8f11758253
commit c8b810f149

@ -491,9 +491,14 @@ int PtyProcess::waitForChild()
FD_ZERO(&fds);
while (1)
{
int ret = 0;
if (m_Fd != -1)
{
FD_SET(m_Fd, &fds);
int ret = select(m_Fd+1, &fds, 0L, 0L, 0L);
ret = select(m_Fd+1, &fds, 0L, 0L, 0L);
}
if (ret == -1)
{
if (errno != EINTR)

Loading…
Cancel
Save