mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-24 06:12:27 +00:00
Update tests and CPU detection for Blink
This commit is contained in:
parent
be3e109309
commit
006c44ff5d
24 changed files with 206 additions and 56 deletions
|
@ -133,11 +133,6 @@ static void FixIrregularFds(void) {
|
|||
pfds[i].fd = i + 3;
|
||||
pfds[i].events = POLLIN;
|
||||
}
|
||||
if (IsGenuineCosmo()) {
|
||||
// TODO(jart): Fix Blinkenlights poll() / close()
|
||||
free(pfds);
|
||||
return;
|
||||
}
|
||||
if (poll(pfds, maxfds, 0) != -1) {
|
||||
for (i = 0; i < maxfds; ++i) {
|
||||
if (pfds[i].revents & POLLNVAL) continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue