aboutsummaryrefslogtreecommitdiffstats
path: root/community/heirloom-mailx/mailx-12.5-collect.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/heirloom-mailx/mailx-12.5-collect.patch')
-rw-r--r--community/heirloom-mailx/mailx-12.5-collect.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/heirloom-mailx/mailx-12.5-collect.patch b/community/heirloom-mailx/mailx-12.5-collect.patch
new file mode 100644
index 0000000000..b84d2e8f36
--- /dev/null
+++ b/community/heirloom-mailx/mailx-12.5-collect.patch
@@ -0,0 +1,13 @@
+--- mailx-12.4.orig/collect.c 2012-09-12 16:07:53.653103796 -0400
++++ mailx-12.4/collect.c 2012-09-12 21:27:05.092259236 -0400
+@@ -905,7 +905,9 @@ err:
+ if (collf != NULL) {
+ Fclose(collf);
+ collf = NULL;
+- }
++ } else {
++ exit(1);
++ }
+ out:
+ if (collf != NULL) {
+ if ((cp = value("MAILX_TAIL")) != NULL) {