projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
strtok_r: Avoid triggering bug in AIX 7.1 xlc compiler.
[gnulib.git]
/
lib
/
select.c
diff --git
a/lib/select.c
b/lib/select.c
index
773689c
..
5677fdd
100644
(file)
--- a/
lib/select.c
+++ b/
lib/select.c
@@
-246,7
+246,7
@@
rpl_select (int nfds, fd_set *rfds, fd_set *wfds, fd_set *xfds,
wait_timeout = INFINITE;
else
{
- wait_timeout = timeout->tv_sec + timeout->tv_usec / 1000;
+ wait_timeout = timeout->tv_sec
* 1000
+ timeout->tv_usec / 1000;
/* select is also used as a portable usleep. */
if (!rfds && !wfds && !xfds)