GNU C Library master sources branch, master, updated. glibc-2.12-86-g5a42321

roland@sourceware.org roland@sourceware.org
Mon Aug 2 23:46:00 GMT 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  5a42321d438211210e0869e5e90f8d75d1354e14 (commit)
      from  73507d3ae077c2dcf0da857a5a244deff3d4d223 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=5a42321d438211210e0869e5e90f8d75d1354e14

commit 5a42321d438211210e0869e5e90f8d75d1354e14
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Aug 2 16:46:12 2010 -0700

    Hurd: fix timeout rounding in select

diff --git a/ChangeLog b/ChangeLog
index 7a90d21..bd589f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
diff --git a/hurd/hurdselect.c b/hurd/hurdselect.c
index 544eee9..a7228f0 100644
--- a/hurd/hurdselect.c
+++ b/hurd/hurdselect.c
@@ -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
     {

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    5 +++++
 hurd/hurdselect.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources



More information about the Glibc-cvs mailing list