poll: return immediately on POLLHUP.
authorErik Faye-Lund <kusmabite@gmail.com>
Thu, 26 Aug 2010 07:48:55 +0000 (09:48 +0200)
committerIan Beckwith <ianb@erislabs.net>
Sun, 29 Aug 2010 16:23:18 +0000 (17:23 +0100)
commita83a25fd19a04a9ec3dedd34f7e36c4cefe6f8ca
tree1af06145b2d1be11e9cc21b8714c02e649c4a4d7
parentc56cab688748c3050ddc28ad83eb541bcce56c56
poll: return immediately on POLLHUP.

* lib/poll.c (poll): Always set timeout before wait_timeout is
computed.
(cherry picked from commit 0a051206787d83314ac69cf4c8857c0e880feaed)
ChangeLog
lib/poll.c