+2008-08-06 Bruno Haible <bruno@clisp.org>
+
+ * lib/poll.c (poll): Further micro-optimization.
+
2008-08-06 Jim Meyering <meyering@redhat.com>
inet_pton.c: use locale-independent tolower
int timeout;
{
fd_set rfds, wfds, efds;
- struct timeval tv = { 0, 0 };
+ struct timeval tv;
struct timeval *ptv;
int maxfd, rc;
nfds_t i;
/* convert timeout number into a timeval structure */
if (timeout == 0)
- ptv = &tv;
+ {
+ ptv = &tv;
+ ptv->tv_sec = 0;
+ ptv->tv_usec = 0;
+ }
else if (timeout > 0)
{
ptv = &tv;