mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 03:16: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
17 lines
430 B
C
17 lines
430 B
C
--- mh/folder.c.orig 2022-02-12 15:20:43 UTC
|
|
+++ mh/folder.c
|
|
@@ -806,6 +806,14 @@ action_pack (void)
|
|
mu_error (_("cannot read input mailbox: %s"), mu_strerror (errno));
|
|
return 1;
|
|
}
|
|
+
|
|
+ if (count == 0)
|
|
+ {
|
|
+ mu_mailbox_close (mbox);
|
|
+ mu_mailbox_destroy (&mbox);
|
|
+ return 0;
|
|
+ }
|
|
+
|
|
pack_tab = mu_calloc (count, sizeof pack_tab[0]); /* Never freed. No use to
|
|
try to. */
|
|
|