mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 11:56:28 -04:00
Particularly, pull the necessary parts of three upstream patches to fix some annoying regressions discovered after the release went gold. While here, chase HTTP/1.1 301 Moved Permanently redirection in the WWW line of the port description. Prodded by: maintainer
24 lines
713 B
C
24 lines
713 B
C
--- mh/msgchk.c.orig 2022-02-12 15:20:43 UTC
|
|
+++ mh/msgchk.c
|
|
@@ -274,12 +274,18 @@ checkmail (const char *username, int personal)
|
|
break;
|
|
|
|
default:
|
|
- if (rc != ENOSYS && rc != MU_ERR_INFO_UNAVAILABLE)
|
|
- mu_diag_funcall (MU_DIAG_ERROR, "mu_mailbox_messages_unseen",
|
|
- mu_url_to_string (url), rc);
|
|
+ mu_diag_funcall (MU_DIAG_ERROR, "mu_mailbox_messages_unseen",
|
|
+ mu_url_to_string (url), rc);
|
|
+ /* FALLTHROUGH */
|
|
+ case EAGAIN:
|
|
+ case EINTR:
|
|
+ case ENOSYS:
|
|
+ case EINPROGRESS:
|
|
+ case MU_ERR_INFO_UNAVAILABLE:
|
|
rc = mu_mailbox_messages_recent (mbox, &recent);
|
|
if (rc == 0)
|
|
newmail = recent > 0;
|
|
+ break;
|
|
}
|
|
|
|
if (rc)
|