On Sun, Oct 28, 2001 at 02:50:46AM +0100, Marcus Brinkmann wrote:
> On Sun, Oct 28, 2001 at 02:37:28AM +0100, Marcus Brinkmann wrote:
> > So glibc returns the wrong values in revents for poll. I am now going to
> > look into glibc select code.
> >
>
> Actually, in hurdselect.c, line 394ff:
>
> (gdb) print d[0].type
> $22 = 9
> (gdb) print d[1].type
> $23 = -1962934272
>
> If gdb doesn't play tricks on me, this is certainly bogus.
> Note that the first descriptor (0) is the unix socket, while
> the second is the inet socket.
Similar on line 93 already. d[1] is not initalized correctly.
In line 93:
(gdb) print pollfds[0]
$47 = {fd = 4, events = 3, revents = 286}
(gdb) print pollfds[1]
$48 = {fd = 5, events = 3, revents = 0}
(gdb) print d[0].type
$49 = 5
(gdb) print d[1].type
$50 = -268435456
_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd