Andrew Barnes <[email protected]> ha escrit:
> The function mu_fd_wait in mailbox/mutil.c does not appear to be
> monitoring the passed file descriptor for exceptions.
Thanks. I installed the following patch:
diff --git a/mailbox/mutil.c b/mailbox/mutil.c
index 34a85b4..69729da 100644
--- a/mailbox/mutil.c
+++ b/mailbox/mutil.c
@@ -1303,10 +1303,10 @@ mu_fd_wait (int fd, int *pflags, struct timeval *tvp)
if (tvp)
{
struct timeval tv = *tvp;
- rc = select (fd + 1, &rdset, &wrset, NULL, &tv);
+ rc = select (fd + 1, &rdset, &wrset, &exset, &tv);
}
else
- rc = select (fd + 1, &rdset, &wrset, NULL, NULL);
+ rc = select (fd + 1, &rdset, &wrset, &exset, NULL);
}
while (rc == -1 && errno == EINTR);
Regards,
Sergey
_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils