mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 14:00:30 +00:00
Hurd: fix timeout rounding in select
This commit is contained in:
parent
73507d3ae0
commit
5a42321d43
@ -1,3 +1,8 @@
|
||||
2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||
|
||||
* hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
|
||||
when converting to ms.
|
||||
|
||||
2010-07-31 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
|
||||
|
@ -52,7 +52,7 @@ _hurd_select (int nfds,
|
||||
int firstfd, lastfd;
|
||||
mach_msg_timeout_t to = (timeout != NULL ?
|
||||
(timeout->tv_sec * 1000 +
|
||||
timeout->tv_nsec / 1000000) :
|
||||
(timeout->tv_nsec + 999999) / 1000000) :
|
||||
0);
|
||||
struct
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user