+2008-06-18 Ulrich Drepper <drepper@redhat.com>
+
+ * nscd/connections.c (main_loop_poll): Fix test for read error.
+ (main_loop_epoll): Likewise.
+
2008-06-13 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/getaddrinfo.c: Move _res_hconf_init call to a
while (TEMP_FAILURE_RETRY (read (inotify_fd, &inev,
sizeof (inev)))
- >= sizeof (struct inotify_event))
+ >= (ssize_t) sizeof (struct inotify_event))
{
/* Check which of the files changed. */
for (size_t dbcnt = 0; dbcnt < lastdb; ++dbcnt)
while (TEMP_FAILURE_RETRY (read (inotify_fd, &inev,
sizeof (inev)))
- >= sizeof (struct inotify_event))
+ >= (ssize_t) sizeof (struct inotify_event))
{
/* Check which of the files changed. */
for (size_t dbcnt = 0; dbcnt < lastdb; ++dbcnt)