mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-19 13:40:59 +08:00
1999-03-15 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to _hurd_select if TIMEMOUT is -1.
This commit is contained in:
parent
5632741ec7
commit
9cfba5dc11
@ -45,6 +45,6 @@ __poll (fds, nfds, timeout)
|
||||
to = &ts;
|
||||
}
|
||||
|
||||
return _hurd_select (nfds, fds, NULL, NULL, NULL, &ts, NULL);
|
||||
return _hurd_select (nfds, fds, NULL, NULL, NULL, to, NULL);
|
||||
}
|
||||
weak_alias (__poll, poll)
|
||||
|
Loading…
x
Reference in New Issue
Block a user