mirror of
https://github.com/ksherlock/TwoTerm.git
synced 2024-06-01 21:41:37 +00:00
...
git-svn-id: svn://qnap.local/TwoTerm/branches/frameless@2473 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
This commit is contained in:
parent
7edca6dc13
commit
a4d078bed5
|
@ -70,8 +70,10 @@
|
|||
tm.tv_sec = 10;
|
||||
tm.tv_usec = 0;
|
||||
|
||||
errno = 0;
|
||||
n = select(fd + 1, &read_set, NULL, &error_set, &tm);
|
||||
|
||||
//NSLog(@"select: %d %d", n, errno);
|
||||
if (n == 0) continue;
|
||||
if (n < 0) break;
|
||||
|
||||
|
@ -86,10 +88,8 @@
|
|||
if ([self wait]) break;
|
||||
|
||||
}
|
||||
|
||||
|
||||
if (!_childFinished) [self wait];
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user