keithw/mosh — pull request #226 by quentinmit (2012-04-20 09:04:14+00:00)
Title: Test and correct broken poll implementations

This patch adds an autoconf test for a broken poll implementation (unfortunately, a runtime test), and adds a trivial poll emulator for use when the system's poll does not work.

This fixes OS X 10.6 and below, which have a poll that cannot poll on ptys.