Hi,

it seems that poll() is broken.  gdb is one of the rare programs using poll
at all, and I wrote this test program which hangs, too:

#include <poll.h>

main ()
{
  struct pollfd pfd = { 0, POLLIN, 0 };

  poll (&pfd, 1, -1);
}

Roland, the last change seems to be:
2001-10-28  Roland McGrath  <[EMAIL PROTECTED]>

        * hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when
        packing results for a `poll' call.

Can you ponder that you did the right thing?

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED]
Marcus Brinkmann              GNU    http://www.gnu.org    [EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to